Re: [PHP] Re: Sort with PHP or SQL?

2002-07-05 Thread Alberto Serra
ðÒÉ×ÅÔ! > Any suggestions on how to do this? Yes, 1) *DO* look around and find yourself some text about normalization. I mean, paper. Something you can hold in your hands without rushing to try-and-code it. Then get yourself a sigarette (if you are a smoker) and spend two hours of your lif

Re: [PHP] HTTPS vs. HTTP ?

2002-07-05 Thread Richard Lynch
>For Miguel Cruz posting back there. If I understand correctly, the private >key are inside the public key. Is this correct? If you have an SSL (or SSH, or whatever) key thingie, it always comes as a "pair" The private half, and the public half. You never, ever, ever, ever give the private ha

[PHP] Re: total (slightly OT)

2002-07-05 Thread Richard Lynch
> >Hey everyone, >Am working late as usual before the weekend and so I fear i'm a bit braindead! >Anyway,heres my problem >I have fields named "total" and "avg" and no idea how many records >how do I get the total and average? >Do I use a function? select sum(foo), average(foo), count(foo) fr

[PHP] Re: Stored Procedures

2002-07-05 Thread Richard Lynch
> I'm using a postgres datbase for my PHP project, how do I make stored >procedures? Or if no SPs then what would be recomendation for building >simple/reuseable "Put" and "Get" procedures for my data? Well, if nothing else, PostgreSQL does support user-defined functions, going 'way back. Tec

[PHP] Re: Scheduling tasks

2002-07-05 Thread Richard Lynch
>Are there any scheduling fuctions with PHP? What I'm looking for is >something functionally close to a crontab. Most PHP sites just use crontab when they need crontab... :-) So you not have SSH access? How busy is your site? What kind of actions do you need to have occuring? You *COULD* hack

[PHP] Re: Session not expiring

2002-07-05 Thread Richard Lynch
>All, > >My session is not expiring and I believe that I set this correctly. >I'm looking for a 15 minute expiration time. > >My current setting: > >session.cookie_lifetime = 900 ; lifetime in seconds of cookie >; or if 0, until browser is restarted > >Is

Re: [PHP] ./configure with register_globals turned on?

2002-07-05 Thread Richard Lynch
>I tried following all of your suggestion and so far, still the same. I >tried changing other feature in the php.ini and check the phpinfo and found >that they haven't changed either. So, the problem lie with the file path in Aha! Then you *missed* the one where he said: Check phpinfo() and s

[PHP] Re: help with session_decode in PHP 4.20 (fairly urgent)

2002-07-05 Thread Richard Lynch
>My web host has just upgraded to PHP 4.20. My MySQL database is full of >session_encoded fields, but since the upgrade I can no longer session_decode >them. > >After doing phpinfo I find the following settings ... > >register_argc_argvon on >register_globals on on > > >I'

[PHP] Re: Maybe not the right place, but...

2002-07-05 Thread Richard Lynch
>Does anybody know which is the lenght limit for the parameter string >when GETting an URL? If there is a limit at all, of course. Yes. :-) The limit *USED* to be 255 characters. I think it's up to 1024 now, for GET. Any server *MAY* choose to impose *ANY* limit on GET, so long as they don't

[PHP] Re: textarea new line

2002-07-05 Thread Richard Lynch
>i want to add in textarea a string with new line tag in it. how to do that? > >my try: >$string="-line1n\ -line2 n\-line3"; >echo "$string"; > >but i see a single line instead of: >-line1 >-line2 >-line3 > >tx in advance for any help In addition to using \n instead of n\, you also should do: ec

[PHP] Re: $_SESSION troubles

2002-07-05 Thread Richard Lynch
>Hello hello, > >I have this strange thing with a sort of login procedure (still working it >out, but it will work eventually) >On the first page, you log in (username + password) >Then we come to 'login.php' where I have this header > 1 2 session_start(); > 3 $logi

[PHP] Re: Little optimisation question

2002-07-05 Thread Richard Lynch
>Hello php-general, > > I've recently faced big optimization issues. Here is mine >situation: > >I make connection to NNTP server and fetch headers from the news group >lets say bla.bla.bla. Connection made ok. Next Php tryes to put >everything into the array. It's okey if number of headers a

[PHP] Re: How to use transparent png in createfrompng?

2002-07-05 Thread Richard Lynch
>Hi! > >I'm having problems with createfrompng… > >I do the following: > >1 Creates a new image > >2 Fill it with black > >3 copy an jpg on to it > >4 write some text > >5 tries to use copyimageresized to put a transparent png over the whole >image… > >It's in point 5 it goes wrong, because of som

