I'm building a site with Joomla where a forum should exist amongst other things. But also I plan to develop a custom made functionality (diary-like) with a php inserts (it really works, for example with jumi). The problem is that I suppose nobody will understand if the forum and this sub-site will have separated logins. I'd use an existi...
I have received this database full of people names and data in French, which means, using characters such as é,è,ö,û, etc. Around 3000 entries.
Apparently, the data inside has been encoded sometimes using utf8_encode(), and sometimes not. This result in a messed up output: at some places the characters show up fine, at others they don't...
I am using notepad++ for php coding.
I don't have any problem with format set up using Encode in ANSI.
However when I use Encode in UTF-8, either I have a strange character at the top or not showing anything.
Q1. Am I supposed to use ANSI?
Q2. Why do I am not able to display anything when I use UTF-8
My sourse code for the header is ...
I need to use different hi-style fonts in my webpage. But i had fear that, if the user had no such font, then they will be displayed with default font. How to use different new font that should be compatible with all users?
...
I need to check if user submitted HTML contains any javascript. Im using PHP for validation.
Thanks for any help!
...
hello,
I have developed few custom components for joomla. Whenever I execute these components they appear at a specific position in template say the position name be 'showcase' what I wanna do now is
how to display the component at some other arbitrary position say 'showcase2'.
Help me out my project is stuck due to this???
Thanks i...
hi......,
i have problem in javascript email validation,
I wrote code something like,
//emp.php
<form action="<?php echo $editFormAction; ?>" method="post" name="form2" id="form2" >
<table>
<tr valign="baseline">
<td nowrap="nowrap" align="right">Desired Email-ID:</td>
<td><input type="text" name="emp_email" value="" si...
Hi
Does anyone know of the file upload system which I can use for my application which is either open source or can be purchased?
I need to be able to upload file/s to the web server and send out email links to users to download the files?
I really need this to be an 'all in one' solution where I can just install/setup as i'm not real...
Hi, just wondering if a PHP web framework or templating engine exists, that uses the clean view philosophy used in Lift, the Scala webframework.
In short the clean view philosophy, is that there should be zero code in the views. And that the view should be valid HTML.
I would like to replace a typical piece of PHP code like this:
<ul...
Hi All,
I'm using Windows on my servers.
I have to periodicly download some file to SERVER1 from FTP server. And then copy those files to shared folder on SERVER2 after downloading them.
For this job, I write a PHP script and I scheduled it with CURL within .BAT file like:
c:\curl\curl.exe http://localhost/getmyfiles.php
My script ...
I have and array (from json feed)... that array contain a lot of value, i only need some, so filter is the option...
let say the array contain (a=2,b=4,c=2,d=5,e=6,f=2)
I like to check all the value that is = 2, and DELETE the value that is not = 2
the resulting array will be (a=2, c=2, f=2)
so a foreach or while will print ONLY the ...
Hi is it possible to transform an images perspective... so it's new shape is an isosceles trapezoid?
I saw a solution using imagemagick, but that would involve possibly rewriting my entire image manipulation script... (not to mention learning, of which i'm allergic)
...
The Zend_Amf specification states that a Number type returned from flash will map to a float in PHP. Fine. But why does the number 16 get returned as 6.1026988574311E_320 ? PHP version is 5.2.9 running on OS X.
I have tried forcing a cast to integer in PHP (the above value gets rounded to 0) and also from Actionscript using int(16) - th...
I have content stored in a Postgres DB, now everytime I call the content so that it gets displayed using php, i get funny squares in IE and funny square type question marks in Firefox?
Example below
* - March � May 2009
How do I remove this?
I do not have access to the server so can't adjust the encoding there, only have postg...
Hi there,
I'm fetching some data from an MSSQL table using the mssql_fetch_object, but the text appears to cut off on the page.
The data is all there in the table, but it seems to cut off in the view page.
Has anyone else encountered this problem and perhaps knows of a workaround? Here is my code;
<?php include('includes/session.php'...
Has anyone got a function to convert convert curly quotes and em dashes into " and -?
I've tried writing one but it fails when copying stuff from MS word into a textarea.
Thanks
...
I need an extra set of eyes on this one. Any help will be greatly appreciated. This is a very simple search query, but for whatever reason I cannot find the bug. Well, I know where the bug is. I just can't get past it. Anyway.....
I am taking a search value from a POST variable, setting that variable and then setting a column variable a...
The system that I am working on is an Intranet System only accessible within the company network to our staff. This is a primary system for storing data of all our customers. The system is entirely web based. There is a lot of data to be captured and held for each customer. At the moment opening up a customer record brings up all the inf...
I need to find the screen resolution of a users screen who visits my website?
...
I have a form with series of 3 file upload fields, each of which has a related hidden "todo" fields.
The file upload fields start greyed out and a user can either upload a new file, remove a file if one has previously been uploaded in that position or leave it unchanged (i.e. use the previously uploaded file or leave it blank).
The tod...