Hi, I know very basic scripting but am getting confused with the mysql portion. I need a PHP script to import CSV file into mysql database.
I have a CSV file exported from Excel that contai...
I just installed mysql 5.0 and newest phpmyadmin and get:
PHPMyAdmin #1045 - Access denied for user 'root'@'localhost' (using password: YES)
From a command line i did mysql -u root -p and...
I would like to determine the driving distance between two locations. I have a vague sense that I might be able to do this with Google Maps API.
I have used zipcode-based geolocation algor...
I work on a php script that might be used by other people too. I don't know where they will put it on their server and don't know from which file it might get included. So I wanted to use some...
I have a PHP script that processes a long data string. The string is read into my script via file_get_contents() from a Word, Powerpoint, Excel, flat text file, etc. So some of the string is...
I use this PHP script for download file, to Hide direct link of file, or for authenticate before Download.
But this code is not allow Resume Download from client (for example , client uses so...
I have read various solutions to this problem but I am having trouble getting mine to work, I thought I would give the basics of what I am trying to do and hope someone can help, I am intermed...
Hi,
I have the need to make a folder writeable to all (Chmod 777) as the user of my PHP/MySQLapplication needs to be able to upload pictures.
I have read that I need to make the folder w...
I'm using Lytebox http://www.dolem.com/lytebox/index.htm (Lytebox was written from the Lightbox class that Lokesh Dhakar (http://www.huddletogether.com) originally wrote. The purpose was to wr...
I am trying to modify my .htaccess file to allow SUB.DOMAIN.org to point to the SUB folder on the webserver under htdocs. I am using the following code but cant seem to get it to work cor...
I'm trying to get the daily prices of stocks from a webpage (Its a table) and store them in a MySQL database. Thats my initial goal in a much bigger project.
So i want to be able to fetch the...
My form requires Date of Birth entered in three selects as MM/DD/YYYY and there are two different age limits, depending on the type of user entered. Both are currently being validated through...
I have this address on output:
"1234 Main Street ";
I need a function to clean up the address and strip any double spaces in the middle, and any spaces at the end.
I have a simple form that I am trying to add a phone number validator function to. I am not sure where to put it into the code or what changes I need to make.
Hello All
I am looking for a quick and simple solution to a xml_parse issue I have. When I parse the following element:-
<large_image>http://xxx.xxx.xxx.xxx/imagegallery/parax/Largeimg/...
I have a list of checkboxes that submits and is processed like this :
<?
foreach ($check_id as &$value) {
echo $value;
?><br />
<?
}
?>
That works fine except I would rea...
I am writing a script that generates an Excel report for download, and I have one test script and one previous Excel report generator on the same server using the same database, but the new sc...
I have some weird problem.
Main page send data to the iframe
<form target="ifr_ww" method="POST" action="ww.php"><input type="hidden" name="ww" value='[{"type":"Pack","nr":"2"}]'><input t...
I need to generate unique ticket numbers for an online raffle that could have around 100k tickets or so generated. I've currently got this part setup very simple:
$RandomNumber = rand(1000...
Hi,
I have an mysql result, i know its in an array already, but how do i put this into another array ?
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...
hi,
I recently started having issues with response times from a Web Service I use.
The responses were taking over 2 minutes at times to come back whereas normally they are less than a seco...
I managed to create get a basic site working (at last) using Zend Framework.
I have a problem with images within CSS file. I always have to put full web path for the images like so:
backg...
Hello Experts,
I setup an online form for our university to accept proposals for work. The output in the email that is sent is not up to the standards the committee wants to see. I looked i...
Hello,
I am learning php and am simply trying to create a file:
<?
if (file_exists("config.php")) {
echo "file exists";
}
else {
$config_file=fopen("config.php","w");
fclose("co...