[PHP] Re: PHP Automatic Backup

2002-07-05 Thread Richard Lynch
>I was reading the post by Pag called “MySQL backups” and I have the same >question, but not the shell access. It came to my mind, that if will be >very useful for me, and probably for many of us newbie’s, to be able to >build an automated PHP system that could make backups by itself at a >specifi

[PHP] Re: png image doesn't show

2002-07-05 Thread Richard Lynch
>Hello all, > >I have been trying to modify the working of one of my pages which prints a >png graph. What I had was an included file named "graphit.php" which >creates a png file. I used the function >imagepng($image,'temp.png') to create an image and then used src=temp.png> to have the image

[PHP] Re: include errors

2002-07-05 Thread Richard Lynch
>i work on Win98, apache 1.3.24/PHP4.2.1. >I include a PHP file (867 lines) witch contains functions : > >include("include/fonctions.php"); > >This previous code is inserted in the upper frame and the left frame. >But sometimes, i've got errors like : > >Parse error: parse error, unexpected '.' in

[PHP] Re: how to resort results of a query

2002-07-05 Thread Richard Lynch
>Also, how can I make certain columns into links? I'm making a site that >will list college courses. When users decide to browse listings by >discipline, or college, I'd like the titles of the courses to be links to >fuller descriptions of those courses. But I'm >not sure how to do that.

[PHP] Re: Print Question

2002-07-05 Thread Richard Lynch
>Question I have is > >I want to run a print job of 200+ invoices > >I have a javascript code to open a print dialog box and >Then go to next invoice and do the loop.. > >Problem I am having is that I want it to pause if the ok button on the >dialog >Box is not pressed.. > >When I run the scr

Re: [PHP] HTTPS vs. HTTP ?

2002-07-05 Thread Richard Lynch
>I saw that Microsoft has a Certificate Authority server package that allows >you to create your own key. Is there a way to do this in linux? In this >particular instance, it's me accessing my own web site. I'd like to encrypt >the session and I'm don't need someone to confirm anything. You ca

Re: [PHP] HTTPS vs. HTTP ?

2002-07-05 Thread Richard Lynch
>On Fri, 5 Jul 2002, Jerome Houston wrote: >> if the browser is making a request, and it sees an https:// at the beginning >> of the request URL, it will : >> 1. get the domain's public key from a public key server >> 2. encrypt the whole request with the domain's public key >> 3. submit it to

[PHP] Re: includes question

2002-07-05 Thread Richard Lynch
>what is the path of the "includes" directory >in a windows dist of PHP (current version)? > >is that where all the dlls are? No. The DLLs are in your "extensions_path" (or something like that). Your include_path is where *YOUR* PHP files can be placed so you can use them in multiple scripts.

[PHP] Re: MySQL news database structure

2002-07-05 Thread Richard Lynch
> Hi, i am writing a news management system in PHP, with comments, etc, and >i am wondering if theres a better way of structuring the tables to increase >speed and stability. > This is how i am structuring my tables: > > Table 1 (news) > -- > ID > Date > Author > Titl

[PHP] Re: Uninitialized string offset

2002-07-05 Thread Richard Lynch
>After upgrading to Red Hat Linux 7.3 (which also includes a new PHP >version), I saw this warning (Uninitialized string offset) on my apache >error log files. It refers to a line which was perfectly legal before: The new settings in php.ini are error_reporting E_ALL by default. Those errors hav

[PHP] Re: Stack Overflow with: zend optimizer

2002-07-05 Thread Richard Lynch
>Hi there, > >zend optimizer 1.3.1 / IIS 5 / PHP 4.2.1 / Windows 2000 > >I've been getting "Stack Overflow" errors frequently. Our software has >hundreds of db queries and hundreds of includes per page execution. Just to >give you some context, so I can't tell you exactly what I'm doing that's >

Re: [PHP] Re: Sort with PHP or SQL?

2002-07-05 Thread Patrick Teague
> *ANY* time you can sort/search in SQL, or you can do it in PHP, the SQL way > will be faster. < and > > Grouping and sorting is something databases specialize in. Any suggestions on how to do this? Currently I have a table with Headers & another table with Pages... Should I create yet anot

[PHP] Re: [PHP-GTK] Cannot enable extensions. Why?

