[PHP] Re: php.ini uploads

2005-05-06 Thread Mehdi Achour
Jon Aston wrote: this has got to be something easy but I was uploading to a folder on a windows PC c:\upload but I updated php and forgot to backup my ini file. I have tried with quotes without quotes as well as a relational address to the folder in my ini file and I cannot get any uploads into

Re: [PHP] Re: Get name of extending class with static method call

2005-01-12 Thread Mehdi Achour
Because it's a change, that should be reverted, or documented. didou M. Sokolewicz wrote: Torsten Roehr wrote: Morten Rønseth [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I just tried the example code at http://www.zend.com/lists/php-dev/200307/msg00244.html using PHP 5.0.3 The

[PHP] Re: Classes, instances and NULL

2004-07-29 Thread Mehdi Achour
Hi Oliver, you should test with === instead of == http://php.net/manual/en/language.operators.comparison.php didou Oliver Hitz wrote: Hi all, I have stumbled across something odd related to classes, instances and NULL in PHP 4. Apparently, an instance of a class that doesn't contain any

[PHP] NewsML Parser

2004-05-11 Thread Mehdi Achour
Hi there ! Anyone aware of a PHP NewsML Parser ? Google doesn't help :( Thanks in advance. Mehdi Achour -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: file writing question

2004-01-14 Thread Mehdi Achour
Please send your questions only to php-general ... Mehdi Achour Hello all, Thanks in advance. I have a quesetion about writing to files. I am successfully opening a file and writing to it, but I'm having problems inserting text. My file currently has the following structure

[PHP] Re: Get fields values from a string.

2003-10-10 Thread Mehdi Achour
Hi, Check this : php.net/explode didou Carles Xavier Munyoz Baldó wrote: Hi, I have a string with the format: field_value1:field_value2:field_value3 Is there any PHP string manipulation function to extract this values from the string ? Greetings. --- Carles Xavier Munyoz Baldó [EMAIL

[PHP] Re: Using link to submit a form

2003-07-30 Thread Mehdi Achour
Hi everyone, Hi, Can I replace Submit buttons on forms with a text button? I need to be able to click on a link: a href=index.php?option=editEdit/a and have it submit the form. The form only contains one field...does anyone know how to do this? I've been searching google for an answer, but

[PHP] Re: downloading a file using headers

2003-07-30 Thread Mehdi Achour
Hi Amanda, I have a page that queries the database then uses the data to build an excel spreasheet. THat spreadsheet is downloaded according to info in the headers. My manager wants to put the page inside of another HTML page to make it prettier, but then it breaks because headers are already

[PHP] Re: Refresh a page in another frame

2003-07-30 Thread Mehdi Achour
Steve Fulleylove wrote: Hi all, I have a PHP web site that uses frames. I can use the header() function to redirect the user to a new page, but can I use this function to load a page into a different frame ? header() (and PHP) won't make it, you need some javascript : script

[PHP] Re: textbox+database

2003-07-30 Thread Mehdi Achour
Patrik Fomin wrote: hi, i have a textbox, after someone puts text into it, it saves into the database, textarea cols=2 rows=2/textarea when it saves to the database the formattion in the textbox dosent work properly, eg: i add this: Test Test Hello and when i retrive the text from the database