User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 397,938 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 8,428 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 40 of 53
Search took 0.01 seconds.
Posts Made By: jencinas69
Forum: PHP 18 Hours Ago
Replies: 27
Views: 319
Posted By jencinas69
Re: Php question

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 19 Hours Ago
Replies: 27
Views: 319
Posted By jencinas69
Re: Php question

Is doing the same
just writting ID Category Description to the file
Forum: PHP 20 Hours Ago
Replies: 27
Views: 319
Posted By jencinas69
Re: Php question

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 ...
Forum: PHP 20 Hours Ago
Replies: 27
Views: 319
Posted By jencinas69
Re: Php question

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 21 Hours Ago
Replies: 27
Views: 319
Posted By jencinas69
Re: Php question

Where in the code does the date code goes?




<?php

error_reporting(E_ALL ^ E_NOTICE);
ini_set("display_errors", true);
Forum: PHP 21 Hours Ago
Replies: 27
Views: 319
Posted By jencinas69
Re: Php question

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 21 Hours Ago
Replies: 27
Views: 319
Posted By jencinas69
Re: Php question

[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 1 Day Ago
Replies: 27
Views: 319
Posted By jencinas69
Re: Php question

[QUOTE=R0bb0b;680138]Fix the permissions on that file and you should be fine.[/QUOTE

OK thank you
Forum: PHP 1 Day Ago
Replies: 27
Views: 319
Posted By jencinas69
Re: Php question

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 2 Days Ago
Replies: 27
Views: 319
Posted By jencinas69
Re: Php question

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 2 Days Ago
Replies: 27
Views: 319
Posted By jencinas69
Re: Php question

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 2 Days Ago
Replies: 27
Views: 319
Posted By jencinas69
Re: Php question

It is on a server and no is not giving me any error message is just not writting anything to the file
Forum: PHP 3 Days Ago
Replies: 27
Views: 319
Posted By jencinas69
Re: Php question

Not working is not writing to petsfeed.txt
Forum: PHP 3 Days Ago
Replies: 27
Views: 319
Posted By jencinas69
Re: Php question

Using this code :



error_reporting(E_ALL ^ E_NOTICE);
ini_set("display_errors", true);


$file = "petsfeed.txt";
Forum: PHP 3 Days Ago
Replies: 27
Views: 319
Posted By jencinas69
Php question

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 possible...
Forum: PHP 33 Days Ago
Replies: 5
Views: 213
Posted By jencinas69
Re: php Mysql question

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: 213
Posted By jencinas69
Re: php Mysql question

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 $dbpass...
Forum: PHP Jul 24th, 2008
Replies: 109
Views: 2,434
Posted By jencinas69
Re: Problems with exporting from a mysql database to a .csv

Try this

http://www.ineedtutorials.com/articles/export-mysql-data-to-csv-php-tutorial
Forum: PHP Jul 24th, 2008
Replies: 5
Views: 213
Posted By jencinas69
php Mysql question

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: 161
Posted By jencinas69
weird characters

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: HTML and CSS Jul 1st, 2008
Replies: 22
Views: 1,041
Posted By jencinas69
Forum: HTML and CSS Jul 1st, 2008
Replies: 22
Views: 1,041
Posted By jencinas69
Re: IE 7 and IE 8 problem

Still is not working on IE

is only showing a broken image



It works now I can see it on IE 7

thank you
Forum: HTML and CSS Jul 1st, 2008
Replies: 22
Views: 1,041
Posted By jencinas69
Re: IE 7 and IE 8 problem

I am trying the code you send it see it as a broken image on IE 8

http://gamingtables.com.mx/index.php

Thankyou
Forum: HTML and CSS Jul 1st, 2008
Replies: 22
Views: 1,041
Posted By jencinas69
Re: IE 7 and IE 8 problem

here is conintro.html




<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" >
<param...
Forum: HTML and CSS Jul 1st, 2008
Replies: 22
Views: 1,041
Posted By jencinas69
Re: IE 7 and IE 8 problem

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type"...
Forum: HTML and CSS Jul 1st, 2008
Replies: 22
Views: 1,041
Posted By jencinas69
Re: IE 7 and IE 8 problem

See when I include the flash file as an php include it does not show If I paste the object code in the header I get a broken image

weird
Forum: HTML and CSS Jul 1st, 2008
Replies: 22
Views: 1,041
Posted By jencinas69
Re: IE 7 and IE 8 problem

I already tried that..
and did not work
Forum: HTML and CSS Jul 1st, 2008
Replies: 22
Views: 1,041
Posted By jencinas69
IE 7 and IE 8 problem

I have this flash piece in my page

www.gamingtables.com.mx/index.php

it is a header if you look at it in IE 7 or 8 the header does not show
if you look in Firefox it is fine.

What could be...
Forum: PHP Jun 25th, 2008
Replies: 5
Views: 339
Posted By jencinas69
Re: Tab to csv converter

This worked thatnk you
Forum: PHP Jun 25th, 2008
Replies: 5
Views: 339
Posted By jencinas69
Re: Tab to csv converter

How can I apply this to the file attached

???
Thank you
Forum: PHP Jun 25th, 2008
Replies: 5
Views: 339
Posted By jencinas69
Tab to csv converter

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: 253
Posted By jencinas69
XML parser question

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 comma...
Forum: PHP Jun 12th, 2008
Replies: 5
Views: 3,993
Posted By jencinas69
Re: how to delete extra commas on csv file with php

Did not work either, here is how I am doing it


<?php


$new_line = 'ID, Category, Description'."\n";

$file = 'dtifeed.csv';
Forum: PHP Jun 12th, 2008
Replies: 5
Views: 3,993
Posted By jencinas69
Re: how to delete extra commas on csv file with php

It did not work here is the complete csv file

414060,440A,,,"QUECHAN INDIAN TRIBE SECRETARY- HIGHER EDUCATION DEPARTMENT Salary $8.00 per hour Position Closes May 9th, 2008 Position is...
Forum: PHP Jun 11th, 2008
Replies: 5
Views: 3,993
Posted By jencinas69
how to delete extra commas on csv file with php

Hello I have this csv file


414060,440A,,,"QUECHAN INDIAN TRIBE SECRETARY- HIGHER EDUCATION DEPARTMENT Salary $8.00 per hour Position Closes May 9th, 2008 Position is responsible for providing...
Forum: XML, XSLT and XPATH May 27th, 2008
Replies: 4
Views: 923
Posted By jencinas69
Re: csv to xml

I have that working the problem is now in trying to insert the headers to my csv file to have an automated process

here is the code


<?php


$list = array
(
Forum: PHP May 27th, 2008
Replies: 4
Views: 312
Posted By jencinas69
Re: fopen file mode question

It still putting the ID, Category, description in the bottom plus all the test1 test 2 test 3 which I dont need

I need only the headers in the top with out cutting part of the csv

Thank yooou
Forum: PHP May 27th, 2008
Replies: 4
Views: 312
Posted By jencinas69
Re: fopen file mode question

This is what my file does when I write you version of the code

http://media.yumasun.com/xml/csv.php

I just need the headers on the top of the file

Thank you
Forum: PHP May 27th, 2008
Replies: 4
Views: 312
Posted By jencinas69
fopen file mode question

I wote this code to this and it works



the problem is that my csv file does not have the headers ID, Description , Category in the top of the file. I wrote this code


<?php
Forum: XML, XSLT and XPATH May 27th, 2008
Replies: 4
Views: 923
Posted By jencinas69
Re: csv to xml

I modify the code to this and it works



<?php
/**
* Converts a CSV file to a simple XML file
*
* @param string $file
* @param string $container
Showing results 1 to 40 of 53

 
All times are GMT -4. The time now is 11:47 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC