[PHP] Bugs in php 4.2.3.?

2002-10-08 Thread Hendrik Daldrup
Hi, i recently had a problem with a script on a server, which uses php 4.2.3. I couldn't find the problem and so installed it on a different server and it worked right away. Only difference on that server was: php 4.2.2. I checked some sites and it seems there are some issues with postnuke, xo

Re: [PHP] global variables that are arrays

2002-10-08 Thread Christopher J. Crane
I didn't do it yet. The script I am working on is large with many variables so I was hoping someone else would know before I do it. "Chris Hewitt" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Christopher J. Crane wrote: > > >Can I do this? > >global $Ticker=

RE: [PHP] Bugs in php 4.2.3.?

2002-10-08 Thread Jose
Yes, is there an issue? Just see my post under RE: [PHP] For my next bug... Upload filename gets blanked out Of a couple minutes ago Cheers, Jose > -Original Message- > From: Hendrik Daldrup [mailto:[EMAIL PROTECTED]] > Sent: 08 October 2002 20:15 > To: [EMAIL PROTECTED] > Subject:

[PHP] PDF Templates?

2002-10-08 Thread Seth Northrop
Can they be used? Ie, can you open up an existing PDF and execute pdf_show*s on it and dump out the modified buffer? We have several blank PDF forms laying around and I'd like to be able to populate them without having to regenerate the PDFs everytime (which, in some cases would be impossibl

RE: [PHP] PDF Templates?

2002-10-08 Thread Seth Northrop
Yes, I saw PDI - I'm perfectly open to paying $ for a solution - but, is there any PHP integration with pdflib+pdi? On Tue, 8 Oct 2002, SHEETS,JASON (HP-Boise,ex1) wrote: > I believe the authors of PDFlib have a utility that allows you to edit PDF > files on the fly, I don't think it is fr

Re: [PHP] Bugs in php 4.2.3.?

2002-10-08 Thread Jason Wong
On Wednesday 09 October 2002 03:14, Hendrik Daldrup wrote: > Hi, > > i recently had a problem with a script on a server, which uses php 4.2.3. > I couldn't find the problem and so installed it on a different server > and it worked right away. > Only difference on that server was: php 4.2.2. Are t

[PHP] Weird, weird, weird!

