[PHP] php output to string

2005-08-09 Thread Jesús Fernández
Hi there, i'm a little newbie you know. I have a php that returns some xml, and i want to parse that xml through php. the xml returned depends on the variable passed thru the url. what i need is to get the output of that php file and store it in a string. i have tried everything i have though,

Re: [PHP] php output to string

2005-08-09 Thread Jesús Fernández
thanks, it works, but that returns the php code. what i actually need is the output of that php code evaluated. -- El único error real es aquel en el que no hemos aprendido nada.

Re: [PHP] php output to string

2005-08-09 Thread Jesús Fernández
yes, the remote machine runs php (its my hosting's server) -- El único error real es aquel en el que no hemos aprendido nada.

Re: [PHP] php output to string

2005-08-09 Thread Jesús Fernández
well, i found a little problem with this. when $url looks like http://myhosting/xml.php; and i upload it to my hosting, it times out before getting the content. that php needs includes and when i try $url=/dir/xml.php it gives me a not found error. the file it doesnt find is one of those

Re: [PHP] php output to string

2005-08-16 Thread Jesús Fernández
thanks everyone, the problem was the url i needed to use. now the problem is solved :) -- El único error real es aquel en el que no hemos aprendido nada.

Re: [PHP] sending HTML (incl. embedded images) to browser

2005-08-17 Thread Jesús Fernández
i think using echo 'img src=url/to/image/'; should display the image. if you want to make that image a link you should use: echo 'a href=your/linkimg src=url/to/image//a'; of course, you can use print or echo to send the output to the browser

Re: [PHP] PHP/CSS/Javascript question

2006-03-11 Thread Jesús Fernández
On 3/11/06, Paul Goepfert [EMAIL PROTECTED] wrote: Hi all, Is it possible to modify a table using JavaScript to control CSS visabilty when the entire table is developed dynamically using PHP?

Re: [PHP] Howto search in SQL for a specific character?

2005-11-30 Thread Jesús Fernández
$sql = SELECT nameOfPedigree FROM tbpedigrees WHERE nameOfPedigree like '\'%' ; Maybe this could work... -- El único error real es aquel en el que no hemos aprendido nada.

Re: [PHP] page duration tracking

2005-11-30 Thread Jesús Fernández
I think you could use cookies for this. When the user loads the page you can write a cookie with the timestamp and the page loaded writen on it. Then when the user request another page, load if the cookie exists and then you can calculate the time spent on a certain page... --

Re: [PHP] What software do you use for writing PHP?

2005-12-07 Thread Jesús Fernández
I'm using quanta on linux, it those nice things like code completion, syntax highlighting, upload the pages, etc... -- http://esu.proyectoanonimo.com http://www.proyectoanonimo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Anyone getting bounces from

2005-12-07 Thread Jesús Fernández
4 here -- http://esu.proyectoanonimo.com http://www.proyectoanonimo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Date Function Questions

2005-12-12 Thread Jesús Fernández
the date taken is the same as the local time of the webserver. So if it changes that maybe the server admin's are changing it? -- http://esu.proyectoanonimo.com http://www.proyectoanonimo.com

Re: [PHP] Template engine that doesn't rely on PEAR?

2006-01-15 Thread Jesús Fernández
Maybe Smarty? Don't know if it depends on PEAR. http://smarty.php.net -- Esú - http://esu.proyectoanonimo.com http://www.proyectoanonimo.com

Re: [PHP] New to PHP

2006-01-19 Thread Jesús Fernández
You can always install Apache+PHP on your box to try it whenever you want... -- Esú - http://esu.proyectoanonimo.com http://www.proyectoanonimo.com

Re: [PHP] Determining number of days in a selected month

2006-01-20 Thread Jesús Fernández
You could also use the well known date() function to do that. Here's the doc http://www.php.net/manual/en/function.date.php Look for the format character t, it wil give you the number of days of the month you give it as timestamp. -- Esú - http://esu.proyectoanonimo.com

Re: [PHP] Help with getting PHP to see Pear.

2006-01-24 Thread Jesús Fernández
if you look to your phpinfo it says: '--without-pear' Maybe you'll need to install it with pear support or is it right just to add pear to the include_path? -- Esú - http://esu.proyectoanonimo.com http://www.proyectoanonimo.com