Advertisement

635 organizations, including eBay, Ericsson and Lockheed Martin, now work smarter with Corporate Accounts. Save up to 42%

 

Welcome! If you have any general questions about Experts Exchange, feel free to ask me.

 
Top PHP Solutions: 126 - 150 of 1570
 
I have an HTML page with a simple form, containing a text box & submit button. On submit, it passes the information to a PHP file on my server, which in turn sends the information to a PHP ...
for example, $number = 1230.0 and i want to convert it to 1,230.00 ?
Hi experts, I have confused myself with a problem on the attached page.  It is a simple form (which works as far as error+submitting to DB are concerned) but I am trying to set a safety gua...
Hello all, I am rather unskilled with PHP and trying to make a form which does two things, first it collects data from the user and sends an email with that information to an address, and s...
I am totally new to php, and after hours cannot figure this out. I have this code (sample #1) to get a recordset that has one column, and loop through it. It work find My problem is that I m...
Hi, My shared host recently upgraded to PHP5 from PHP4. All pretty much seemed to go well. However, one part that has stoped working is the automated backup. Before upgrade, each day a cr...
Any sample how to send and receive data using php on rs232 serial port? windows eviroment php instalation. regards
Greetings, I got a directory on my web server containing folders which are named using the "DD.MM.YYYY" scheme. They contain server logs and get filled and created automatically by another ...
Hi, I would like to request an assistant. May i know how to set the "return-path" so that it will appear in every email header ? FYI i have added the following in the header, but the ...
hello,   I have installed WAMP5 on Windows server 2003. The install was successful and both services i.e. wampmysql and wampapache were running OK and were set to automatic as windows service...
Trying to perform a search using fulltext on a mysql 4.x database and php. The collation of the database is latin1_sweedish_ci the query is: $query = $_POST["query"]; $SQL = "SELECT * FR...
We have script on a site that creates a thumbnail of a larger image using the imagick PHP extension and imagemagic. The issue we have is that some of the images being uploaded to the site a...
I'm really trying to delete files older than 1hr old.  I've found this script through another post and having some trouble with it. $dir = '/home/directory_location/files'; if ($handle = o...
How to get yesterday date in PHP? I can only use date() function to get today date, but how can I get yesterday date? If today is 1 July, 2008. Then yesterday would be 30 June, 2008, how to ...
I have the following code that currently sends an email based on session variables.  It works perfectly (I have changed the email addresses only to comply with EE rules of not showing your rea...
I need to be able to take any image, check if it is larger than 800x600 pixels and if so resize it so it is keeping its oringinal aspect ratio? My logic was like this: if ($width > $height...
Hello, I hate to be here asking a question however i have hit some what of a road block, I am by no means good at js or php :) but i can usually work things out. What i am having problem...
How can I determine the absolute path to a file or a folder on a unix / linux host. I tried: <?php      $abspath = realpath('/ybads/upload.php'); ?>      It returns nothing. I am in the folde...
My array looks like this: Array (     [0] => Array         (             [parent_id] => 2             [parent_name] => Master Category 2             [child_ids] => Array          ...
when i'm exporting with dompdf, all goes well. But when i add these 2 lines i get an error and timeout: $size = array(0.0, 0.0, $height,$width); $dompdf->set_paper($size, "Landscape"); ...
If I have a string in PHP, for example CHH0A0606C3G How can I know whether the LAST 3 LETTER is C3G or not? Thanks!
I will strip a string somewhere in the middle in my project. The problem is, that the string then might contain unclosed HTML tags. So I am looking for a solution that finds all unclosed HTML ...
This snippet of code works when I run it from an Apache server.  But I can't run it from my Windows 2003 server that has IIS6 and PHP 5 installed. I have checked my PHP.INI file and I have: ...
Okay, so I know that no one else has this issue. :) I have been staring at the same piece of PHP code for a while with some stupid syntax error and I cannot see the problem. I believe that ...
I need a script which uses gd where i can upload an image, and this will be resized so that its 192px wide, i dont care about the height for now, i then want it cropped so that its 192px by 19...