Forum: PHP Feb 3rd, 2009 |
| Replies: 9 Views: 452 Send me the mission.php code |
Forum: PHP Feb 3rd, 2009 |
| Replies: 9 Views: 452 this is the only error I get in the about us page
Notice: Undefined variable: HTTP_USER_AGENT in /home/www/fairfieldlimousine/mission.php on line 25
Notice: Undefined variable: HTTP_USER_AGENT... |
Forum: PHP Feb 3rd, 2009 |
| Replies: 9 Views: 452 do you have an index.php file? |
Forum: PHP Feb 3rd, 2009 |
| Replies: 9 Views: 452 ok what is your domain?
You have to make sure that your server support php |
Forum: PHP Feb 3rd, 2009 |
| Replies: 2 Views: 306 Hello I need to do a php survey, I have php questionare but it does not support images. What I need to do is have users upload car pictures and then people to be able to vote on the cars to determine... |
Forum: PHP Oct 10th, 2008 |
| Replies: 14 Views: 1,078 Hey Rob at the end I did not need the email thing this is the final copy of code
<?php
error_reporting(E_ALL ^ E_NOTICE);
ini_set("display_errors", true); |
Forum: PHP Oct 2nd, 2008 |
| Replies: 14 Views: 1,078 You know how I am writting this file to my server every day
#
$file = "pets_feed_" . date("Ymd") . ".xml";// - for yyyymmdd
is there any way to delete an old file when the new one is... |
Forum: PHP Oct 2nd, 2008 |
| Replies: 14 Views: 1,078 I discover the problem this is
$r .= trim($data[$i]) != ""?"\t\t<{$titles[$i]}>$data[$i]</{$titles[$i]}>\n":"";
DO I need to name r different??? |
Forum: PHP Oct 2nd, 2008 |
| Replies: 14 Views: 1,078 Hello I added my code to your code so I can be able to write to the new xml file and also the trim function and is not working it gives me a blank page
<?php
error_reporting(E_ALL ^... |
Forum: PHP Oct 2nd, 2008 |
| Replies: 14 Views: 1,078 |
Forum: PHP Oct 2nd, 2008 |
| Replies: 14 Views: 1,078 Hello, lets say that I write an email address in the description field, is there any way to get that email and place it in the xml as a <email></email>
But if I dont have an email in the... |
Forum: PHP Oct 1st, 2008 |
| Replies: 14 Views: 1,078 This worked
I also added some code to create a ne file every day and write the xml content there
thank you |
Forum: PHP Oct 1st, 2008 |
| Replies: 14 Views: 1,078 I have this csv2xml.php file
<?php
error_reporting(E_ALL ^ E_NOTICE);
ini_set("display_errors", true); |
Forum: PHP Sep 9th, 2008 |
| Replies: 0 Views: 351 I have this code
<?php
error_reporting(E_ALL ^ E_NOTICE);
ini_set("display_errors", true);
$file = "pets_feed_" . date("Ymd") . ".txt";// - for yyyymmdd
if... |
Forum: PHP Sep 2nd, 2008 |
| Replies: 28 Views: 1,903 How could I write the content on petsfeed.txt into the new file I am creating wiht the ID Category Description headers? |
Forum: PHP Aug 29th, 2008 |
| Replies: 28 Views: 1,903 This is because the file is not re writting to the file is just writting but it needs to write
ID Category Description
and the petsfeed.txt contetn
Thank you |
Forum: PHP Aug 29th, 2008 |
| Replies: 28 Views: 1,903 Is doing the same
just writting ID Category Description to the file |
Forum: PHP Aug 29th, 2008 |
| Replies: 28 Views: 1,903 I dont get the error any more and is writting the file to the server but is only puttting this content
ID Category Description
is suppose to look like this
ID Category Description... |
Forum: PHP Aug 29th, 2008 |
| Replies: 28 Views: 1,903 I get this error
Warning: fread() [function.fread]: Length parameter must be greater than 0 in /var/www/html/yumasun/media/gadzoo/txt.php on line 13 |
Forum: PHP Aug 29th, 2008 |
| Replies: 28 Views: 1,903 Where in the code does the date code goes?
<?php
error_reporting(E_ALL ^ E_NOTICE);
ini_set("display_errors", true); |
Forum: PHP Aug 29th, 2008 |
| Replies: 28 Views: 1,903 Yes but how will it write the name of the file in this format pets_feed_20080101.txt
and change the date to the currwent date |
Forum: PHP Aug 29th, 2008 |
| Replies: 28 Views: 1,903 [QUOTE=jencinas69;680140]
This works now,
Is it possible to change the name of the file to this format pets_feed_20080101.txt
the date has to change everyday
Thank you |
Forum: PHP Aug 28th, 2008 |
| Replies: 28 Views: 1,903 [QUOTE=R0bb0b;680138]Fix the permissions on that file and you should be fine.[/QUOTE
OK thank you |
Forum: PHP Aug 28th, 2008 |
| Replies: 28 Views: 1,903 I am getting this errors
Warning: fopen(petsfeed.txt) [function.fopen]: failed to open stream: Permission denied in /var/www/html/yumasun/media/gadzoo/txt.php on line 19
Warning: fwrite():... |
Forum: PHP Aug 27th, 2008 |
| Replies: 28 Views: 1,903 the script is writting a file to my server called file.txt with ID Category Description
and I want to thr script tpo write ID Category Description
to the top of petsfeed.txt |
Forum: PHP Aug 27th, 2008 |
| Replies: 28 Views: 1,903 I am loding in it on the browser I am not getting an error but still is not writting
to the file
error_reporting(E_ALL ^ E_NOTICE);
ini_set("display_errors", true); |
Forum: PHP Aug 27th, 2008 |
| Replies: 28 Views: 1,903 It is on a server and no is not giving me any error message is just not writting anything to the file |
Forum: PHP Aug 26th, 2008 |
| Replies: 28 Views: 1,903 Not working is not writing to petsfeed.txt |
Forum: PHP Aug 26th, 2008 |
| Replies: 28 Views: 1,903 Using this code :
error_reporting(E_ALL ^ E_NOTICE);
ini_set("display_errors", true);
$file = "petsfeed.txt"; |
Forum: PHP Aug 26th, 2008 |
| Replies: 28 Views: 1,903 Hello I have a txt file with this content
456510 P115 JANDAY CONURE Very pretty, green/orange/blue, but keeps telling ME to shut up! $250/obo. 928-555-1212.
I will like to now if its... |
Forum: PHP Jul 28th, 2008 |
| Replies: 5 Views: 546 I think this is to get all the DB what about to get certain information from one tabel? |
Forum: PHP Jul 24th, 2008 |
| Replies: 5 Views: 546 what about the icluded files
<?php
include 'config.php';
include 'opendb.php';
$backupFile = $dbname . date("Y-m-d-H-i-s") . '.gz';
$command = "mysqldump --opt -h $dbhost -u $dbuser -p... |
Forum: PHP Jul 24th, 2008 |
| Replies: 111 Views: 6,144 Try this
http://www.ineedtutorials.com/articles/export-mysql-data-to-csv-php-tutorial |
Forum: PHP Jul 24th, 2008 |
| Replies: 5 Views: 546 Hello I need to get data from a database and write the db dump to a server as txt file
any ideas? |
Forum: PHP Jul 3rd, 2008 |
| Replies: 0 Views: 531 Hello I have a csv file which I am parsing into XML with this code :
<?php
/**
* Converts a CSV file to a simple XML file
*
* @param string $file
* @param string $container |
Forum: PHP Jun 25th, 2008 |
| Replies: 5 Views: 1,371 |
Forum: PHP Jun 25th, 2008 |
| Replies: 5 Views: 1,371 How can I apply this to the file attached
???
Thank you |
Forum: PHP Jun 25th, 2008 |
| Replies: 5 Views: 1,371 Hello I can not find a tab to csv converter, any one here now about a php file to convert tab to csv |
Forum: PHP Jun 16th, 2008 |
| Replies: 1 Views: 592 Question
My xml parser is runing into an error when I try to parse the attached csv I think is because of the three commas before the description, I clean the file manually and leave only 1... |
Forum: PHP Jun 12th, 2008 |
| Replies: 5 Views: 19,883 Did not work either, here is how I am doing it
<?php
$new_line = 'ID, Category, Description'."\n";
$file = 'dtifeed.csv'; |