RE: [PHP] How to change process permissions?

2001-06-22 Thread Don Read
On 22-Jun-01 Nick wrote: > > I writing a web based admin panel for myself for my site. My PHP script > needs to be able to read, write, and move files around. The way I'm > currently getting it to work is by making a directory owned by "nobody" with > all permissions set so the script can write

Re: [PHP] protected Images without using htaccess

2001-06-22 Thread Arash Dejkam
Hi, and the shorthand for this : Thanks Arash Dejkam ""Fredrik Arild Takle"" <[EMAIL PROTECTED]> wrote in message 9gvl19$er6$[EMAIL PROTECTED]">news:9gvl19$er6$[EMAIL PROTECTED]... > 1. Authenticate user > 2. Put the pictures in a "secret" folder or outside http_root > 3. Do this: > >heade

[PHP] file("http://www.php.net") error?

2001-06-22 Thread atan
file("http://www.163.com";) error? this is a test: http://www.php.net'); while (list ($line_num, $line) = each ($fcontents)) { echo "Line $line_num: " . htmlspecialchars ($line) . "\n"; } ?> / This program run no error in my server

RE: [PHP] Variable variable names...

2001-06-22 Thread Jason Lustig
There's a number of things you can do with variable variables... they're quite powerful, I like 'em a lot. :) Anyway, you can do This would output stuff I think that's what you were asking... You've got to use the { and } around the variables you're using to make teh variable variable.

[PHP] REG_EMPTY error

2001-06-22 Thread Aral Balkan
Hi all, I'm getting the following error when I try to load complex web pages with a version of Hans Anderson's class.browser that I've modified to translate relative links to absolute links (as well as images, flash object / embed links). It's going to be part of a larger templating class (I'm go

Re: [PHP] Is there a user group in Colorado?

2001-06-22 Thread John Meyer
At 11:24 AM 6/22/01 -0600, Unni wrote: >Is there a user group in Colorado? > >Thanks > If there is one, I'd like to be a part of it. John Meyer [EMAIL PROTECTED] Programmer If we didn't have Microsoft, we'd have to blame ourselves for all of our programs crashing -- PHP General Mailing Li

[PHP] file uploads in Win9x, anyone? please?

2001-06-22 Thread Christian Dechery
Has anyone successfully set up a script to upload a file with PHP running Apache in Win9x (in my case 98Me)? I tried everything... the script is correct, I checked out a lot of examples... is there any config in Apache or in PHP I'm missing??? I really need this...

[PHP] email with variables

2001-06-22 Thread Richard Kurth
I have three different e-mail messages in my program in functions. That I would like to figure a way for the program user to be able to edit this e-mail messages to there liking without having to mess with the code. Now I have figured out with the help of this user group how to do it with placehol

Re: [PHP] PHP authenticating and session management

2001-06-22 Thread Christopher Ostmo
Bass??? pressed the little lettered thingies in this order... > I have a Q. > will the Session ID be stolen by hacker when the ID tranfer bewteen client > and server ? Then can the hacker send the ID to server and veiw the user's > page ? > Yes. That *can* happen to any non-encrypted transmiss

[PHP] Problem with timeouts

2001-06-22 Thread Javier Muniz
I've written a PHP script that's used internally by an application backend. It transfers files via FTP from one server to another. This process often takes in excess of 1hr. My problem is that for some reason, even though i've set the max_execution_time in the php.ini is set to 10800 (3 hours) t

Re: [PHP] MySQL Dump In PHP

2001-06-22 Thread Aral Balkan
I use the mysqldump command line utility to do this and I don't know how to interface that from PHP. However: I just checked how phpMyAdmin does it and apparently it has functions that re-create the dump using queries. You might want to download it (http://www.phpwizard.net/projects/phpMyAdmin/)

RE: [PHP] MySQL Dump In PHP

2001-06-22 Thread Chadwick, Russell
  mysqldump is a command to be used at a prompt, from php you could system ("mysqldump whatever > /tmp/dump.sql"); --- Toolshed Computer Productions - Professional PHP Hosting Hosting - Dedicated Servers - Design - Programming http://www.toolshed51.com -Original Message-From: Chri

RE: [PHP] SQL statement for clearing a table

2001-06-22 Thread Chadwick, Russell
No one has yet mentioned TRUNCATE TABLE x which is a lot faster on large tables because even DELETE FROM evaluates each row where TRUNCATE just clears the data. - Russ --- Toolshed Computer Productions - Professional PHP Hosting Hosting - Dedicated Servers - Design - Programming http:

Re: [PHP] recompiling libphp4.so with -DEAPI

2001-06-22 Thread DAve Goodrich
on 6/22/01 8:59 AM, Tyler Longren at [EMAIL PROTECTED] wrote: > Hello, > > I recompiled php/apache/openssl/mod_ssl yesterday on a server (exact same as > I had done it before). Before apache started up with SSL with no problem. > Now when I start (./apachectl startssl), I get this warning: > [F

[PHP] SubDomain Redirect

2001-06-22 Thread Jon Shoberg
Using Apache ... Any thoughts no how I can create a link: http://cars.mydomain.com and have it redirect to http://www.mydomain.com/index.php?id=cars and http://www.mydomain.com/cars and have it redirect to http://www.mydomain.com/jump.php?id=cars without mess

Re: [PHP] Is it possible to have the parameters fo a function be exited HTML?

2001-06-22 Thread Phillip Bow
Its probably just as fast for you to test it out using what you have written here as it is for someone to give you the answer. And in answer to your question no this script will not run properly. -- phill ""Jason Lustig"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROT

Re: [PHP] Safe_mode in certain directories

2001-06-22 Thread Christopher Ostmo
Egan pressed the little lettered thingies in this order... > On Thu, 21 Jun 2001 14:35:50 -0700 (PDT), Rasmus Lerdorf > <[EMAIL PROTECTED]> wrote: > > >If you are using Apache you can set any PHP directive in > >or block by doing something like: > > > > php_admin_flag safe_mode On > > Do tho

Re: [PHP] passing arrays

2001-06-22 Thread Phillip Bow
You could use sessions, but it may be overkill for what you are trying to do. -- phill ""Jason Jacobs"" <[EMAIL PROTECTED]> wrote in message 001201c0fb50$6f895300$7feb1e18@superman">news:001201c0fb50$6f895300$7feb1e18@superman... Hi all. I'm trying to pass an array to another page, and I'm not h

Re: [PHP] Which is more expensive: concatenation or embedding?

2001-06-22 Thread Phillip Bow
What about: echo "This is a string and my variablke $x is ".$x."\n"; I think your first would be faster, but on such a miniscule level as to be irrelevant. -- phill > There are two ways to get your variables into a string -- concatenation with > single-quoted strings, or embedding in evaluated d

RE: [PHP] Is this a joke?!

2001-06-22 Thread James Moore
> Is this a joke? > http://www.perl.com/search/index.php > > *hehe* I see someone has been reading my sig, and no its for real. - James -- James Moore [EMAIL PROTECTED] http://www.perl.com/search/index.php - we must be doing somthing right -- PHP General Mailing List (http://www.php.ne

[PHP] Which is more expensive: concatenation or embedding?

2001-06-22 Thread Jason Lustig
There are two ways to get your variables into a string -- concatenation with single-quoted strings, or embedding in evaluated double-quoted strings. Which is more expensive to the server? For example: Now, which is more expensive? Is it more expensive to concatenate them, or to evaluate the wh

Re: [PHP] Variable variable names...

2001-06-22 Thread Brian Weisenthal
turns out my subject was right on anyone interested check this page out. http://www.phpbuilder.com/manual/language.variables.variable.php ""Brian Weisenthal"" <[EMAIL PROTECTED]> wrote in message 9h02nm$n7c$[EMAIL PROTECTED]">news:9h02nm$n7c$[EMAIL PROTECTED]... > let say i wanted to see

RE: [PHP] Is this a joke?!

2001-06-22 Thread Michael Geier, CDM Systems Admin
I love it... server info: Server: Apache/1.3.19 (Unix) PHP/4.0.4pl1 mod_perl/1.25 -Original Message- From: Fredrik Arild Takle [mailto:[EMAIL PROTECTED]] Sent: Friday, June 22, 2001 9:44 AM To: [EMAIL PROTECTED] Subject: [PHP] Is this a joke?! Is this a joke? http://www.perl.com

[PHP] How to change process permissions?

2001-06-22 Thread Nick
I couldn't find a group FAQ or anything on etiquette to I apologize if this is the incorrect group or whatever. I writing a web based admin panel for myself for my site. My PHP script needs to be able to read, write, and move files around. The way I'm currently getting it to work is by making a d

Re: [PHP] Is this a joke?!

2001-06-22 Thread Henrik Hansen
"Fredrik Arild Takle" <[EMAIL PROTECTED]> wrote: > Is this a joke? > http://www.perl.com/search/index.php nope it's not a joke :) it's pretty nice feature on a perl site :=) -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For a

[PHP] passing arrays

2001-06-22 Thread Jason Jacobs
Hi all.  I'm trying to pass an array to another page, and I'm not having luck.  I thought maybe it would do something slick by passing it in the url, but it doesn't.  So, how can I pass the array?  I've done it before by going through the array and making a hidden input field for each of the

[PHP] Also related....(params)

2001-06-22 Thread Brian Weisenthal
I am trying to create a function that will check if a variable exists, if it does leave it alone, if not create it. This is similar to for those who know cold fusion. Anyone know a good way to deal with this in php4? I just started learning php, im sure someone has had to deal with this for some

RE: [PHP] apache and php ate up all my memory :-[

2001-06-22 Thread Chadwick, Russell
Can you post the information at the header of top like... CPU states: 0.4% user, 0.0% nice, 3.6% system, 0.0% interrupt, 96.1% idle Mem: 47M Active, 147M Inact, 36M Wired, 11M Cache, 35M Buf, 7328K Free Swap: 1024M Total, 144K Used, 1024M Free and also the output of ps waux | grep mysql &&

Re: [PHP] Developer mailing list

2001-06-22 Thread Henrik Hansen
"Julia A. Case" <[EMAIL PROTECTED]> wrote: > Hi, I'm trying to write a module for PHP and need a little help, I went to > http://lists.php.net to see if there was a developer list, but only found the > defualt Apache web page... Can someone direct me in the proper direction? [EMAIL PROTECT

Re: [PHP] resource ID?

2001-06-22 Thread Henrik Hansen
Kurth Bemis <[EMAIL PROTECTED]> wrote: > i get this: > > Resource id #2 > > when i run this code.whats resource id 2 mean? i just want to > know if the query was ok or not > > $result = mysql_query("SELECT authcode FROM users WHERE email='$email'",$db); > echo $result;

[PHP] Variable variable names...

2001-06-22 Thread Brian Weisenthal
let say i wanted to see if a variable existed by the name of $myvar2 . how can i make the '2' come from a variable. so i want to say something like $myvar$othervar .(but obviously that wont work) anyone have a clue? i tried using eval but i couldn't get it right -- PHP General Mailing L

Re: [PHP] Oracle Database keeps disconnecting - or something

2001-06-22 Thread Rouvas Stathis
Do you experience any other sort of problems other than those warnings? I mean, is anything wrong with the data? Normally, nothing should be wrong. I have seen the same messages (especially the "service handle not intitialized" one) in my server too. I have traced it to attemtps to close an alrea

Re: [PHP] Oracle Database keeps disconnecting - or something

2001-06-22 Thread Thies C. Arntzen
On Fri, Jun 22, 2001 at 02:23:14PM +0100, Taylor, Stewart wrote: > Hello, > > Just in case anyones got any ideas. > > I've been testing an application for a few weeks on a test server without > any problems. > After releasing it onto the live server, which is - according to the > administrator

Re: [PHP] session question

2001-06-22 Thread George Whiffen
Derick, If you're seriously looking at thousands of concurent users (let alone millions) and the kind of budget on hardware and comms that implies, then I'd suggest you seriously look at your own session solution with MySQL or whatever. You can perfectly easily just use your own authentication

Re: [PHP] isset($x) fails !

2001-06-22 Thread Chris Lee
need a little more data. how is it failing ? where in what code ? how are you using it ? in what way do you want it to work ? http://php.net/manual/en/function.isset.php -- Chris Lee [EMAIL PROTECTED] ""kaab kaoutar"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PR

Re: [PHP] un-official miror of php.net

2001-06-22 Thread Chris Lee
download the manual from snaps.php.net ALLWAYS has the most current manual. php.net/manual will never be more current then snaps.php.net. php.net/manual will have the comments though. I dont know if php.net will like all those hits of you updating your mirror, email them. -- Chris Lee [EMAIL

Re: [PHP] simple questions about sessions

2001-06-22 Thread Style|warrioR
greetings. Your no [1] question describes exactly the problem I have...and I thought session_is_registered() would do the job...(but I was wrong) ... Now my solution looks like this: session_register("session_uID"); if (isset($session_uID)) { do something; } else { session_destroy(); //

RE: [PHP] SQL statement for clearing a table

2001-06-22 Thread ckieninger
$query = "delete * from table"; table is empty mailto:[EMAIL PROTECTED] -Original Message- From: Wilbert Enserink [mailto:[EMAIL PROTECTED]] Sent: Freitag, 22. Juni 2001 14:18 To: [EMAIL PROTECTED] Subject: [PHP] SQL statement for clearing a table Hi all, anybody knows the mysql sta

Re: [PHP] How to connect to remote database server through PHP?

2001-06-22 Thread George Whiffen
Manisha, For the Sybase network connections, you are probably best off contacting Sybase specialists. php via the sybase_connect function is likely to look like any other Sybase client on a remote box, so the question is mostly about how do you get any Sybase client on your web server to commu

[PHP] gd library

2001-06-22 Thread Julia A. Case
This message never showed up on the list so I appologize if it shows up 2x. I have a customer that wants to use the gd library with PHP, I got 2 different versions (1.3.8 and 2.0.1) and both say that they no longer support GIF formats... but when I try to compile the ext/gd/gd.c file I get err

Re: [PHP] PHP authenticating and session management

2001-06-22 Thread Style|warrioR
interesting question! I'm also interested in it, cause I read somwhere that its possible to "kidnap" sessions... "Bass???" <[EMAIL PROTECTED]> schrieb in im Newsbeitrag: 9gvt89$pi5$[EMAIL PROTECTED] > I have a Q. > will the Session ID be stolen by hacker when the ID tranfer bewteen client > an

Re: [PHP] PHP authenticating and session management

2001-06-22 Thread stylewarrior
no, it works also if your user has cookies disabled. "Jaxon" <[EMAIL PROTECTED]> schrieb in im Newsbeitrag: [EMAIL PROTECTED] > Does this depend on cookies? > > regards, > jaxon > > > > -Original Message- > > From: Style|warrioR [mailto:[EMAIL PROTECTED]] > > Sent: Friday, June 22, 200

[PHP] Is there a user group in Colorado?

2001-06-22 Thread Unni
Is there a user group in Colorado? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

RE: [PHP] SQL statement for clearing a table

2001-06-22 Thread Merio, Quinn
isn't it, DELETE FROM tablename; q. -Original Message- From: Wilbert Enserink [mailto:[EMAIL PROTECTED]] Sent: Friday, June 22, 2001 6:18 AM To: [EMAIL PROTECTED] Subject: [PHP] SQL statement for clearing a table Hi all, anybody knows the mysql statement for clearing the contents o

Re: [PHP] General Coding Question

2001-06-22 Thread George Whiffen
And what about the third option using single quotes on the outside i.e. print ' 20){print '40';} else {print '20';}?> VALUE= etc.. rather than my normal style which would be : print ' > im here to start a flamewar. > > dont use " then. why not use ' ? > > echo " > >

RE: [PHP] SQL statement for clearing a table

2001-06-22 Thread Balak, Frank
delete from tablename -Original Message- From: Wilbert Enserink [mailto:[EMAIL PROTECTED]] Sent: Friday, June 22, 2001 07:18 To: [EMAIL PROTECTED] Subject: [PHP] SQL statement for clearing a table Hi all, anybody knows the mysql statement for clearing the contents of a table and lievin

Re: [PHP] PHP authenticating and session management

2001-06-22 Thread Bass???
I have a Q. will the Session ID be stolen by hacker when the ID tranfer bewteen client and server ? Then can the hacker send the ID to server and veiw the user's page ? "Jason Stechschulte" <[EMAIL PROTECTED]> ? [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Fri, Jun 22, 2001 at 08:59:54A

[PHP] un-official miror of php.net

2001-06-22 Thread Reuben D Budiardja
Hi, Is it allowed to be an un-official mirror of php.net? I mean, I want to have php.net site on my local webserver, but it's mainly for the use of our own development group (intranet), ie. not publicly available, and not to be listed in the list of php.net mirror. I'm mostly interested to h

Re: [PHP] toronto developers?

2001-06-22 Thread Mindy Wallen
""J Smith"" <[EMAIL PROTECTED]> wrote in message 9gvnfr$ukj$[EMAIL PROTECTED]">news:9gvnfr$ukj$[EMAIL PROTECTED]... > I don't know if there's a PHP developer community here, but I'm an > individual > who doesn't mind sharing a bit of knowledge. > J There is a PHP dev newsgroup. You can find it

[PHP] MySQL Dump In PHP

2001-06-22 Thread Chris Anderson
I've been reading through the MySQL manual about backing up my database using mysql dump. I tried passing it as a Query in PHP but that doesn't seem to work. Does anyone know how to do this? Also does the dump back up the files into a directory I specify? I am on a virtual host and need to c

Re: [PHP] SQL statement for clearing a table

2001-06-22 Thread py
if you have a numbered primary key, delete from table where primary_key > 0 ? (to be handled with care) py - Original Message - From: Wilbert Enserink <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 22, 2001 1:17 PM Subject: [PHP] SQL statement for clearing a table >

[PHP] Re: [phplib] Oracle Database keeps disconnecting - or something

2001-06-22 Thread Thies C. Arntzen
On Fri, Jun 22, 2001 at 02:26:43PM +0100, Taylor, Stewart wrote: > Hello, > > Just in case anyones got any ideas. > > I've been testing an application for a few weeks on a test server without > any problems. > After releasing it onto the live server, which is - according to the > administrator

[PHP] isset($x) fails !

2001-06-22 Thread kaab kaoutar
Hi! isset() fails :( i peeferd using it so as not to use session_start() when the guy is not logged ! _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- PHP General Mailing List (http://www.ph

RE: [PHP] SQL statement for clearing a table

2001-06-22 Thread Jason Lustig
This SQL statement: "DELETE FROM myTable;" That should work... pretty much, unless you give a WHERE statement, it will do whatever you want (UPDATE, SELECT, DELETE, etc) to every record in the table. --Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PRO

Re: [PHP] SQL statement for clearing a table

2001-06-22 Thread Julia A. Case
try delete from table; Julia Quoting Wilbert Enserink ([EMAIL PROTECTED]): > Hi all, > > anybody knows the mysql statement for clearing the contents of a table and > lieving the table itself intact? > > Wilbert > > - > Pas de Deux > Van Mierisstraat 25 > 2526 NM Den

RE: [PHP] Sessions vs Cookies?

2001-06-22 Thread Christopher Ostmo
Jason Murray pressed the little lettered thingies in this order... > > I am about to write a new admin system for a website I do and > > it will have many different logins. I was wondering overall which > > most of you thought would be better for such a thing? Wants really > > a pro about sess

Re: [PHP] SQL statement for clearing a table

2001-06-22 Thread Adam Wright
DELETE FROM table_name; adamw - Original Message - From: "Wilbert Enserink" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 22, 2001 1:17 PM Subject: [PHP] SQL statement for clearing a table > Hi all, > > anybody knows the mysql statement for clearing the contents of a t

[PHP] recompiling libphp4.so with -DEAPI

2001-06-22 Thread Tyler Longren
Hello, I recompiled php/apache/openssl/mod_ssl yesterday on a server (exact same as I had done it before). Before apache started up with SSL with no problem. Now when I start (./apachectl startssl), I get this warning: [Fri Jun 22 10:59:03 2001] [warn] Loaded DSO libexec/libphp4.so uses plain Ap

RE: [PHP] informations

2001-06-22 Thread Jamie Thompson
i think you be sendering this to the wrongs peepel. -Original Message- From: Mihailescu Emil [mailto:[EMAIL PROTECTED]] Sent: 21 June 2001 04:52 To: [EMAIL PROTECTED] Subject: [PHP] informations Sir/Madame Please allow me to introduce myself. My name is Mihailescu Emi. I am sales man

Re: [PHP] OT Re: http 1.0 1.1 info

2001-06-22 Thread rm
> it's not the equivalent of 'HTTP for Dummies' :-) funny thing...after your message, I went to a search engine ran a search for http protocol dummies...found what I needed ken __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail

Re: [PHP] Safe_mode in certain directories

2001-06-22 Thread Egan
On Thu, 21 Jun 2001 14:35:50 -0700 (PDT), Rasmus Lerdorf <[EMAIL PROTECTED]> wrote: >If you are using Apache you can set any PHP directive in >or block by doing something like: > > php_admin_flag safe_mode On Do those directives work in .htaccess files too? -- PHP General Mailing List (

Re: [PHP] protected Images without using htaccess

2001-06-22 Thread Fredrik Arild Takle
added the wrong script... arghh... ""Fredrik Arild Takle"" <[EMAIL PROTECTED]> wrote in message 9gvl19$er6$[EMAIL PROTECTED]">news:9gvl19$er6$[EMAIL PROTECTED]... > 1. Authenticate user > 2. Put the pictures in a "secret" folder or outside http_root > 3. Do this: > >header("Content-Type: ap

Re: [PHP] toronto developers?

2001-06-22 Thread J Smith
I don't know if there's a PHP developer community here, but I'm an individual who doesn't mind sharing a bit of knowledge. I started working in TO back in March. I'm working for a tiny company as their sole coder, doing stuff all over the board -- C, C++, Perl, PHP. Most of it is PHP, but I've wr

[PHP] compiling with the gd library

2001-06-22 Thread Julia A. Case
I have a client that wants to have the gd library compiled into php, I got a modern version of the gd lib (1.8.4 and 2.0.1) and both state that they dropped support for gifs... but the ext/gd/gd.c tries to use gif calls... I'm confused. Julia -- [ Julia Anne Case ] [Ships are safe

[PHP] simple questions about sessions

2001-06-22 Thread kaab kaoutar
Hi! 1- is there a way with which i can verify that a session variable is registered or exists without using start_session cause if it's not registered and there is no session it'll create the session ! i tried isset() but if it's set i have to use start_session so as to get the values and as

Re: [PHP] protected Images without using htaccess

2001-06-22 Thread Chris Lee
you are so close .. store the images outside the http root. have a php page verify the user and use header('content-type: image.jpeg'); readfile('/tmp/image.jpg'); there ya go. its the only way i can see. -- Chris Lee [EMAIL PROTECTED] ""Arash Dejkam"" <[EMAIL PROTECTED]> wrote in messag

[PHP] Is it possible to have the parameters fo a function be exited HTML?

2001-06-22 Thread Jason Lustig
Is it possible to break up the parameters of a function with ?> and http://www.php.net";>php.net With this example, will it output the following HTML? HTTP://WWW.PHP.NET";>PHP.NET I know i

[PHP] Is this a joke?!

2001-06-22 Thread Fredrik Arild Takle
Is this a joke? http://www.perl.com/search/index.php *hehe* -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] Error messages

2001-06-22 Thread enygma
A lot of times, it will tell you what kind of error it isif it's a parse error, the first thing to look for is a missing semi-colon or something. Other than that, braces and parens are the ones that I miss the most. It's just a limitation of the PHP debugger right now. It might be fixed in lat

Re: [PHP] protected Images without using htaccess

2001-06-22 Thread Fredrik Arild Takle
1. Authenticate user 2. Put the pictures in a "secret" folder or outside http_root 3. Do this: I hope this helps! Fredrik A. Takle [EMAIL PROTECTED] www.iportal1.com ""Arash Dejkam"" <[EMAIL PROTECTED]> wrote in message 9gvk5g$8o0$[EMAIL PROTECTED]">news:9gvk5g$8o0$[EMAIL PROTECTED]... > Hi,

Re: [PHP] confused with sessions

2001-06-22 Thread Chris Lee
trans_sid is only enabled when cookies are not supported. php.ini has session.use_cookies = 0; this will disable cookies and force trans-sid. you should also verify trans-sid with phpinfo(), make sure it really did get compiled in. trans-sid will only re-write urls that are not full urls. ie. in

[PHP] protected Images without using htaccess

2001-06-22 Thread Arash Dejkam
Hi, I'm going to make a page in which users (being authenticated by PHP session management) upload pictures and specify which other users can see those pictures, and I want all the process be automated, and I don't want to use Apache protection on directories, now I have a problem: if I store ima

Re: [PHP] php as cron

2001-06-22 Thread infoz
If you're partial to the approach of using a web-based program to do this (often a bad idea, for security reasons) then look at 'curl' or 'wget' instead of 'lynx'. (you can find them on Freshmeat.net) Much better is to build the CGI version of PHP, and use PHP as a script processor just like Perl

RE: [PHP] php as cron

2001-06-22 Thread Jean-Arthur Silve
Why don't you put directly this line in your cron file ? i.e : 00 03 * * * lynx -dump http://192.168.254.10/pop3/pop3_stuff2.php3 for daily 3.00 AM jean-arthur At 09:28 22/06/01 +0100, AJDIN BRANDIC wrote: >Hi again, > >this is what I have done, as adviced by you guys (thanks) > >created a

[PHP] apache and php ate up all my memory :-[

2001-06-22 Thread Sebastian Stadtlich
Hi all Probably some Apache/mysql/php-Admin gurus can give me a hint : i just moved a website to it's own server ( my first one). now apache had eaten up all physical and virtual memory some httpd had allocated 45MB of RAM, memory ran out myqsl crashed... php is compiled in to apache Apache/1.3

RE: [PHP] PHP authenticating and session management

2001-06-22 Thread Jaxon
Does this depend on cookies? regards, jaxon > -Original Message- > From: Style|warrioR [mailto:[EMAIL PROTECTED]] > Sent: Friday, June 22, 2001 5:09 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] PHP authenticating and session management > > > I'm not quite sure if this is the perfect

[PHP] Error messages

2001-06-22 Thread Coughlan, Andy-HQ
Title: Error messages Hi Guys and Gals, Whilst developing various php pages I noticed that occasionally when I get an error in a page the parser won't tell me which line the error is on, and just shows "error on line 1" even if the error is on line 93.  It isn't every page that does it, alth

[PHP] Oracle Database keeps disconnecting - or something

2001-06-22 Thread Taylor, Stewart
Hello, Just in case anyones got any ideas. I've been testing an application for a few weeks on a test server without any problems. After releasing it onto the live server, which is - according to the administrator - setup exactly the same as the test server I've been running into problems. A

[PHP] Oracle Database keeps disconnecting - or something

2001-06-22 Thread Taylor, Stewart
Hello, Just in case anyones got any ideas. I've been testing an application for a few weeks on a test server without any problems. After releasing it onto the live server, which is - according to the administrator - setup exactly the same as the test server I've been running into problems. A

Re: Re[2]: [PHP] php as cron

2001-06-22 Thread lenar
> I have had the same problem in some debian installations. > As far as I investigaed, it possibly has to deal with the TERM > parameter but finally I did solve the problem installing also a > copiled version of PHP an calling it like: > > * * * * * php /var/www/path/to/script.php This m

Re: [PHP] SQL statement for clearing a table

2001-06-22 Thread lenar
DELETE FROM tablename or TRUNCATE TABLE tablename lenar. ""Wilbert Enserink"" <[EMAIL PROTECTED]> wrote in message 001101c0fb15$5daa49e0$[EMAIL PROTECTED]">news:001101c0fb15$5daa49e0$[EMAIL PROTECTED]... > Hi all, > > anybody knows the mysql statement for clearing the contents of a table and

Re[2]: [PHP] php as cron

2001-06-22 Thread Gianluca Baldo
AB> If I execute this from the shell ./pop it works OK. AB> But as a cron job I get an error message sent to my mail box AB> "Your terminal lacks the ability to clear the screen or position the AB> cursor.", AB> hence this 'clear' bit in my script to try to sort the problem but no joy. I have ha

[PHP] PHP UK Usergroup Meeting

2001-06-22 Thread James Moore
Hi all, Just a note for those in the UK about the next PHP UK meeting. Information can be found here: http://www.phpuk.org/meetings.php The day promises to be interesting, as well as a good chance to meet other PHP users in the UK and most of all enjoy yourselves. If you are interested in comi

Re: [PHP] PHP authenticating and session management

2001-06-22 Thread Jason Stechschulte
On Fri, Jun 22, 2001 at 08:59:54AM +0430, Arash Dejkam wrote: > simply check $username and bring up the user's page ? but this makes it > possible for any hacker to send a cookie with username and see that page. I > know that PHP stores a unique random number for each session but how can I > check

[PHP] SQL statement for clearing a table

2001-06-22 Thread Wilbert Enserink
Hi all, anybody knows the mysql statement for clearing the contents of a table and lieving the table itself intact? Wilbert - Pas de Deux Van Mierisstraat 25 2526 NM Den Haag tel 070 4450855 fax 070 4450852 http://www.pdd.nl [EMAIL PROTECTED] - -

Re: [PHP] PHP + Oracle + OCIPLogon

2001-06-22 Thread Lucas Persona
Greetings! "Thies C. Arntzen" wrote: > On Thu, Jun 21, 2001 at 09:32:31PM +0300, Rouvas Stathis wrote: > > This has happened with other applications that I have experimented with. > > The "lingering connections" problem is with us at least since PHP.3.0.12 > > (which the first version of PHP I tr

[PHP] informations

2001-06-22 Thread Mihailescu Emil
Sir/Madame Please allow me to introduce myself. My name is Mihailescu Emi. I am sales manager at Romcomp SRL and I am contacting you in behalf of the firm. We are a computer sellers company from Romania and we are interested to buy Intel Pentium III @ 933 MHz processors not boxed(tray) and

RE: [PHP] how to pass PhP variables thru HREF command

2001-06-22 Thread Andrew Kirilenko
Hello! Yes, you are right. And ou can get passed values in the predication.php via: global $HTTP_GET_VARS; $hometeam = $HTTP_GET_VARS["hometeam"]; $awayteam = $HTTP_GET_VARS["awayteam"]; Best regards, Andrew Kirilenko, Seniour Programmer / System Administrator, Internet Service. -Original M

Re: [PHP] Re: PHP authenticating and session management

2001-06-22 Thread Arash Dejkam
Hi, Thank you very much, you gave me the lines I was looking for in the 7-8 tutorials I read in last 48 hour to find and I didn't :) Dejkam http://www.dejkam.f2s.com ""Stephen Yau"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > You can use $HTTP_SE

[PHP] confused with sessions

2001-06-22 Thread kaab kaoutar
Hi! I'm confused with these sessions :( well here is what i want to do! I have a web site whos pages are all composed of frames(4)! and in the top frame i have the loggin button! i want , once the user logged, the fees that are in pages (frames) become visible and once logged out, the fees likns

[PHP] OCIExecute hangs with invalid sql statement

2001-06-22 Thread Euan Greig
The following code works fine if passed a valid sql statement in $sql, but if not it hangs. $this->conn=OCIPLogon($orauser,$orapwd,$tns) or die ("Could not log on to database"); $this->stmnt = OCIParse($this->conn, $sql) or die ("Could not initialize database query (parse)"); $result = OCIE

Re: [PHP] PHP + Oracle + OCIPLogon

2001-06-22 Thread Rouvas Stathis
"Thies C. Arntzen" wrote: > > On Fri, Jun 22, 2001 at 02:47:39AM +0300, Rouvas Stathis wrote: > > "Thies C. Arntzen" wrote: > > > please send me a "minimal" testcase that shows this > > > behaviour! i'll look into that then. > > > > I said that I'll have it on Monday, but curiosity got th

[PHP] MySQL - get_lock() / release_lock()

2001-06-22 Thread Carsten H. Pedersen
Does anyone know the status on implementing MySQL's client functions get_lock() and release_lock() in PHP? The functions have been around since MySQL 3.21.27 was released in March 1998. Maybe it's about time to get it into PHP as well? / Carsten -- PHP General Mailing List (http://www.php.net

RE: [PHP] SMTP/mail question

2001-06-22 Thread mailing_list
Hi! I did it! once again what I wanted to do: I wanted to send a mail, but use "MAIL FROM:" and "RCPT TO:" from the SMTP-Protocol and check, if the domain is accepted (nslookup MX)! I had a perl script, that does this trick. Unfortunately the php-mail() can't do a "RCPT TO:" and "MAIL FROM:" exp

[PHP] Re: PHP authenticating and session management

2001-06-22 Thread Stephen Yau
Hi, You can use $HTTP_SESSION_VARS["username"] to make sure that this variable is from the user session, not from the cookie. When you do a session_register("username");, the $username is store in the server side, not on the client. The client side only have a Session ID store in the cooki

[PHP] end optimizer on php4.07-dev

2001-06-22 Thread idban secandri
anyone has try it? its compatible? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] CGI Error when processing form

2001-06-22 Thread Markus Kühni
We've got the same problem. Did you find a resolution? Thanks, Mark&Mirco ""seth"" <[EMAIL PROTECTED]> wrote in message 9ej8pq$i1n$[EMAIL PROTECTED]">news:9ej8pq$i1n$[EMAIL PROTECTED]... > Hi, > I'm really new to PHP and i'm not too smart!..., I pulled some from code > out of scripts.com for p

[PHP] gabung miling list php.

2001-06-22 Thread Ai Rosita
salam, mohon saya diikutkan bergabung ke miling list PHP. demikian, atas perhatiaanya diucapkan banyak terima kasih. w.w.w. rosita -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

[PHP] zend optimizer on php4.07-dev

2001-06-22 Thread idban secandri
anyone has try it? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] PHP authenticating and session management

2001-06-22 Thread Style|warrioR
I'm not quite sure if this is the perfect way cause I'm pretty new to this session stuff, too. but my version looks like this: [login.php] a form with username and password field. submit --> auth.php [auth.php] check if username and password are ok (from a text file or your mysql database)

  1   2   >