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

2002-07-05 Thread Latex Master
Hello Alberto, 255 charasters Friday, July 5, 2002, 5:43:40 PM, you wrote: AS> ðÒÉ×ÅÔ! AS> Does anybody know which is the lenght limit for the parameter string AS> when GETting an URL? If there is a limit at all, of course. AS> áÌØÂÅÒÔÏ AS> ëÉÅ× AS> -- AS> @-_=}{=_-@-_=}{=_-@-_=}{=_-@-

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

2002-07-05 Thread Matthew K. Gold
Thanks very much for your response, Chris--it sounds like that's exactly what I need to do. I'm sorry to trouble you further, but if you have a second, can you give me some advice on how to store results in a temporary table with the columns indexed? I'm very new to PHP, and I'm not sure how to

RE: [PHP] Re: Problem With ora_do

2002-07-05 Thread Grimes, Dean
Here is a little test program. select emp_id, emp_name from employee; dgrimes Dean Grimes 35 rows selected. This is a select using SQLPLUS to select all of the employees. There were a lot of other names, I just removed them from the list. SQL> select emp_id, emp_name from emp

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

2002-07-05 Thread Andy Woolley
>> Maybe not the right place, but... Probably not but what the heck. IE has a cap of 2K. http://support.microsoft.com/default.aspx?scid=kb;EN-US;q208427 Netscape exceeds 2k but I've never tested out how much. Cheers Andy Woolley. Milonic Solutions Ltd - Original Message - From: "Alb

[PHP] PHP Automatic Backup

2002-07-05 Thread César Aracena
Hi all. 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 sp

Re: [PHP] textarea new line

2002-07-05 Thread PHPCoder
Sorry, you DO need nl's, but it's \n not n\ PHPCoder wrote: > When you echo, you are adding to HTML, so you need for new lines > not \n. There is a function called nl2br that converts the nl into > br's for you, so do this; > > $string="-line1n\ -line2 n\-line3"; > > $string = nl2br($string)

Re: [PHP] textarea new line

2002-07-05 Thread PHPCoder
When you echo, you are adding to HTML, so you need for new lines not \n. There is a function called nl2br that converts the nl into br's for you, so do this; $string="-line1n\ -line2 n\-line3"; $string = nl2br($string); echo "$string"; adi wrote: >i want to add in textarea a string with

[PHP] Re: IIS unexpected error

2002-07-05 Thread Scott Fletcher
It would be a good idea to switch to Apache. I had the php script and IIS. The problem with IIS is the virus, so MS provide some patches, include the IIS lockdown. When I activated the IIS Lockdown, it prevent some PHP code from working. It became too much for me so I had to switch to Apache.

[PHP] Re: textarea new line

2002-07-05 Thread Michiel Lange
I'd say $string="-line1\n -line2\n-line3" Newlines are \n, not n\ ... "Adi" <[EMAIL PROTECTED]> schreef in bericht 014b01c22424$5f999b00$9600a8c0@ady">news:014b01c22424$5f999b00$9600a8c0@ady... i want to add in textarea a string with new line tag in it. how to do that? my try: $string="-line1n\

[PHP] $_SESSION troubles

2002-07-05 Thread Michiel Lange
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 This works, I can use $loginname and $loginpw Somewhere on

Re: [PHP] textarea new line+mysql update

2002-07-05 Thread adi
tx, it's working now but i still have a problem: i want to insert into mysql database value $string: $result2 = db_query("update table1 set column1= '$string' where ID = '$IDcurent'") or db_die(); When i try to view in text area the new value from column1, the newlines disappear! ps.column 1 h

[PHP] php form with textarea

2002-07-05 Thread adi
I have a php file with two textarea and one button; i want when i press button, value from textarea2 is filled in textarea1. can u help me? my try is: //file1.php if ($action == "change") { $arie1=$arie2; } echo "$arie1"; echo "\n"; echo "$arie2"; echo""; ...

[PHP] Re: Removing the #!/usr... from cgi output?

2002-07-05 Thread colin mcdonald
I think you can make the AddType location specific ie: in /home/httpd/html/cgi-bin all files ending in .php will be cgi php everywhere else /home/httpd/html/ will be php module the line at the top tells the parser which program should execute the code in the file ... so I think you don't add th

Re: [PHP] $_COOKIE

2002-07-05 Thread Alberto Serra
Scott Fletcher wrote: > I have a question! Since the $_COOKIE is on the server side, not on the > client side. So, will the use of hte $_COOKIE be affected when the user's > browser disabled the cookie? I do not know how the $_COOKIE on the server > side work or get the information from. > > T

[PHP] Re: textarea new line

2002-07-05 Thread colin mcdonald
use \n Adi wrote: > 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 > -- PHP General Mailing Lis

Re: [PHP] HTTPS vs. HTTP ?

2002-07-05 Thread colin mcdonald
I'll try to explain: If you have a form at a http URL and the action of the form is to a https URL, then the data from the form is submitted to the new URL in an encrypted format. hope that helps, colin Jason Caldwell wrote: > I'm a little confused about how HTTPS actually works when you call

Re: [PHP] textarea new line+mysql update

2002-07-05 Thread colin mcdonald
use addslashes "update table1 set column1= '".addslashes($string)."' where ID = '$IDcurent'" Adi wrote: > tx, it's working now > but i still have a problem: > i want to insert into mysql database value $string: >$result2 = db_query("update table1 set column1= '$string' where ID = > '$IDcure

[PHP] textarea new line

2002-07-05 Thread adi
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

Re: [PHP] png image doesn't show

2002-07-05 Thread James E Hicks III
> > > to get the image output. Unfortunately, I get nothing except >the red X indicating a missing image. > > > You probably need to send the correct header at the top of your graphit.php to indicate to the browser that you are sending it a file with a content type of image/png . graphit.php

[PHP] Little optimisation question

2002-07-05 Thread Latex Master
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 are lower

Re: [PHP] _() undefined in 4.2.1

2002-07-05 Thread Andy Woolley
It's OK, I've found out that I have to include --with-gettext in the configure line. Cheers anyway -- Andy. - Original Message - From: "Andy Woolley" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 05, 2002 2:43 PM Subject: [PHP] _() undefined in 4.2.1 > Hi All, > > I

Re: [PHP] $_COOKIE

2002-07-05 Thread Scott Fletcher
That is what I thought so! Thanks! To me, the $_COOKIE seem to get data from the browser in some way. Correct me if I'm wrong. Something like a communication between cookie. Thanks, FletchSOD "Alberto Serra" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >

[PHP] function for size of array

2002-07-05 Thread Scott Fletcher
Is there PHP function that would get the total array count. ie --snip-- $array[0] = "zero"; $array[1] = "one"; $array[2] = "two"; $array_count = --snip-- And I would get 3 as an answer. Thanks, FletchSOD -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.

Re: [PHP] function for size of array

2002-07-05 Thread Terence Kearns
cout($array) Scott Fletcher wrote: >Is there PHP function that would get the total array count. > >ie >--snip-- >$array[0] = "zero"; >$array[1] = "one"; >$array[2] = "two"; > >$array_count = >--snip-- > >And I would get 3 as an answer. > >Thanks, > FletchSOD > > > > > -- PHP General Mail

Re: [PHP] function for size of array

2002-07-05 Thread Terence Kearns
count($array); Scott Fletcher wrote: >Is there PHP function that would get the total array count. > >ie >--snip-- >$array[0] = "zero"; >$array[1] = "one"; >$array[2] = "two"; > >$array_count = >--snip-- > >And I would get 3 as an answer. > >Thanks, > FletchSOD > > > > > -- PHP General Ma

Re: [PHP] function for size of array

2002-07-05 Thread Scott Fletcher
Ah! Thanks! By the way, it's "count()" with a "n". :-) "Terence Kearns" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > cout($array) > > Scott Fletcher wrote: > > >Is there PHP function that would get the total array count. > > > >ie > >--snip-- > >$array[0]

Re: [PHP] function for size of array

2002-07-05 Thread Terence Kearns
Scott Fletcher wrote: >Is there PHP function that would get the total array count. > >ie >--snip-- >$array[0] = "zero"; >$array[1] = "one"; >$array[2] = "two"; > >$array_count = >--snip-- > >And I would get 3 as an answer. > >Thanks, > FletchSOD > > > > > count($array); -- PHP General Mail

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

2002-07-05 Thread Simon Troup
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've been thr

[PHP] Re: New emalloc() error?

2002-07-05 Thread Richard Lynch
>List, > I think I saw this one on here before...when reading/writing the database >I get this when executing odbc_exec(...); What was the fix? > > > >FATAL: emalloc(): Unable to allocate 1073784417 bytes This generally means that you tried to suck in a zillion bytes to a variable, and PHP on

RE: [PHP] gc_probability: requests tallied per server or domain?

2002-07-05 Thread Johnson, Kirk
> On Tue, 2 Jul 2002, Johnson, Kirk wrote: > > Is the number of requests (used for garbage collection), tallied on a per > > server basis, or on a per domain basis? > Pretty fair bet it's a per-server basis. > > miguel Thanks, miguel. That would be my guess, too. If both of us guessed the sam

[PHP] Re: php form with textarea

2002-07-05 Thread colin mcdonald
looks like it should work. try echoing $action and make sure that it's the value you want. you may want to try $_POST['action'] Adi wrote: > I have a php file with two textarea and one button; i want when i press button, >value from textarea2 is filled in textarea1. > can u help me? > > my t

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

2002-07-05 Thread JJ Harrison
Because! Also the audiance that will probably see the site will highly likely not have the knowledge or intention to change the user agent var. So my Q remains. To add to my original Q is there seperate vars for browser and OS? JJ Harrison [EMAIL PROTECTED] www.tececo.com "Alberto Serra" <[EMA

[PHP] how to resort results of a query

2002-07-05 Thread Matthew K. Gold
Hi, How can I set things up so that a user can resort the results of a query? 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 ful

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

2002-07-05 Thread joakim . andersson
Have you tried imagecopyresampled instead? Maybe it solves your problem. It's a long-shot. Requires GD 2.x /Joakim > -Original Message- > From: Victor Spång Arthursson [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 05, 2002 1:03 PM > To: [EMAIL PROTECTED] > Subject: [PHP] How to use tra

RE: [PHP] Button can't see form!

2002-07-05 Thread David Freeman
> The problem I have is with a page I build dynamically. The > whole page is encased in tags. In between these tags there > are sections echoed as a result of a databasse query. Each of these > sections is a form. > > > > > > dynamic content > > > dynamic content >

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

2002-07-05 Thread Richard Lynch
>https://my.server/reports.php"; method="post" >target="_blank"> > > >https://my.server/reports.php"; method="get" >target="_blank"> > > > >These forms are identical with the exception of the post/get methods. > >A PDF file is being dynamically generated and displayed in a pop-up. > >The GET metho

[PHP] Re: mySQL and phpMyAdmin

2002-07-05 Thread Richard Lynch
>Hi, I installed php and mysql today and I'm trying to use phpMyAdmin but >I'm receiving the error message: >cannot load MySQL extension, >please check PHP Configuration. > >I checked the php.ini and couldn't find anything related, my configure >command says '--with-mysql=shared,/usr' and I have n

Re: [PHP] PHP Automatic Backup

2002-07-05 Thread Latex Master
Hello César, PHP, As for your question the answer is yes. At this point of time I'm working on it also. The main idea is set of a few scripts. One for dumping Database with data to a file, second one is creating a tar archive, and third one using fopen to put on FTP server some

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

2002-07-05 Thread John Legg
Hi As far as I can see you need to manipulate HTTP_USER_AGENT yourself. Here is an example that I used to determine if the browser is MSIE and if so what version it is. What are you trying to determine? A specific browser? if (strStr($HTTP_USER_AGENT, "MSIE")) { $agent_array = split(";", $H

RE: [PHP] function for size of array

2002-07-05 Thread Cal Evans
size_of() (insert obligatory RTFM comment here) =C= * * Cal Evans * The Virtual CIO * http://www.calevans.com * -Original Message- From: Scott Fletcher [mailto:[EMAIL PROTECTED]] Sent: Friday, July 05, 2002 9:16 AM To: [EMAIL PROTECTED] Subject: [PHP] function for size of array Is th

[PHP] Re: adding a variable to a variable name

2002-07-05 Thread Richard Lynch
>I'm wondering if this can be done, and if so, what's the proper way to do >it. It can be done, and the proper way to do it is to use an array :-) But, if you are hell-bent on using "variable variables" you should really read the PHP documentation about them: http://www.php.net/manual/en/langua

Re: [PHP] Re: Handling of constants in strings

2002-07-05 Thread Uwe Birkenhain
Miguel Cruz schrieb in Nachricht ... >On Tue, 2 Jul 2002, Uwe Birkenhain wrote: >> A question - since english is not my first language - what do you mean with >> >It's not all that common to bury constants in strings >> >> Is something bad about it? > >I think so. It would slow parsing down to a c

Re: [PHP] How to pass unknown number of variables to a function?

2002-07-05 Thread Uwe Birkenhain
Thank's for the help everybody! I used something different (a little like this nice one from Terence (thank you!) but with JS: I named my form 'test' and included a hidden field 'collector'. At the checkboxes the name is the value I need. The box, when checked, gets the value 1. In the boxtags

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

2002-07-05 Thread Chris Hewitt
Matthew, Apologies to others that this is now quite OT, let's make this the last of this thread. If I may suggest that this is now about pure sql techniques and nothing to do with php. What I did was to create a table (not temporary as it happens) with fields containing all the fields that yo

Re: [PHP] $_COOKIE

2002-07-05 Thread Alberto Serra
Scott Fletcher wrote: > That is what I thought so! Thanks! > > To me, the $_COOKIE seem to get data from the browser in some way. Correct > me if I'm wrong. Something like a communication between cookie. > > Thanks, > FletchSOD ðÒÉ×ÅÔ! Yes, that's the way it works. Once you do a setcookie(

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

2002-07-05 Thread Chris Garaffa
JJ, I don't know of an *easy* way, but this script (with regex's ) isn't too bad; you can figure it out with a little bit of research. /* begin script ereg("^([[:alpha:]]+)/([[:digit:]\.]+)( .*)$", $HTTP_USER_AGENT, $match); $Browser_Name=$match[1]; $Browser_Version=$match[2]; $Browser_Descriptio

Re: [PHP] function for size of array

2002-07-05 Thread Jason Wong
On Friday 05 July 2002 22:20, Scott Fletcher wrote: > Ah! Thanks! By the way, it's "count()" with a "n". :-) That was to trick you into RTFM! Hey you were lucky that the 'o' wasn't left out instead :) -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems I

[PHP] ./configure with register_globals turned on?

2002-07-05 Thread Scott Fletcher
What is the configure option that will turn on the register_globals? This is for ./configure option in UNIX / LINUX. Thanks, FletchSOD -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Little optimisation question

2002-07-05 Thread Jason Wong
On Friday 05 July 2002 19:37, Latex Master wrote: > 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 > eve

[PHP] PHP for AIX.5.1

2002-07-05 Thread A Jeyaraj
Hi all, I like to know where i can get the PHP download for the AIX.5.1 Pl, let me know the information. Regards, Jey _ There is always a better job for you at Monsterindia.com. Go now http://monsterindia.rediff.com/jobs -- PHP Genera

[PHP] Re: $_SESSION troubles

2002-07-05 Thread Michiel Lange
oww... should have added a few things as information... It's friday and one tends to forget such things then... I'm on Slackware 8.1, PHP 4.2.1, Apache 1.3.24 maybe that helps a bit... "Michiel Lange" <[EMAIL PROTECTED]> schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello hel

[PHP] Re: Using fsockopen

2002-07-05 Thread Scott Fletcher
Here's the simple script that will do the trick! This is what I use with Equifax before I start using cURL. You can substitute the "HOSTNAME", "HOSTPORT" for something else. --clip-- "; return 0; } $senddata = $headerstr; $senddata .= $sendstr; $senddatalen = strlen($senddata

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

2002-07-05 Thread Alberto Serra
ðÒÉ×ÅÔ! > Because! LOLOL okay. You can use this javascript stuff, it's more accurate and does not get fooled by the rubbish people write in their user_agents // This function attempts to determine visitor's spoken language // //

[PHP] Re: PHP for AIX.5.1

2002-07-05 Thread Scott Fletcher
Go to PHP website, http://www.php.net and at the top, you'll see the download hyperlink. Click on that. Then use the tar.gz file under the title, "Complete Source Code". This is what I use with AIX. If you use the RPM to install other softwares, then you'll have to make sure the ./configure op

Re: [PHP] PHP and XML Resources

2002-07-05 Thread Analysis & Solutions
Hola: On Thu, Jul 04, 2002 at 01:12:26PM -0600, CM wrote: > > Can anyone recommend a good book or web page on php and xml? > The "Professional PHP4 XML" book by wrox looks good but I haven't read any > reviews on it. I have a demonstration page at http://www.analysisandsolutions.com/code/phpxml.

[PHP] Re: extension problem

2002-07-05 Thread Richard Lynch
>hi >I have an extension problem. >i have wrote this exemple >#include... >char* xx(){ > >return "true"; > > >} >it's a simple example. >I have compiled it into .SO dynamic library. >when I try to load it into PHP i get this message >cannot include .(may be not php extension). >CAN YOU HEL

Re: [PHP] function for size of array

2002-07-05 Thread Neil Freeman
LOL - nice one Jason :) Jason Wong wrote: > ** > This Message Was Virus Checked With : SAVI 3.59 May 2002 > Last Updated 3rd July 2002 > ** > > On Frid

[PHP] Re: PHP for AIX.5.1

2002-07-05 Thread Michiel Lange
That is because AIX 5.1 uses a linux kernel. That implies alot of changes for the architecture... However, I think you should be able to compile for 5.1, but you'll need the required libraries which have to be compiled and installed as well... which implies that you need the development stuff like

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

2002-07-05 Thread Pete James
Tom Rogers wrote: > > Hi > get data is insecure by nature so the whole page is insecure and no > warnings, as soon as you post you invoke the security. You probably have a > url on your page that is coming from an insecure server (http:// instead > of https://) > Tom Believe me when I say that

[PHP] Re: PHP for AIX.5.1

2002-07-05 Thread Scott Fletcher
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. "Michiel Lange" <[EMAIL PROTECTED]> wr

Re: [PHP] Re: Does Location: headers constantly

2002-07-05 Thread Analysis & Solutions
On Fri, Jul 05, 2002 at 01:56:58AM -0500, Miguel Cruz wrote: > > Interesting. What tests did you perform? I used similar things, including a file('test.php') statement in another php script and using GET from the command line. telnet is a good test, but I didn't have it available at the time.

[PHP] to remove html tags from a string.

2002-07-05 Thread Anil Garg
Hi, How to do whats written in the commented line(//) in the code below: test"; if(stristr($term,"<") && stristr($term,">") && !stristr($term,"") && !stristr($term,"") ){ printf("its html tag"); // here i want to remove the html tags from $term and then print it.(here it should print '.te

Re: [PHP] function for size of array

2002-07-05 Thread Scott Fletcher
What is RTFM?? "Jason Wong" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Friday 05 July 2002 22:20, Scott Fletcher wrote: > > Ah! Thanks! By the way, it's "count()" with a "n". :-) > > That was to trick you into RTFM! Hey you were lucky that the 'o' wa

[PHP] localhost - passing variables

2002-07-05 Thread Tony Tzankoff
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, it does not work. Please help

Re: [PHP] $_COOKIE

2002-07-05 Thread Scott Fletcher
Not a problem! I noticed the "PHPSESSID" only showed up on $_COOKIE and nothing else. I dont' want to use the $_COOKIE, so I may either assign it to $_SESSION or $GLOBALS. FletchSOD "Alberto Serra" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Scott Fletche

Re: [PHP] to remove html tags from a string.

2002-07-05 Thread Philip Olson
See http://www.php.net/strip_tags On Fri, 5 Jul 2002, Anil Garg wrote: > Hi, > How to do whats written in the commented line(//) in the code below: > > $term = ".test"; > if(stristr($term,"<") && stristr($term,">") && !stristr($term,"") && > !stristr($term,"") ){ > printf("its html tag");

Re: [PHP] function for size of array

2002-07-05 Thread Philip Olson
It's a term with many different meanings. See: http://wombat.doc.ic.ac.uk/foldoc/foldoc.cgi?RTFM On Fri, 5 Jul 2002, Scott Fletcher wrote: > What is RTFM?? > > "Jason Wong" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > On Friday 05 July 2002 22:20

Re: [PHP] localhost - passing variables

2002-07-05 Thread Martin Clifford
If you're using one of the more recent releases of PHP4+, then register_globals is set to OFF by default in your php.ini file. Change this to ON or use $_GET['variable']/$_POST['variable'] to access the values. Martin >>> "Tony Tzankoff" <[EMAIL PROTECTED]> 07/05/02 12:43PM >>> Is it possible

Re: [PHP] $_COOKIE

2002-07-05 Thread Philip Olson
For session id, use session_id() http://www.php.net/session_id Regards, Philip Olson On Fri, 5 Jul 2002, Scott Fletcher wrote: > Not a problem! I noticed the "PHPSESSID" only showed up on $_COOKIE and > nothing else. I dont' want to use the $_COOKIE, so I may either assign it > to $_SES

Re: [PHP] $_COOKIE

2002-07-05 Thread Scott Fletcher
On every web pages or just the 1st page for initalizing the session? FletchSOD "Philip Olson" <[EMAIL PROTECTED]> wrote in message Pine.BSF.4.10.10207051647410.68593-10@localhost">news:Pine.BSF.4.10.10207051647410.68593-10@localhost... For session id, use session_id() http://www.php.

Re: [PHP] localhost - passing variables

2002-07-05 Thread Philip Olson
A guess: Your local server has different settings then the remote server. Specifically, the register_globals directive. For example, take this url: http://www.example.com/foo.php?id=3 If register_globals = off you can get this by: // These methods work as of PHP 4.1.0 print

[PHP] Session not expiring

2002-07-05 Thread Peter Atkins
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 this the co

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

2002-07-05 Thread Scott Fletcher
I give up! It still won't turned on! I tried stopping and restarting Apache, rebooting the machine, checked phpinfo to see the php.ini file path is, etc. At least, my boss understand. I'm going to stick to upgrading the website to go without register global. FletchSOD "Larry Rosenman" <[EMAIL

[PHP] How Do Y'all Secure your Sites... (Cookies vs. IP Number)...

2002-07-05 Thread Kondwani Spike Mkandawire
Quick Question on Cookies vs. IP Number: They appear to be easy to set (well at least in PHP), hence quite easily to get around (The user of your Site simply deletes the Cookie on his Hard Drive...) In Konqueror you are actually given the option of rejecting cookies... Using getenv($REMOTE_ADDR

RE: [PHP] Session not expiring

2002-07-05 Thread Lazor, Ed
It looks like you're doing it correctly. Use phpinfo() to verify the php.ini file being used. Maybe the system's using one other than what you updated. -Original Message- From: Peter Atkins [mailto:[EMAIL PROTECTED]] Sent: Friday, July 05, 2002 10:39 AM To: [EMAIL PROTECTED] Subject: [P

[PHP] Scheduling tasks

2002-07-05 Thread Frank S. Kicenko
Hi, I couldn't find anything in the help files or the faq... but. Are there any scheduling fuctions with PHP? What I'm looking for is something functionally close to a crontab. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] How Do Y'all Secure your Sites... (Cookies vs. IP Number)...

2002-07-05 Thread Lazor, Ed
I've typically seen the use of a login / cookie in tracking users and providing security. -Original Message- Quick Question on Cookies vs. IP Number: They appear to be easy to set (well at least in PHP), hence quite easily to get around (The user of your Site simply deletes the Cookie

Re: [PHP] function for size of array

2002-07-05 Thread Kondwani Spike Mkandawire
Neat!... "Philip Olson" <[EMAIL PROTECTED]> wrote in message Pine.BSF.4.10.10207051644510.68593-10@localhost">news:Pine.BSF.4.10.10207051644510.68593-10@localhost... > > It's a term with many different meanings. See: > > http://wombat.doc.ic.ac.uk/foldoc/foldoc.cgi?RTFM > > > On Fri, 5

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

2002-07-05 Thread Rasmus Lerdorf
So putting the line: register_globals = on In your php.ini file (path to it specified in your phpinfo() output) didn't work? Check the following: 1. Are you sure there isn't a second "register_globals = off" entry somewhere in that file? 2. Does the web server have read access to the direc

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

2002-07-05 Thread Andre Dubuc
Hi Scott, I've come to this post a little late, but I had exactly the same problem. No matter what I set php.ini, phpinfo() would not show changes. If I recall correctly, the problem sort of 'disappeared' by itself. I finally resolved it by rebooting immediately after setting the new php.ini (

RE: [PHP] Scheduling tasks

2002-07-05 Thread Lazor, Ed
>From what I've seen, people use crontab do call php scripts - effectively scheduling functions. -Original Message- From: Frank S. Kicenko [mailto:[EMAIL PROTECTED]] Sent: Friday, July 05, 2002 10:58 AM To: [EMAIL PROTECTED] Subject: [PHP] Scheduling tasks Hi, I couldn't find anything

RE: [PHP] Session not expiring

2002-07-05 Thread Lazor, Ed
phpinfo reports session.cookie_lifetime as 900 (15 minutes), but sessions don't expire in 15 minutes. How are you running sessions? How are you setting cookies? How are you testing to see whether the session has expired? -Original Message- From: Peter Atkins [mailto:[EMAIL PROTECTED]]

[PHP] I'm sorry, Test

2002-07-05 Thread Skyhawk
Test __ Skyhawk ICQ#: 46195280 Current ICQ status: + More ways to contact me __ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.ph

[PHP] Configuring the Session Function in php.ini for WinNT...

2002-07-05 Thread Kondwani Spike Mkandawire
Does anyone know how to configure the session function in the php.ini File under WinNT... The Session Function appears to be generic to UNIX... What do I change the save_path variable to... session.save_path = ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: h

RE: [PHP] Configuring the Session Function in php.ini for WinNT...

2002-07-05 Thread Lazor, Ed
Any temp directory set aside for this purpose. You can create one "c:\temp" or "c:\temp\sessions" -Original Message- From: Kondwani Spike Mkandawire [mailto:[EMAIL PROTECTED]] Sent: Friday, July 05, 2002 11:18 AM To: [EMAIL PROTECTED] Subject: [PHP] Configuring the Session Function in

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

2002-07-05 Thread Scott Fletcher
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 php.ini file. The other are i

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

2002-07-05 Thread Rasmus Lerdorf
And the php.ini file you are changing is the one listed in your phpinfo() output? Looks to me like your php.ini file is in the wrong place. On Fri, 5 Jul 2002, Scott Fletcher wrote: > I tried following all of your suggestion and so far, still the same. I > tried changing other feature in the p

[PHP] Re: Configuring the Session Function in php.ini for WinNT...

2002-07-05 Thread colin mcdonald
I set it to: session.save_path = c:\temp\ And it works great for me Kondwani Spike Mkandawire wrote: > Does anyone know how to configure the session function in > the php.ini File under WinNT... The Session Function appears > to be generic to UNIX... What do I change the save_path > variable

Re: [PHP] Scheduling tasks

2002-07-05 Thread Miguel Cruz
On Fri, 5 Jul 2002, Frank S. Kicenko wrote: > I couldn't find anything in the help files or the faq... but. > > Are there any scheduling fuctions with PHP? What I'm looking for is > something functionally close to a crontab. Crontab would work. Or you could make a library that you include in of

Re: [PHP] HTTPS vs. HTTP ?

2002-07-05 Thread Jerome Houston
If I could elaborate on colin's explanation Mainly so that there is a fairly recent one of these in the archives (not that anybody searches them :-) Like miguel said encryption in an HTTP request/response pair is determined by your browser. if the browser is making a request, and it sees an

Re: [PHP] How Do Y'all Secure your Sites... (Cookies vs. IP Number)...

2002-07-05 Thread Miguel Cruz
On Fri, 5 Jul 2002, Kondwani Spike Mkandawire wrote: > Quick Question on Cookies vs. IP Number: > > They appear to be easy to set (well at least in PHP), hence quite > easily to get around (The user of your Site simply deletes the > Cookie on his Hard Drive...) In Konqueror you are actually > gi

Re: [PHP] How Do Y'all Secure your Sites... (Cookies vs. IP Number)...

2002-07-05 Thread Scott Fletcher
Well! The credit bureau website I maintain. We don't use cookie because it doesn't help when the user had it turned off. We do compile OpenSSL and Libmcrypt with PHP, so we can check to see if the web browser is 128 bits and not below that. The PHP code for that is "$_SERVER['SSL_CIPHER_USEKEY

Re: [PHP] HTTPS vs. HTTP ?

2002-07-05 Thread Miguel Cruz
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 the w

Re: [PHP] How Do Y'all Secure your Sites... (Cookies vs. IP Number)...

2002-07-05 Thread Miguel Cruz
On Fri, 5 Jul 2002, Scott Fletcher wrote: > We also use the "$_SERVER['REMOTE_ADDR'] to allow only the credit bureau > employee to log in to the administration website that is if the > employee's machine is at the credit bureau place. This help with some > security but not a full security because

Re: [PHP] localhost - passing variables

2002-07-05 Thread Miguel Cruz
On Fri, 5 Jul 2002, 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

Re: [PHP] How Do Y'all Secure your Sites... (Cookies vs. IP Number)...

2002-07-05 Thread Scott Fletcher
Well, the website use both port 80 and port 443. The public access the website freely, so blocking them is not an option beside they don't know the true IP address behind the firewall for them to access the administration website. We don't have Intranet for the administration website to be used.

Re: [PHP] Re: Handling of constants in strings

2002-07-05 Thread Miguel Cruz
On Fri, 5 Jul 2002, Uwe Birkenhain wrote: > Miguel Cruz schrieb ... >> On Tue, 2 Jul 2002, Uwe Birkenhain wrote: >>> A question - since english is not my first language - what do you mean >>> with >>> It's not all that common to bury constants in strings >>> >>> Is something bad about it? >>

RE: [PHP] gc_probability: requests tallied per server or domain?

2002-07-05 Thread Miguel Cruz
On Fri, 5 Jul 2002, Johnson, Kirk wrote: >> On Tue, 2 Jul 2002, Johnson, Kirk wrote: >>> Is the number of requests (used for garbage collection), tallied on a >>> per server basis, or on a per domain basis? >> >> Pretty fair bet it's a per-server basis. > > Thanks, miguel. That would be my guess

Re: [PHP] HTTPS vs. HTTP ?

2002-07-05 Thread Jerome Houston
Ah, miguel good to have you back. I missed your lovingly superior painstaking attention to detail :-) jerome >From: Miguel Cruz <[EMAIL PROTECTED]> > > 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 pu

[PHP] Stored Procedures

2002-07-05 Thread David Busby
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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: htt

  1   2   3   >