2002-10-08 Thread Mike At Spy
Anyone ever have the experience of working on a site, working with MySQL and then having something almost inexplicable happen? I was working on a script, and had this weird event. A very simple script with this: mysql_connect("localhost","user","pass"); mysql_select_db("dbname") or die("Qu

[PHP] Re: Weird, weird, weird!

2002-10-08 Thread Jason Young
You're doubling up on your mysql_query's .. the first one runs, and I don't know the ins and outs of PHP, but the second mysql_query causes the resource to not be available... had a similar problem recently. Take the mysql_query out of the $cartquery assignment. -Jason Mike At Spy wrote: > An

Re: [PHP] shell_exec('cp...

2002-10-08 Thread Marco Tabini
Have you tried redirecting stderr to a file? On Tue, 2002-10-08 at 11:50, Alec Solway wrote: > I'm having problems running cp from shel_exec(). Nothing is returned, but > the copy is unsuccessful. The same call works as user nobody from the > actual shell. Any ideas? > > -Alec > > > -- > PH

Re: [PHP] Bugs in php 4.2.3.?

2002-10-08 Thread Hendrik Daldrup
Yes, the basic settings are, but some modules differ. Regards, Hendrik Jason Wong wrote: >On Wednesday 09 October 2002 03:14, Hendrik Daldrup wrote: > > >>Hi, >> >>i recently had a problem with a script on a server, which uses php 4.2.3. >>I couldn't find the problem and so installed it on a

[PHP] HTML and text email

2002-10-08 Thread Chris Cook
Hello all, I am trying to send out a multi-part email that is both text and HTML. The HTML is so I can embed links into the email. However, some of my clients have text-only email programs and all the HTML tags are visible. Is there a way that I can display HTML in the HTML enabled programs an

Re: [PHP] Weird, weird, weird!

2002-10-08 Thread Kevin Stone
To reitterate what Jason said, this is assignment is invalid. --- $cartquery = mysql_query("SELECT CartItemsID,Date FROM CartItems"); $cartnow = mysql_query($cartquery); $cartnow will contain FALSE. And mysql_num_rows(false) will give the error you are recieving. -Keivn - Original

Re: [PHP] HTML and text email

2002-10-08 Thread Jason Wong
On Wednesday 09 October 2002 04:26, Chris Cook wrote: > Hello all, > > I am trying to send out a multi-part email that is both text and HTML. The > HTML is so I can embed links into the email. However, some of my clients > have text-only email programs and all the HTML tags are visible. Is there a

Re: [PHP] Weird, weird, weird!

2002-10-08 Thread 1LT John W. Holmes
You have these two lines: $cartquery = mysql_query("SELECT CartItemsID,Date FROM CartItems") or die("Query failed"); $cartnow = mysql_query($cartquery); You're trying to run the second query with the result of the first queryI'm pretty sure that's not what you want to do. ---John Holmes...

Re: [PHP] For my next bug... Upload filename gets blanked out

2002-10-08 Thread 1LT John W. Holmes
Just do a print_r($_FILES) and see what all of the contents are. ---John Holmes... - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 08, 2002 2:28 PM Subject: RE: [PHP] For my next bug... Upload filename gets blanked out > < array.>> > > I do

RE: [PHP] Re: Weird, weird, weird!

2002-10-08 Thread Mike At Spy
Damn! I should have seen that! Oh well, at least it was something obvious. ;-) Thanks to you Jason, and everyone who replied to point out the obvious to my tired brain (excuses, excuses!). -Mike > -Original Message- > From: Jason Young [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, Oct

[PHP] Re: HTML and text email

2002-10-08 Thread Manuel Lemos
Hello, On 10/08/2002 05:26 PM, Chris Cook wrote: > Hello all, > > I am trying to send out a multi-part email that is both text and HTML. > The HTML is so I can embed links into the email. However, some of my > clients have text-only email programs and all the HTML tags are visible. > Is there

RE: [PHP] Drop down Menu

2002-10-08 Thread Wilmar Perez
This is a function I made which covers my needs. May be of some help for you. This is a "select" box but I'm sure you can modify it for a combo box. $form_fiel_name is the name you want the box to have in your web form. $table is the table from you want to retrieve the information $field is th

RE: [PHP] Function is_readable doesn't work correctly

2002-10-08 Thread David Freeman
> if (is_readable("owner.php")) > echo "READABLE"; > else > echo "UNREADABLE"; > include ("owner.php"); > ?> According to the manual, the results of is_readable() is cached. So, if you've been testing this and have both readable and unreadable you may have the wrong one c

Re: [PHP] Weird, weird, weird!

2002-10-08 Thread Jennifer Swofford
--- Mike At Spy <[EMAIL PROTECTED]> wrote: > > Anyone ever have the experience of working on a > site, working with MySQL and > then having something almost inexplicable happen? Hmmm, yes, that would be a daily exercise for me. Ah, but I see that your inexplicable problem has been explained... l

RE: Re[2]: [PHP] File download doesn't work with SSL

2002-10-08 Thread John W. Holmes
No, I hadn't realized that's what controlled the "no-cache" being sent. I switched it to "none" and it works now. Thanks. ---John Holmes... > -Original Message- > From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 08, 2002 9:55 AM > To: John W. Holmes > Cc: 'Tom Rog

[PHP] Re: Database help

2002-10-08 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > I am querying a database to populate a list. The list is suppose to start > with the first line of information in the database and continue untill have > been displayed. > > The problem I am having is the first line in the database is n

[PHP] Re: MySQL back up

2002-10-08 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > Hi All! > > Anyone know how to code the MySQL command in PHP to make the database script > download to your local hard disk, without writing 100 lines of code? > > I tried the mysqldump without any luck, but I think there is an easy wa

[PHP] "The application could not initialize correctly" ...

2002-10-08 Thread Jean-Marc Godart
Hello ! I installed for the third time EasyPHP on my computer (with Windows XP), and I keep having the same little problem : when I turn off my computer with EasyPHP (Apache) on, I get an error message saying "cmd.exe : the application could not initialize correctly ...". This is no big deal as t

[PHP] PHP socket connections with SSL

2002-10-08 Thread Darren Gamble
Good day, I'm trying to create a PHP app to connect to a remote port that uses SSL. According to the documentation for fsockopen() ... As of PHP 4.3.0, if you have compiled in OpenSSL support, you may prefix the hostname with either 'ssl://' or 'tls://' to use an SSL or TLS client connection

Re: [PHP] PHP socket connections with SSL

2002-10-08 Thread Marco Tabini
Hi Darren-- 4.3 is not out yet; the reference is to the current CVS version (which will, eventually, become 4.3, I suppose), which you can check out and use, although it is not an "official" release and will therefore probably be a bit unstable (I've been running it on my dev server for a while w

[PHP] Re: HTML and text email

2002-10-08 Thread Owen Prime
My advice would be to set your mail program's preferences to send messages in text & html (you can do it in NS or Moz), send yourself a message with a link or bold or something to make it an html message, then view the source. Cheers, Owen Prime http://www.noggin.com.au Chris Cook wrote: >

[PHP] This fact ruins my understanding of php :( please explain!

2002-10-08 Thread Markas
I tried some trivial expirements: /* here I define an array $big, which I guess would "eat" ~100kb of memory */ for($i=0; $i<1; $i++) { $big[$i] = "1234567890"; } /* this func only returns the value it gets as a param...*/ function f($a){return $a;} $start = microtime(); /* here all t

[PHP] This fact ruins my understanding of php :( please explain!

2002-10-08 Thread Markas
I tried some trivial expirements: /* here I define an array $big, which I guess would "eat" ~100kb of memory */ for($i=0; $i<1; $i++) { $big[$i] = "1234567890"; } /* this func only returns the value it gets as a param...*/ function f($a){return $a;} $start = microtime(); /* here all the j

[PHP] :( This fact ruins my understanding of php :( please explain!

2002-10-08 Thread Markas
I tried some trivial expirements: /* here I define an array $big, which I guess would "eat" ~100kb of memory */ for($i=0; $i<1; $i++) { $big[$i] = "1234567890"; } /* this func only returns the value it gets as a param...*/ function f($a){return $a;} $start = microtime(); /* here all the j

Re: [PHP] This fact ruins my understanding of php :( please explain!

2002-10-08 Thread Rasmus Lerdorf
This has been explained a few times. PHP does shallow copies, or copy-on-write which means that the data is not actually copied until you change it. That is: $a = "1234567890"; $b = $a; internally we do not copy the data from $a to $b until you change $b. We you use references we have a b

Re: [PHP] Date to find next Friday

2002-10-08 Thread Justin French
Ummm, I've read this twice, and don't get it!!! You want to make: - an 'A' file available on the first friday of the month - an 'B' file available on the second friday of the month - an 'C' file available on the third friday of the month - an 'D' file available on the fourth friday of the month

Re: [PHP] For my next bug... Upload filename gets blanked out

2002-10-08 Thread Justin French
Or look at the manual for a perfect working example of file uploading. Why people keep trying to reinvent the wheel is beyond me... Justin French on 09/10/02 6:35 AM, 1LT John W. Holmes ([EMAIL PROTECTED]) wrote: > Just do a print_r($_FILES) and see what all of the contents are. > > ---John

[PHP] HTTP_USER_AGENT - list of possibilities

2002-10-08 Thread Support @ Fourthrealm.com
Hey everyone... do you know where I can find a list of the common returns of the $_SERVER["HTTP_USER_AGENT"] variable? For example: I.E. 5.0 = Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0; .NET CLR 1.0.3705) Netscape 4.08 = Mozilla/4.08 [en] (WinNT; U ;Nav) Thanks, Peter - - - - - - -

[PHP] Converting a Java into php

2002-10-08 Thread Umut Ozan BASAR
i am converting a java class into php.. almost everything is done... but i cant find a java functions equivalent in php, thats getBytes()... is anybody knows that a function in php that exactly does the same job ? for more info about getBytes() http://java.sun.com/docs/books/tutorial/i18n/text/st

Re: [PHP] HTTP_USER_AGENT - list of possibilities

2002-10-08 Thread Sascha Cunz
Hi, > Hey everyone... do you know where I can find a list of the common returns > of the $_SERVER["HTTP_USER_AGENT"] variable? > > For example: > I.E. 5.0 = Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0; .NET CLR > 1.0.3705) > Netscape 4.08 = Mozilla/4.08 [en] (WinNT; U ;Nav) On one side -

[PHP] php.net bug system

2002-10-08 Thread Jason Morehouse
Anyone know if the source is available for the bug system use on php.net? -- Jason Morehouse (jm[ät]netconcepts[döt]com) Netconcepts - http://www.netconcepts.com Auckland, New Zealand Linux: Because rebooting is for adding hardware. -- PHP General Mailing List (http://www.php.net/) To uns

Re: [PHP] php.net bug system

2002-10-08 Thread Sascha Cunz
sure, it is :-) Try: http://cvs.php.net/cvs.php/php-bugs-web?login=2 or go to: http://www.php.net/anoncvs.php and check out "php-bugs-web" Happy Hacking (I'd personally prefer bugzilla... You won't need to adjust as much) Sascha Am Mittwoch, 9. Oktober 2002 02:52 schrieb Jason Morehouse: > A

[PHP] updated tutorials? do they exist?

2002-10-08 Thread Peter Houchin
Howdy does any one know of any site(s) any where that has UPDATED tutorials? I have alooked @ phpbuilder, phpwizard, hotscripts, php.resourceindex.com, zend for updated examples etc.. but they only seem to have them for earlier versions of php and not for any verson after php 4.2.1? Cheers Pete

[PHP] Inheritance Question

2002-10-08 Thread Jarrad Kabral
Hi all, Was just wondering which is the better way to call an inherited method from a child class? Example: class foo { function jk() { echo "In here!"; } } class bar extends foo { function do_something() { //Either this one... $this->jk(); //Or thi

RE: [PHP] Inheritance Question

2002-10-08 Thread Martin Towell
If you need to use variables that are stored in the object, then use $this->jk(); If you're calling bar::do_something(); then $this wont be set, so you'll need to use foo::jk() instead. If you're calling jk() from an object, and you don't need to use any object attributes, then either way would

Re: [PHP] HTTP_USER_AGENT - list of possibilities

2002-10-08 Thread @ Edwin
I'm not aware of any but I'm sure you'll find this interesting: (if you haven't been there yet, at least) http://sourceforge.net/projects/phpsniff/ - E On Wednesday, October 09, 2002 9:20 AM Support @ Fourthrealm.com wrote: > Hey everyone... do you know where I can find a list of the common

[PHP] Re: :( This fact ruins my understanding of php :( please explain!

2002-10-08 Thread Seairth Jacobs
I have a couple thoughts... 1) In some other languages, passing an array by value only passes the first element value, not the whole array. This may be happening here, which would explay the fast execution times. I don't know this for sure, but it could easily be tested by seeing what's in $a i

[PHP] Re: Converting a Java into php

2002-10-08 Thread Seairth Jacobs
If you are specifically trying to use UTF-8 encoding, look at encode_utf8(). --- Seairth Jacobs [EMAIL PROTECTED] "Umut Ozan Basar" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > i am converting a java class into php.. almost everything is done... but i > can

[PHP] Transfer to another server - my sessions don't work!

2002-10-08 Thread Adam Royle
Hi, I transferred a small php site from my localhost to a new server (commercial server). However, after I transferred it over, my sessions would no longer work. Just as a test - here is some code I tried. Please tell me I'm doing it the wrong way. Also, at the bottom of this email this info

[PHP] =array within an html table=

2002-10-08 Thread Anthony Ritter
I'd like to have the record data - $current - *within* the html table but if I run this script it is on a line outside of the table: http://waterdata.usgs.gov/ny/nwis/uv?format=rdb&period=1&site_no=01427 510"); array_pop($content); $current = array_pop($content

[PHP] register_global variables on Mac OS X

2002-10-08 Thread Jule Slootbeek
Hi, i just installed PHP under Mac OS X and now i was looking around trying to find the php.ini file, or its equivalent, in order to turn register_globals to on, so i don't have to go through 15 pages of code and change all my variables to $_POST['foo'] but i couldn't find anywhere where this

RE: [PHP] register_global variables on Mac OS X

2002-10-08 Thread Timothy J Hitchens
Make a page with then display the page threw the server into the browser... and it should like the location in the top area. Timothy Hitchens (HITCHO) [EMAIL PROTECTED] HITCHO has Spoken! -Original Message- From: Jule Slootbeek [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 9 Oct

[PHP] Re: =array within an html table=

2002-10-08 Thread @ Edwin
I think this is more of an HTML problem than a PHP... Put it inside $here (or $here whichever you need) and I'm sure the problem will go away. - E "Anthony Ritter" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'd like to have the record data - $current - *w

RE: [PHP] Transfer to another server - my sessions don't work!

2002-10-08 Thread John W. Holmes
You need a session_start() on your second page. ---John Holmes... > -Original Message- > From: Adam Royle [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 08, 2002 10:06 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Transfer to another server - my sessions don't work! > > Hi, > > I tr

Re: [PHP] register_global variables on Mac OS X

2002-10-08 Thread Jule Slootbeek
Yeah that's the path to where php.ini should be (/usr/local/lib, in my case, but the Jaguar version of PHP doesn't use a php.ini file, so there's nothing there. Jule On Tuesday, Oct 8, 2002, at 22:34 US/Eastern, Timothy J Hitchens wrote: > Make a page with then display > the page threw the s

RE: [PHP] =array within an html table=

2002-10-08 Thread John W. Holmes
Umm...take another look at your HTML book. If you print $content after , then, yes, the content will appear under the table. If you don't put it between and tags, then it'll appear above the table (may depend on browser). ---John Holmes... > -Original Message- > From: Anthony Ritter [

RE: [PHP] register_global variables on Mac OS X

2002-10-08 Thread John W. Holmes
You may not have one right now and PHP is using it's defaults. Look for a php-ini.dist or php-ini.recommended in the php folder. Modify one of those and save it as php.ini. But, I have no idea where to save it on a Mac. Like the other poster said, load up a page through your browser and PHP may

Re: [PHP] register_global variables on Mac OS X

2002-10-08 Thread Jule Slootbeek
well, there is no such file, i searched all over my drive, and there is no php-ini.* php_ini.* i guess i could try getting a php.ini file from somewhere and putting it in the /usr/local/lib dir but i wouldn't know where to get a 'standard' php.ini file Jule On Tuesday, Oct 8, 2002, at 22:43 US

[PHP] Calling C functions

2002-10-08 Thread Sharad Tiwari
hi all, I have just started working on PHP ... (just a couple of days back) I had posted a question yesterday and could not get any rep from anyone My problem is this ... I have to take inputs from a web-based interface and pass them as parameters to a C function (or an executable program)

RE: [PHP] register_global variables on Mac OS X

2002-10-08 Thread John W. Holmes
I checked and it's actually php.ini-dist or php.ini-recommended. You can get them from within the source download from php.net or if you can take a zip/rar, I'll send them to you. ---John Holmes... > -Original Message- > From: Jule Slootbeek [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, Oc

RE: [PHP] Calling C functions

2002-10-08 Thread Timothy J Hitchens
If it is a command line executable just do: Notice the backward ` they send it to the shell. Have fun!! Timothy Hitchens (HITCHO) [EMAIL PROTECTED] HITCHO has Spoken! -Original Message- From: Sharad Tiwari [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 9 October 2002 1:07 PM To

Re: [PHP] Installing both static and dynamic modules

2002-10-08 Thread Tom Rogers
Hi, Wednesday, October 9, 2002, 1:24:31 AM, you wrote: JD> In the INSTALL file notes for PHP is says: JD> "1: Only install either the static module or the dynamic one. Do not JD>install both." JD> No reasoning is given for this statement. Does anyone know what the reason JD> for this is?

Re: [PHP] Calling C functions

2002-10-08 Thread Rasmus Lerdorf
Read README.EXT_SKEL in the source distribution and also the online manual. There is a chapter on extending PHP. -Rasmus On Wed, 9 Oct 2002, Sharad Tiwari wrote: > hi all, > > I have just started working on PHP ... (just a couple of days back) > I had posted a question yesterday and could not

[PHP] Re: Inheritance Question

2002-10-08 Thread Bogdan Stancescu
Hi! I don't know about the memory, but I think the "recommended" way would be your first choice because you might want to redefine method jk() in class bar... I would suspect that would also be recommended performance-wise as well - since that's the typical way to call methods, I think it's b

[PHP] Re: =Next to last record in a file=

2002-10-08 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > Anthony Ritter wrote: > > I am trying to access a website that has tab delimited data and use > > PHP to open the file, read from the > > file for output. > > > > I'd like to then place this data into an array, loop through the > > array

[PHP] Re: Installing both static and dynamic modules

2002-10-08 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > In the INSTALL file notes for PHP is says: > > "1: Only install either the static module or the dynamic one. Do not >install both." > > No reasoning is given for this statement. Does anyone know what the reason > for this is? >

[PHP] Re: mysql_num_rows error

2002-10-08 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > I have a file. I'll paste from line 32 to 34 > > . > $sql = "select USUARIO from docente where USUARIO = '$usuario'"; > $result = mysql_query($sql, $link); Replace the above line with (all on one line) $result = mysql_query($sql,

RE: [PHP] Calling C functions

2002-10-08 Thread Paul Maine
I am including a code snippet that will aid you. # Location of your binary. $yourbinary = "/usr/bin/yourprogram"; # Location of the libs for your c program if needed $yourlib = YOUR_LIB . ":" . getenv("LD_LIBRARY_PATH"); putenv("LD_LIBRARY_PATH=$yourlib"); # The args to call the binary with # F

Re: [PHP] register_global variables on Mac OS X

2002-10-08 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Jule Slootbeek) wrote: > Yeah that's the path to where php.ini should be (/usr/local/lib, in my > case, but the Jaguar version of PHP doesn't use a php.ini file, so > there's nothing there. Jaguar uses php.ini if it's in the expected location

Re: [PHP] register_global variables on Mac OS X

2002-10-08 Thread Bill Leonard
On 10/8/02 11:54 PM, "CC Zona" <[EMAIL PROTECTED]> wrote: >> Yeah that's the path to where php.ini should be (/usr/local/lib, in my >> case, but the Jaguar version of PHP doesn't use a php.ini file, so >> there's nothing there. There is no php.ini file included w/ Mac OS X.. But that's no big d

Re[2]: [PHP] register_global variables on Mac OS X

2002-10-08 Thread Tom Rogers
Hi, Wednesday, October 9, 2002, 1:58:50 PM, you wrote: BL> On 10/8/02 11:54 PM, "CC Zona" <[EMAIL PROTECTED]> wrote: >>> Yeah that's the path to where php.ini should be (/usr/local/lib, in my >>> case, but the Jaguar version of PHP doesn't use a php.ini file, so >>> there's nothing there. BL>

Re: [PHP] register_global variables on Mac OS X

2002-10-08 Thread Jule Slootbeek
i didn't install from source, i installed from an OS X binary i found in the php website, i got a php.ini from someone else which i 'm suing, thanks guys! Jule On Tuesday, Oct 8, 2002, at 23:54 US/Eastern, CC Zona wrote: > In article <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] (Jule Slootbeek) w

Re: [PHP] register_global variables on Mac OS X

2002-10-08 Thread Steve Yates
> From: Jule Slootbeek [mailto:[EMAIL PROTECTED]] > register_globals to on, so i don't have to go through 15 pages of code > and change all my variables to $_POST['foo'] Try extract($HTTP_POST_VARS) which will create $foo for you. - Steve Yates - Your karma just ran over my dogma. ~ Do yo

[PHP] ZE2 nested classes question

2002-10-08 Thread Brad Bulger
Question about a change coming in PHP 5 / ZendEngine2 : I'm not clear on exactly why you would want to nest class definitions, especially if the proposed change to namespace handling goes away - i.e. you still have to do $this->otherclassfunc() inside a class function, instead of just otherclassf

[PHP] Speeding up a Mysql Select

2002-10-08 Thread Bob Irwin
G'day, I'm doing a select on a database that has about 45000 records and growing and its a bit SLOW. Its using a unix timestand to mark the beginning of a call and the end of a call. This is also used so I know what date the call was received. When I do a select * from support where begintime

[PHP] Re: Speeding up a Mysql Select

2002-10-08 Thread Owen Prime
Have a look into indexes I'm running selects on tables with about 4.5 million rows on a desktop without problems. Bob Irwin wrote: > G'day, > > I'm doing a select on a database that has about 45000 records and growing > and its a bit SLOW. > > Its using a unix timestand to mark the beginn

Re: RE: [PHP] Calling C functions

2002-10-08 Thread Sharad Tiwari
Thank you Paul ... thanks a lot for the help Warm Regards, Sharad - Original Message - From: "Paul Maine" <[EMAIL PROTECTED]> Date: Wednesday, October 9, 2002 9:00 am Subject: RE: [PHP] Calling C functions > I am including a code snippet that will aid you. > > # Location of your binar

[PHP] Re: [PHP-WIN] odbc_fetch_array function

2002-10-08 Thread Pascal
Thanks for your message. The database on which I ran the query which result I am trying to fetch with this function is Pervasive 7. However, the PHP parser does not recognize the function name, so I don't believe the issue is with the db. Even on the php.net site, the function is not documented

[PHP] Re: [PHP-DEV] Lib creation

2002-10-08 Thread Markus Fischer
[Cc'd to [EMAIL PROTECTED]] On Tue, Oct 08, 2002 at 12:40:12PM +0200, Metal3d wrote : > Hello > I'm new here, and i'll try to stay ... :oP > I'm French so excuse me if i do mistakes . > > My friend and I have created a lib in php ( a framework) ... > So i wonder if it is possible to install

[PHP] Re: [PHP-DEV] Lib creation

2002-10-08 Thread Metal3d
Ok thanks you ! :o) Markus Fischer <[EMAIL PROTECTED]> a écrit dans le message : [EMAIL PROTECTED] > [Cc'd to [EMAIL PROTECTED]] > > On Tue, Oct 08, 2002 at 12:40:12PM +0200, Metal3d wrote : > > Hello > > I'm new here, and i'll try to stay ... :oP > > I'm French so excuse me if i do mistakes

<    1   2