2002-07-05 Thread Steph
Having just caught up with most of the threads on this thanks to MARC, can you please now explain why on earth you are insisting on loading PHP-GTK dynamically through a web server? The results should be interesting to say the least .. - Original Message - From: "George Hester" <[EMAIL P

Re: [PHP] Detecting Browser Type/OS from HTTP_USER_AGENT

2002-07-05 Thread Patrick Teague
Hey, I ended up looking at using eregi to pull this information out of the original HTTP_USER_AGENT as this is more accurate than the extra info from browscap.ini. You have to list out all of the browsers & OSs. However, I'm having problems detecting the Amaya browser... $browser_string = gete

[PHP] Re: [PHP-GTK] Cannot enable extensions. Why?

2002-07-05 Thread George Hester
Well thank you Jason. The gtk is now running. The last thing now is why I cannot uncomment the extensions in the C:\WINNT\php.ini in my PHP 4.2.1 installation. That issue still exists. In this script http://127.0.0.1/scripts/could.php could.php --- From Newsgroup ---

[PHP] Re: opening pdf file in new window with a POST operation

2002-07-05 Thread Pete James
Thank you, Richard. I think I understand now... I experienced this HTML behavior when trying to "debug" this problem, but figured it had little to do with the problem. HTML coming up in that page (even the pdf, as garble) was not producing a warning... Now I understand. One last question, thoug

Re: [PHP] png image doesn't show

2002-07-05 Thread hugh danaher
Joakim (and James too) Thank you for your suggestion regarding the header. The php page does have a header but in playing around with things I did get it to generate an error message along with the "image missing X" the message is: Warning: Failed opening 'var/www/html/stocks/dev/graphit2.php' f

Re: [PHP] Going Nuts with Ereg/Eregi - thanks

2002-07-05 Thread Patrick Teague
Woohoo! it works great now :) Thanks much! Patrick - Original Message - From: "Analysis & Solutions" <[EMAIL PROTECTED]> To: "PHP List" <[EMAIL PROTECTED]> Sent: Tuesday, July 02, 2002 9:19 AM Subject: Re: [PHP] Going Nuts with Ereg/Eregi > On Tue, Jul 02, 2002 at 05:26:45AM -0500,

Re: Re[2]: [PHP] Re: I am probably dumb but why isn't this inserting stuff into my DB?

2002-07-05 Thread JJ Harrison
I followed that part. I just have magic_quotes on so I don't need to use addslashes/stripslashes -- JJ Harrison [EMAIL PROTECTED] www.tececo.com "Julie Meloni" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > JH> I have magic_quotes on though so useless le

Re: [PHP] Cannot enable extensions. Why?

2002-07-05 Thread Alberto Serra
ðÒÉ×ÅÔ! Miguel Cruz wrote: > I can't believe it! I totally forgot it was Ivan Kupala Day! Now that's too bad :)) You missed a great chance to party :))) Well, just as much as I did... :( BTW, I better not say anything about Unix anymore... as soon as I sent that mail Mysql died :(( Looks like

Re: [PHP] Cannot enable extensions. Why?

2002-07-05 Thread Miguel Cruz
On Sat, 6 Jul 2002, Alberto Serra wrote: > Don't fire back, today is Ivan Kupala Day and I am sitting here working > while everyone else in town is having a drink, so I'm in the mood for > cracking jokes a bit :)) I can't believe it! I totally forgot it was Ivan Kupala Day! miguel -- PHP Ge

Re: [PHP] Cannot enable extensions. Why?

2002-07-05 Thread Alberto Serra
ðÒÉ×ÅÔ! > gh> ; Whether or not to enable the dl() function. The dl() function does NOT > gh> work > gh> ; properly in multithreaded servers, such as IIS or Zeus, and is > gh> automatically > gh> ; disabled on them. > gh> enable_dl = On Solution is self-evident: format your hard-disk and

Re: [PHP] I would like to ask about Photo Upload in mysql and reteiveproblem .

2002-07-05 Thread Alberto Serra
Jimmy Lam wrote: > Dear all , > > I am a new bie here and I would like to know more about coding in upload photo >file > > Jimmy > ðÒÉ×ÅÔ! just read the online manual. Everything is quite clear there about all sorts of uploads. Examples included. ÐÏËÁ áÌØÂÅÒÔÏ ëÉÅ× -- @-_=}{=_-@

Re[4]: [PHP] Cannot enable extensions. Why?

2002-07-05 Thread Julie Meloni
gh> Dang it was off. Sorry Julie but if that is not part of the install notes gh> then how the hell am I supposed to know? I'm not a mind reader. and then... gh> I know enough not to mix versions so if it don't help that issue it has to gh> be something like what you have just pointed out to

Re[2]: [PHP] Cannot enable extensions. Why?

2002-07-05 Thread Julie Meloni
gh> That's the error I get when I do uncomment it. I thought I said that. There was no mention of the status of enable_dl in your message. enable_dl is not something that is uncommented. it is either "on" or "off". If it is on -- and only if it is on -- can you use the dl() function. And th

[PHP] Re: [PHP-GTK] Cannot enable extensions. Why?

2002-07-05 Thread Steph
please follow the readme in the PHP-GTK download. You cannot mix the dlls from separate builds and expect them to work, you should in fact be keeping both versions of PHP completely separate if you're intending to use a gui and web installation side by side. Both php.ini's will need to be local

[PHP] I would like to ask about Photo Upload in mysql and reteive problem .

2002-07-05 Thread Jimmy Lam
Dear all , I am a new bie here and I would like to know more about coding in upload photo file by client side and store in mysql database. also , how can I show the photo in the HTML CODING embeded and get the image directly from the database ? thanks . could you mind provide some code to

Re: [PHP] Cannot enable extensions. Why?

2002-07-05 Thread Julie Meloni
GH> but this statement right after it: GH> dl('php_gtk.dll'); GH> leads to this error: GH> Fatal error: Dynamically loaded extentions aren't enabled. in GH> c:\inetpub\scripts\could.php on line 17 From: http://www.php.net/manual/en/configuration.php#ini.sect.extension Extension Loading Direct

[PHP] Re: Configuration problems concerning sessions.

2002-07-05 Thread Mannequin*
"Richard Lynch" <[EMAIL PROTECTED]> writes: > >that's connected to the web, and it works. I went out and got the > >php.ini that my user uses on that server and checked it with my local > >copy. The only difference between the two were the lifetimes of > >cookies, etc. > > Details, please. :-) >

[PHP] Cannot enable extensions. Why?

2002-07-05 Thread George Hester
In Windows 2000 SP2 IIS 5 this statement works without issue: $myvar2 = strtoupper(substr(PHP_OS, 0, 3)) and myvar2 = WIN but this statement right after it: dl('php_gtk.dll'); leads to this error: Fatal error: Dynamically loaded extentions aren't enabled. in c:\inetpub\scripts\could.php on l

Re[2]: [PHP] Re: I am probably dumb but why isn't this inserting stuffinto my DB?

2002-07-05 Thread Julie Meloni
JH> I have magic_quotes on though so useless lecture thanks for the advice Having magic_quotes on doesn't preclude your query from being invalid. You should still: JH> "Miguel Cruz" <[EMAIL PROTECTED]> wrote in message: >> 1) print out $query and try it yourself at the mysql command line. >> >

Re: [PHP] Re: I am probably dumb but why isn't this inserting stuff into my DB?

2002-07-05 Thread JJ Harrison
OK, I have magic_quotes on though so useless lecture thanks for the advice -- JJ Harrison [EMAIL PROTECTED] www.tececo.com "Miguel Cruz" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Sat, 6 Jul 2002, JJ Harrison wrote: > > $query = "INSERT INTO tececo_s

Re: [PHP] upload file size

2002-07-05 Thread Jason Wong
On Saturday 06 July 2002 10:04, Norman Zhang wrote: > Hi, > > I can't seem to upload file bigger than 5M even if I set the > upload_max_filesize to 20M in php.ini and MAX_FILE_SIZE to 20M in the > script. What's am I missing here? Is the temporary upload directory won't > handle file this size? Pl

Re: [PHP] Re: I am probably dumb but why isn't this inserting stuffinto my DB?

2002-07-05 Thread Miguel Cruz
On Sat, 6 Jul 2002, JJ Harrison wrote: > $query = "INSERT INTO tececo_stats values ('', $id, $visited, $time, > $remote_dns, $remote_ip, $referer, $browser, $system)"; > mysql_query($query); You should always do the following if you are having trouble: 1) print out $query and try it yourself at

Re: [PHP] Re: I am probably dumb but why isn't this inserting stuff into my DB?

2002-07-05 Thread Jason Wong
On Saturday 06 July 2002 11:12, JJ Harrison wrote: > Here it is then: [snip] > > $query = "INSERT INTO tececo_stats values ('', $id, $visited, $time, > $remote_dns, $remote_ip, $referer, $browser, $system)"; echo $query; > mysql_query($query); echo mysql_error(); And RFTM for examples on how

[PHP] Re: I am probably dumb but why isn't this inserting stuff into my DB?

2002-07-05 Thread JJ Harrison
Here it is then: JJ Harrison [EMAIL PROTECTED] www.tececo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] I am probably dumb but why isn't this inserting stuff into my DB?

2002-07-05 Thread Jason Wong
On Saturday 06 July 2002 10:37, Alberto Serra wrote: > JJ Harrison wrote: > > Attached is the file. > > ðÒÉ×ÅÔ! > > No attachment came :( Don't attach a file, include your code inline. I for one will not open an attachment (too lazy). -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk

Re: [PHP] suppressing errors with "@"

2002-07-05 Thread Miguel Cruz
On Sat, 6 Jul 2002, Uri Even-Chen wrote: > I tried to suppress warnings in isset expressions (Uninitialized string > offset warnings). The original line was something like this: > > if (!(isset($GLOBALS['SPEEDY_GLOBAL_VARS']['PAGE_NAME']))) > > When I added the "@" sign like this: > > if (!(is

Re: [PHP] help with eval problems...

2002-07-05 Thread Miguel Cruz
On Fri, 5 Jul 2002, Kelly Meeks wrote: > If I had this information stored in a database field, > "> > > how could I assign it to a variable and output it? I'm not sure that you can eval() HTML. Perhaps if your cell contained: echo "" you would have better luck. Don't quote me on it though

[PHP] help with eval problems...

2002-07-05 Thread Kelly Meeks
If I had this information stored in a database field, "> how could I assign it to a variable and output it? I've gone thru the info on eval() @ php.net, but it's not getting thru my skull very well. I keep getting errors I can't correct. Can anyone give me some pointers? Any good tutorials

Re: [PHP] Re: opening pdf file in new window with a POST operation

2002-07-05 Thread Richard Lynch
>get data is insecure by nature so the whole page is insecure and no >warnings, as soon as you post you invoke the security. No, no, no. POST data is *NO* *MORE* *SECURE* than GET data! Period. Okay, if you want to get picuyane -- A total idiot user can read the URL in their location bar, and

[PHP] Re: opening pdf file in new window with a POST operation

2002-07-05 Thread Richard Lynch
>> >The GET method form works fine, while the POST method (which is what I >> >need to use) pops up a message about the page containing both secure and >> >nonsecure data. >> > >> >WTF? >> >> Well, the new browser window opens, but you're loading a PDF, not HTML, so >> it's not really getting any

Re: [PHP] Re: Configuration problems concerning sessions.

2002-07-05 Thread Richard Lynch
>that's connected to the web, and it works. I went out and got the >php.ini that my user uses on that server and checked it with my local >copy. The only difference between the two were the lifetimes of >cookies, etc. Details, please. :-) >I've also tried passing the $PHPSESSID on to another pag

Re: [PHP] HTTPS vs. HTTP ?

2002-07-05 Thread Miguel Cruz
On Sat, 6 Jul 2002, Alberto Serra wrote: > yes, but in that case your Apache is running just ONE web site. Most > people buy VirtualDomains which are namebased and not IP based. And they > cannot share an IP number with other sites with SSL, AFAIK. Or am I > misunderstanding the docs? You're r

Re: [PHP] HTTPS vs. HTTP ?

2002-07-05 Thread Alberto Serra
ðÒÉ×ÅÔ! yes, but in that case your Apache is running just ONE web site. Most people buy VirtualDomains which are namebased and not IP based. And they cannot share an IP number with other sites with SSL, AFAIK. Or am I misunderstanding the docs? ÐÏËÁ áÌØÂÅÒÔÏ ëÉÅ× Jonathan Rosenberg wrote: >

Re: [PHP] I am probably dumb but why isn't this inserting stuff intomy DB?

2002-07-05 Thread Alberto Serra
JJ Harrison wrote: > Attached is the file. > ðÒÉ×ÅÔ! No attachment came :( ðÏËÁ áÌØÂÅÒÔÏ ëÉÅ× -- @-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@ LoRd, CaN yOu HeAr Me, LiKe I'm HeArInG yOu? lOrD i'M sHiNiNg... YoU kNoW I AlMoSt LoSt My MiNd, BuT nOw I'm HoMe AnD fReE tHe

Re: [PHP] HTTPS vs. HTTP ?

2002-07-05 Thread Miguel Cruz
On Fri, 5 Jul 2002, Scott Fletcher wrote: > For Miguel Cruz posting back there. If I understand correctly, the private > key are inside the public key. Is this correct? I'm not completely sure I understand your question. When you visit a site using HTTPS, here's basically what happens: 1. You

[PHP] I am probably dumb but why isn't this inserting stuff into my DB?

2002-07-05 Thread JJ Harrison
Attached is the file. It doesn't give any parse errors or anything. Just nothing is inserted into the DB. What am I doing? -- JJ Harrison [EMAIL PROTECTED] www.tececo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] autoresponder

2002-07-05 Thread val petruchek
I receive this sh!t everytime i post message here. Can we get him out of the list? > Hello, > > > > I will be on vacation from 07/08/02 till 07/19/02 . If you need assistance with your website, please contact either Chris : [EMAIL PROTECTED] or Dave : [EMAIL PROTECTED] > > > > Best Regards, > >

[PHP] Re: upload file size

2002-07-05 Thread val petruchek
Check Apache limitations -- Sincerely, val petruchek "Norman Zhang" <[EMAIL PROTECTED]> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ: [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > I can't seem to upload file bigger than 5M even if I set the > upload_max_filesize to 20M in php.ini and MAX_FILE_S

[PHP] upload file size

2002-07-05 Thread Norman Zhang
Hi, I can't seem to upload file bigger than 5M even if I set the upload_max_filesize to 20M in php.ini and MAX_FILE_SIZE to 20M in the script. What's am I missing here? Is the temporary upload directory won't handle file this size? Please give me some pointers here. TIA. Regards, Norman -- P

RE: [PHP] HTTPS vs. HTTP ?

2002-07-05 Thread Miguel Cruz
On Fri, 5 Jul 2002, Lazor, Ed wrote: > I saw that Microsoft has a Certificate Authority server package that allows > you to create your own key. Is there a way to do this in linux? In this > particular instance, it's me accessing my own web site. I'd like to encrypt > the session and I'm don't

RE: [PHP] HTTPS vs. HTTP ?

2002-07-05 Thread Jonathan Rosenberg
-Original Message- > From: Alberto Serra [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 05, 2002 8:54 PM > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] HTTPS vs. HTTP ? > Besides, using an HTTPS server implies > (correct me if I am wrong) consuming an IP number, > . . . Ok ... you're wro

[PHP] don't want to receive but email please

2002-07-05 Thread Rodolfo Contreras T.
don't want to receive but email please don't want to receive but email please don't want to receive but email please don't want to receive but email please don't want to receive but email please don't want to receive but email please don't want to receive but email please don't want to receive bu

[PHP] Re: i don't recive mail

2002-07-05 Thread Rodolfo Contreras T.
don't want to receive but email please don't want to receive but email please -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ./configure with register_globals turned on?

2002-07-05 Thread Alberto Serra
Scott Fletcher wrote: > I tried following all of your suggestion and so far, still the same. I > tried changing other feature in the php.ini and check the phpinfo and found > that they haven't changed either. So, the problem lie with the file path in > finding the php.ini file. I only have one

Re: [PHP] Stored Procedures

2002-07-05 Thread Alberto Serra
David Busby wrote: > List, > I'm using a postgres datbase for my PHP project, how do I make > stored procedures? Or if no SPs then what would be recomendation for > building simple/reuseable "Put" and "Get" procedures for my data? > > /B > > ðÒÉ×ÅÔ! Stored procedures ARE much better, (

Re: [PHP] HTTPS vs. HTTP ?

2002-07-05 Thread Alberto Serra
Miguel Cruz wrote: > Yup. You'd think that the browser developers would come up with a way to > indicate this (mouse pointer turning to a lock when hovering over a submit > button, etc.). > ðÒÉ×ÅÔ! Yes, it's a GREAT idea! would make our HTTPS processing traffic much better (that is, quicker

Re: [PHP] localhost - passing variables

2002-07-05 Thread Alberto Serra
Tony Tzankoff wrote: > Is it possible to pass variables in PHP on the localhost server? Is there > some kind of setting or something that I need? I am new to this and am not > sure how to go about this. When I upload to a server, the script I have > works just fine; but when I work on it locally,

Re: [PHP] HTTPS vs. HTTP ?

2002-07-05 Thread Alberto Serra
Lazor, Ed wrote: > I saw that Microsoft has a Certificate Authority server package that allows > you to create your own key. Is there a way to do this in linux? In this > particular instance, it's me accessing my own web site. I'd like to encrypt > the session and I'm don't need someone to conf

Re: [PHP] Re: PHP for AIX.5.1

2002-07-05 Thread Alberto Serra
Scott Fletcher wrote: > Yea, it use the Linux Kernel. I had to download RPM stuffs from IBM. It > can not be from Red Hat or any other. IBM take the source code and put it > into RPM. IBM kept making error message about some RPMs, so that is why I > went back to non-linux kernal AIX. > ðÒÉ×Å

Re: [PHP] Survey: MySQL vs PostgreSQL for PHP

2002-07-05 Thread Alberto Serra
ðÒÉ×ÅÔ! That's interesting. I actually never used Postgres on production environments, so... How often does it melt? And is there a known reason or it's just a matter of *luck*? My opinion is that Mysql is after all nothing more than an ISAM file system, which can be queried by SQL. And it's

Re: [PHP] total (slightly OT)

2002-07-05 Thread Alberto Serra
ðÒÉ×ÅÔ! watch out mysql (or whatever db you have) for SUM() and AVG functions, make sure you understand what a GROUP BY clause is. ÐÏËÁ áÌØÂÅÒÔÏ ëÉÅ× [EMAIL PROTECTED] wrote: > Hey everyone, > Am working late as usual before the weekend and so I fear i'm a bit braindead! > Anyway,heres my prob

Re: [PHP] Is there an easy way to divid up HTTP_USER_AGENT?

2002-07-05 Thread JJ Harrison
After A bit of research I wrote this(File is also attached in case e-mail programs/servers interfere with formatting): I seems to work quite well. -- JJ Harrison [EMAIL PROTECTED] www.tececo.com P.S. My proxy seems to interfere with the Weberdev site. If Boaz Yahav <[EMAIL PROTECTED]> or som

[PHP] Re: [OFF] Expiration Page

2002-07-05 Thread val petruchek
FROM THE MANUAL: header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");// Date in the past header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // always modified header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1

[PHP] Re: total (slightly OT)

2002-07-05 Thread Pete James
more specific? What fields... from a database? [EMAIL PROTECTED] wrote: > > Hey everyone, > Am working late as usual before the weekend and so I fear i'm a bit braindead! > Anyway,heres my problem > I have fields named "total" and "avg" and no idea how many records > how do I get the total

[PHP] installing php-4.2.1 fails in make

2002-07-05 Thread Chip Wiegand
I am installing from source php-4.2.1 and have apache-2.0.39 installed and working. When I ran make on php I ended with this message: - include/mysql -I/usr/local/php-4.2.1/ext/xml/expat -D_REENTRANT -D_THREAD_SAFE -I/usr/local/php-4.2.1/TSRM -g -O2 -pthread -DZTS -prefe

[PHP] total (slightly OT)

2002-07-05 Thread kim
Hey everyone, Am working late as usual before the weekend and so I fear i'm a bit braindead! Anyway,heres my problem I have fields named "total" and "avg" and no idea how many records how do I get the total and average? Do I use a function? I know this is pretty simple but. Any help ap

Re: [PHP] Survey: MySQL vs PostgreSQL for PHP

2002-07-05 Thread Pete James
"Ilia A." wrote: > > The biggest annoyance I've come across is > the fact that while using PostgreSQL with PHP is that when you fetch a row > you must specify the number of the result, while in MySQL, that is handled > internally by PHP for you. This means that your PHP scripts must track the >

[PHP] strtr with array of transforms - how many passes thru string?

2002-07-05 Thread Steve Magruder, D2 Director
When I pass a string to strtr($TheText, $Transform_Array), where Transform_Array contains array elements like "a" => "b", I've been wondering, how many passes through the string are performed to accomplish all the string replacing? Is it one per transform, or just one total (I hope)? If it's not

Re: [PHP] Survey: MySQL vs PostgreSQL for PHP

2002-07-05 Thread Ilia A.
I've recently had the 'pleasure' of porting a large MySQL application to support PostgreSQL, through that experience I've gained some insight into the differences between the two as well as how they are supported by PHP. First allow me to point out that MySQL support in PHP is a lot more mature

[PHP] [OFF] Expiration Page

2002-07-05 Thread Skyhawk
Please, How do I make for my webpage expires before time? Thanks I'm sorry my english, I'm brazilian. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] HTTPS vs. HTTP ?

2002-07-05 Thread Chris Shiflett
Lazor, Ed wrote: >I saw that Microsoft has a Certificate Authority server package that allows >you to create your own key. Is there a way to do this in linux? In this >particular instance, it's me accessing my own web site. I'd like to encrypt >the session and I'm don't need someone to confirm

Re: [PHP] Survey: MySQL vs PostgreSQL for PHP

2002-07-05 Thread Scott Fletcher
That's a really good articles!!! "Ray Hunter" <[EMAIL PROTECTED]> wrote in message 00f201c22469$99c78130$[EMAIL PROTECTED]">news:00f201c22469$99c78130$[EMAIL PROTECTED]... > I wrote a small article for builder.com discussing "MySQL vs PostgreSQL". > There is a great dicussion happening on that ar

[PHP] Re: suppressing errors with "@"

2002-07-05 Thread Scott Fletcher
No, it's not a PHP bug. The "@" can not be used before a PHP variables, or PHP pre-defined variables like $GLOBALS, $_SESSION, $_GET, $HTTP_POST_VARS, etc. The "@" is used only before the PHP function as far as I know of. FletchSOD "Uri Even-Chen" <[EMAIL PROTECTED]> wrote in message [EMAIL PRO

[PHP] Re: Survey: MySQL vs PostgreSQL for PHP

2002-07-05 Thread Glenn Sieb
Has anyone read: PHP and PostgreSQL Advanced Web Programming by Ewald Geschwinde and Hans-Juergen Schoenig yet? I'd been waiting for this book to come out... but would like to know if it's actually worth the $ first. Back to the question at hand... Personally I like PostgreSQL for a few reason

RE: [PHP] $GLOBALS ???

2002-07-05 Thread Lazor, Ed
Is this true? : Session variables are tracked whether or not a visitor's browser supports cookies. The session id is automatically appeneded to each url on the site if the user's browser doesn't support cookies. This represents one of the major differences between setting your own cookies and u

Re: [PHP] Survey: MySQL vs PostgreSQL for PHP

2002-07-05 Thread João Paulo Vasconcellos
I don't feel that. I run a web site with a big deal of traffic, and in speed and scalability, MySQL is better than PGSQL or Sybase. I know because I tryed each one of these before getting to MySQL in definitive. Sybase is WAY too slow, and Postgres has a habit of melting down from time to t

[PHP] suppressing errors with "@"

2002-07-05 Thread Uri Even-Chen
Hi, I tried to suppress warnings in isset expressions (Uninitialized string offset warnings). The original line was something like this: if (!(isset($GLOBALS['SPEEDY_GLOBAL_VARS']['PAGE_NAME']))) When I added the "@" sign like this: if (!(isset(@$GLOBALS['SPEEDY_GLOBAL_VARS']['PAGE_NAME'])))

Re: [PHP] Survey: MySQL vs PostgreSQL for PHP

2002-07-05 Thread Ray Hunter
I wrote a small article for builder.com discussing "MySQL vs PostgreSQL". There is a great dicussion happening on that article. Many are voicing their opinions for mysql. Here is the url: http://builder.com.com/article.jhtml?id=u00320020624gcn01.htm In short PostgreSQL offers many advanced feat

RE: [PHP] Survey: MySQL vs PostgreSQL for PHP

2002-07-05 Thread Lazor, Ed
I've always used MySQL, I don't know either. I suspect they are equal in ease of use. -Original Message- I dunno! Never tried it! I wonder which one is easier to work with? This message is intended for the

RE: [PHP] HTTPS vs. HTTP ?

2002-07-05 Thread Lazor, Ed
Well... production with myself as the only client =) I want to encrypt my webmail. -Original Message- :-) Don't tell me if you're gonna use it for production!!! This message is intended for the sole use of t

Re: [PHP] Survey: MySQL vs PostgreSQL for PHP

2002-07-05 Thread Scott Fletcher
I dunno! Never tried it! I wonder which one is easier to work with? "B I G D O G" <[EMAIL PROTECTED]> wrote in message 00d201c22467$8c2e4830$[EMAIL PROTECTED]">news:00d201c22467$8c2e4830$[EMAIL PROTECTED]... > I am there with you on PostgreSQL. > > B i g D o g > > > > > - Original Message -

Re: [PHP] HTTPS vs. HTTP ?

2002-07-05 Thread Scott Fletcher
:-) Don't tell me if you're gonna use it for production!!! "Ed Lazor" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I can always click passed the warning instead of paying $119 for the cert > *grin* > > -Original Message- > You can do this in OpenSSL

RE: [PHP] $GLOBALS ???

2002-07-05 Thread Lazor, Ed
I don't understand. What do you mean? -Original Message- What about PHPSESSID??? Can't use the $_COOKIE. This message is intended for the sole use of the individual and entity to whom it is addressed, and may

RE: [PHP] HTTPS vs. HTTP ?

2002-07-05 Thread Lazor, Ed
I can always click passed the warning instead of paying $119 for the cert *grin* -Original Message- You can do this in OpenSSL on Linux. But the web browser will give a warning message stating that the certificate is not issued by the certificate authority.

Re: [PHP] $GLOBALS ???

2002-07-05 Thread Scott Fletcher
What about PHPSESSID??? Can't use the $_COOKIE. Thanks, FletchSOD "Ed Lazor" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Correct you can add the data as a URL parameter. Or, you could set a > cookie and use sessions. > > -Original Message- >

  1   2   3   >