RE: [PHP] Can php works as a scheduler?

2003-01-20 Thread John W. Holmes
> I built a page which will import data from csv files to database, i want > this task to be done automatically at the midnight of each date. > > so does anyone know if there is any function work as similar as Scheduler > in > php? so php will run the script at specific time! You can do what you

Re: [PHP] Can php works as a scheduler?

2003-01-20 Thread Jason k Larson
Unix/Linux use: cron (crontab) Windows use: at HTH, Jason k Larson Jack wrote: Dear all I built a page which will import data from csv files to database, i want this task to be done automatically at the midnight of each date. so does anyone know if there is any function work as similar as Sc

[PHP] Can php works as a scheduler?

2003-01-20 Thread Jack
Dear all I built a page which will import data from csv files to database, i want this task to be done automatically at the midnight of each date. so does anyone know if there is any function work as similar as Scheduler in php? so php will run the script at specific time! Thx a lot Jack [EMAIL P

Re: [PHP] Help with Error, I am Trying!!

2003-01-20 Thread Chris Knipe
if (!$_POST['Team_Name'] || !$_POST['First_Name'] || !$_POST['Last_Name'] || !$_POST['Email'] || !$_POST['Username'] || !$_POST['Password']) header ("location: http://www.ultimatefootballleague.com/Create_Account.htm";); } Change to: if (!$_POST['Team_Name'] || !$_POST['First_Name'] || !$_

RE: [PHP] Help with Error, I am Trying!!

2003-01-20 Thread Henry
you miss a { at first if statement -Original Message- From: Karl James [mailto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 12:28 PM To: php Subject: [PHP] Help with Error, I am Trying!! Parse error: parse error, unexpected '}' in /home/virtual/site12/fst/var/www/html/Crea

[PHP] Help with Error, I am Trying!!

2003-01-20 Thread Karl James
Parse error: parse error, unexpected '}' in /home/virtual/site12/fst/var/www/html/Create_Account.php on line 5 http://www.ultimatefootballleague.com/Create_Account.phps I'm Trying to get the values of the form to echo out and to insert into my managers table. thanks karl -- PHP General

Re: [PHP] is this better or is it still in html?

2003-01-20 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It is better:) On Sunday 19 January 2003 10:59 pm, Karl James wrote: > Karl - -- ~Paul Nicholson Design Specialist @ WebPower Design [EMAIL PROTECTED] www.webpowerdesign.net "The webthe way you want it!" "It said uses Windows 98 or better, so

Re: [PHP] is this better or is it still in html?

2003-01-20 Thread Tom Rogers
Hi, Monday, January 20, 2003, 1:59:17 PM, you wrote: KJ> Karl KJ> -- KJ> PHP General Mailing List (http://www.php.net/) KJ> To unsubscribe, visit: http://www.php.net/unsub.php its fine ... no html if thats what you mean :) -- regards, Tom -- PHP General Mailing List (http://www.php.net/)

RE: [PHP] is this better or is it still in html?

2003-01-20 Thread Henry
i don't get your point -Original Message- From: Karl James [mailto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 11:59 AM To: php Subject: [PHP] is this better or is it still in html? Karl -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:/

[PHP] is this better or is it still in html?

2003-01-20 Thread Karl James
Karl -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mysql_connect error

2003-01-20 Thread Chris Shiflett
--- Tom Ray <[EMAIL PROTECTED]> wrote: > Can someone please tell me why I'm getting this error: > > *Fatal error*: Call to undefined function: > mysql_connect() in > */webs/tom/www.bohabcentral.com/www/bohabs/auth.php* on > line *4 > > *mysql_connect was working a week or so ago, and I > haven't

[PHP] mysql_connect error

2003-01-20 Thread Tom Ray
Can someone please tell me why I'm getting this error: *Fatal error*: Call to undefined function: mysql_connect() in */webs/tom/www.bohabcentral.com/www/bohabs/auth.php* on line *4 *mysql_connect was working a week or so ago, and I haven't made any changes to the servers configuration. If som

Re: [PHP] Header Error message i think!!

2003-01-20 Thread Chris Shiflett
--- Justin French <[EMAIL PROTECTED]> wrote: > PLEASE don't post in HTML/Rich Text > > sheeesh! > > Justin Agreed. Also, please quit asking the same question. I answered this one already, and I think someone else did as well. If you are still having trouble after reading our answers, at least le

Re: [PHP] Header Error message i think!!

2003-01-20 Thread Justin French
PLEASE don't post in HTML/Rich Text sheeesh! Justin on 20/01/03 2:18 PM, Karl James ([EMAIL PROTECTED]) wrote: > http://www.ultimatefootballleague.com/Create_Account.phps > > > > Warning: Cannot add header information - headers already sent by (output > started at /home/virtual/site12/fst/v

[PHP] problemas con php y pws..solo veo código

2003-01-20 Thread Rot Alvarez
Gracias a los q me han respondido. Si cacho los http://www.exploraiquique.cl _ Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, POP & more! http://www.everyone.net/selectmail?campaign=tag -- PHP G

[PHP] Header Error message i think!!

2003-01-20 Thread Karl James
http://www.ultimatefootballleague.com/Create_Account.phps   Warning: Cannot add header information - headers already sent by (output started at /home/virtual/site12/fst/var/www/html/Create_Account.php:2) in /home/virtual/site12/fst/var/www/html/Create_Account.php on line 4 I cant figure this

RE: [PHP] Time code!!!

2003-01-20 Thread David Freeman
Hi Karl First up, would you mind posting your messages in plain text instead of html format? It's just a courtesy to the rest of us. > does anyone have the code to where i can have the time > printed on my home page like for example > > Monday, January 19, 2003 Sure, check out the date() fu

RE: [PHP] getting green screen

2003-01-20 Thread Martin Towell
Hi Martin Post some code snippets and the resultant output for us to look at Martin (To confuse things ) > -Original Message- > From: martin [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 21, 2003 1:43 PM > To: [EMAIL PROTECTED] > Subject: [PHP] getting green screen > > > Hi, > I'

[PHP] getting green screen

2003-01-20 Thread martin
Hi, I'm somtimes getting a green screen after a PHP-app (green background and backslashes in front of "'"-signes. When reloading this outputpage, the normal lay-out without backslashes is visible. Why does this happen? Can I prevent it? Martin -- PHP General Mailing List (http://www.php.net/)

[PHP] Re: Warning: ifx_connect: E [SQLSTATE=IX 001 SQLCODE=-1829]

2003-01-20 Thread Jeff Bluemel
ok everybody, I felt like I kind of had a brain fart... *blush* it dawned on my that some of the informix environment variables may not have been getting set. I added the following to the script I wrote, and it fixed the problem; export INFORMIXDIR=/opt/informix export ODBCINI=/usr/local/etc/od

[PHP] RE: JOIN for FREE ... Learn and Earn

2003-01-20 Thread Michael Smith
Balogne. Should I say more? -Michael Smith --- Today's True Quotes for InDUHviduals: Some people's minds are like cement: all mixed up and permanently set... -Original Message- From: Charles Cedeno [mailto:[EMAIL P

[PHP] Warning: ifx_connect: E [SQLSTATE=IX 001 SQLCODE=-1829]

2003-01-20 Thread Jeff Bluemel
I get this error on reboot, and I keep getting this error unless I restart apache. now, I've tried putting pauses in to make apache wait to start (using scripts & sleep commands), but I keep having this problem unless I log into the system & restart it. does anybody know the possible cause to thi

Re: [PHP] Time code!!!

2003-01-20 Thread Larry E. Ullman
does anyone have the code to where i can have the time printed on my home page like for example  Monday, January 19, 2003 The PHP Manual has this code, under the date() function (www.php.net/date). echo date ("l, F j, Y");  also I want to have it state when the users login in it says welcome b

RE: [PHP] What is PHP-equivalent of ASP's RESPONSE.REDIRECT feature ?

2003-01-20 Thread John W. Holmes
> I am converting an ASP page to PHP and have difficulties in using PHP > since > I am new to it. I have an ASP code that would redirect page-viewer to > respective page base on the input entered by viewer. How do I do this > using > PHP? Also, in ASP, there are features like Server.Transfer and >

Re: [PHP] Time code!!!

2003-01-20 Thread Justin French
Please post in raw text, not HTML. look in the manual to decide what format you need to replace 'd m y' with: http://php.net/date The welcome back bit all depends on cookies, sessions, how your login scripts work, etc etc. Justin on 20/01/03 12:46 PM, Karl James ([EMAIL PROTECTED]) wrote:

Re: [PHP] PHP & Sessions generates Segment Faults

2003-01-20 Thread Justin French
Hi, I had this problem a few weeks back. The host changed the sessions from 'mm' to 'files' in php.ini and restarted, and all was ok... not sure of the reasons behind the faults, but I had this EXACT problem (with standard session stuff). Justin on 21/01/03 2:29 AM, Blaster ([EMAIL PROTECTED

[PHP] Time code!!!

2003-01-20 Thread Karl James
does anyone have the code to where i can have the time printed on my home page like for example     Monday, January 19, 2003   also I want to have it state when the users login in it says welcome back, (name)   any advise would be fantastic?   Thanks Karl __

RE: [PHP] a regular expression problem - split text

2003-01-20 Thread John W. Holmes
> I have a text like this: > > $text=" this is January this is February > this is March this is April "; > > OK.. i want to show e.g. "this is January" in my var $sub_text. > > How can i doing this using a regular expressions? This seems to work. preg_match_all("/([a-z ]+)/i",$text,$matche

Re: [PHP] Cannot show reuploaded image file on page unless manualrefresh

2003-01-20 Thread Chris Wesley
On Mon, 20 Jan 2003, Phil Powell wrote: > I am using the following header() functions to force view.php to not cache: > > 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"); > header("Cache-Control: no-store, no-

Re: [PHP] login script fix help needed

2003-01-20 Thread Chris Shiflett
--- Karl James <[EMAIL PROTECTED]> wrote: > Warning: Cannot add header information - headers already > sent by (output started at > /home/virtual/site12/fst/var/www/html/Create_Account.php:8) > in /home/virtual/site12/fst/var/www/html/Create_Account.php > on line 10 This means you have something o

[PHP] PHP & Sessions generates Segment Faults

2003-01-20 Thread Blaster
Hi OS: Debian Linux (Woody), kernel 2.2.20 PHP: v4.1.2 I'm having some troubles with my sessions, when the page is sent to the visitor, it sometimes stops after ½ the page or so. 90% of the times, it works perfectly to visit the page, so this appears to be totally random. However, I have reaso

[PHP] What is PHP-equivalent of ASP's RESPONSE.REDIRECT feature ?

2003-01-20 Thread Jane Mawson
I am converting an ASP page to PHP and have difficulties in using PHP since I am new to it. I have an ASP code that would redirect page-viewer to respective page base on the input entered by viewer. How do I do this using PHP? Also, in ASP, there are features like Server.Transfer and Server.Execute

[PHP] file uploads received, but mangled

2003-01-20 Thread af
Hi all. I'm having issues uploading files whose names don't necessarily end with the correct extension, in particular text files which don't end in .txt. (Why they don't is complicated, and it's impractical to insist that they must.) The files are received, but altered -- they are prepended w

RE: [PHP] $_POST vars problem

2003-01-20 Thread David Freeman
> On another note, I have found that if I include (and use) > the submit button > everything works perfectly, HOWEVER if I just enter data and > hit return then it messes up. You could try including a hidden submit field like this: For name="submit" change that to whatever name your norm

RE: [PHP] Which country?

2003-01-20 Thread David Freeman
> You could rely somewhat of the time zone codes as you refer > to them, the > only issue is in some parts of the world > this would include 10 countries at a time. But what time zone are you getting? The time zone of the browser? The time zone of the proxy cache that's in a possibly differ

RE: [PHP] login script fix help needed

2003-01-20 Thread Timothy Hitchens \(HiTCHO\)
Move this below to after your php logic: Add a User Timothy Hitchens (HiTCHO) Open Source Consulting e-mail: [EMAIL PROTECTED] -Original Message- From: Karl James [mailto:[EMAIL PROTECTED]] Sent: Monday, 20 January 2003 1:59 PM To: php Subject: [PHP] login script fix help

Re: [PHP] ayuda...solo se ve el código cuandoejecuto los script

2003-01-20 Thread Tracy Finifter Rotton
También, se tiene que tener esta línea en su fichero httpd.conf: AddType application/x-httpd-php .php (donde .php es la extensión que se usa en sus ficheros de PHP) Si no se tiene acceso al fichero httpd.conf, se necesita pedir a su webmaster para hacer este cambio. On 1/20/03 4:39 PM, "R B" <[

[PHP] login script fix help needed

2003-01-20 Thread Karl James
hey guys,   I was wondering if you can see why i cant insert the info into a table,   right now its   Warning: Cannot add header information - headers already sent by (output started at /home/virtual/site12/fst/var/www/html/Create_Account.php:8) in /home/virtual/site12/fst/var/www/html/Creat

Re: [PHP] pop-up problem

2003-01-20 Thread Sean Burlington
Chris Shiflett wrote: --- Mark McCulligh <[EMAIL PROTECTED]> wrote: I wish people won't miss use features for people start blocking them. I am using the window.open the way it was meant for. I have a online help feature. I am not using it a force people to look at banner after banner. I kn

Re: [PHP] ayuda...solo se ve el código cuando ejecuto los script

2003-01-20 Thread R B
Tenes el codigo PHP entre ... ? Ej.: From: Rot Alvarez <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [PHP] ayuda...solo se ve el código cuando ejecuto losscript Date: Mon, 20 Jan 2003 09:20:51 -0800 (PST) Subo los script y solo veo código...q puedo ha

Re: [PHP] pop-up problem

2003-01-20 Thread Jim Lucas
I have found that with the popup stopper that I have installed on my machine, Pop-up Stopper from Panic Ware, that I can't even start up a new instance of IE without it killing the new window. I have netscape 4,6,7 and mozilla installed on my machine and it won't allow me to start up more then one

Re: [PHP] Re: Cannot show reuploaded image file on page unless manual refresh

2003-01-20 Thread Jim Lucas
i think you missunderstood what I said. in the image tag that you create to display the image, you could do this that would make the URL different when each page time the image was replaced. I would use filetime() because it would not cause extra downloads if the file wasn't different. if som

Re: [PHP] pop-up problem

2003-01-20 Thread Mark McCulligh
Thanks for the advise, I am doing to change the way I call the popup, move it out of a function, right into the tag itself. To see if the one client I have popup killer app lets it happen now. Thanks again, Mark. - Original Message - From: "Step Schwarz" <[EMAIL PROTECTED]> To: "Mark McC

[PHP] Re: Cannot show reuploaded image file on page unless manual refresh

2003-01-20 Thread Phil Powell
Tried that too, dude.. now the files are replicating themselves in the /profile/images folder! I am supposed to delete the old file and replace it with the new file, but instead I have old file & new file, and the association between profile and image is incorrect. Phil "Philip Hallstrom" <[EMAI

[PHP] Re: Cannot show reuploaded image file on page unless manual refresh

2003-01-20 Thread Philip Hallstrom
I wonder if appending time() would be better... granular to a second and you save the filesystem lookup effort?? On Mon, 20 Jan 2003, Jim Lucas wrote: > I would add the modification time of the file in question with > > filetime($filename); > > that way you will be sure to get a unique argurment.

Re: [PHP] Cannot show reuploaded image file on page unless manual refresh

2003-01-20 Thread Jim Lucas
I would add the modification time of the file in question with filetime($filename); that way you will be sure to get a unique argurment. Jim - Original Message - From: <[EMAIL PROTECTED]> To: "Chris Shiflett" <[EMAIL PROTECTED]> Cc: "Phil Powell" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>

Re: [PHP] pop-up problem

2003-01-20 Thread Step Schwarz
on 1/20/03 4:47 PM, Mark McCulligh at [EMAIL PROTECTED] wrote: > What does IE do? Hi Mark, IE, as far as I know, doesn't have any built-in pop-up killer. Pop-up killers generally only block pop-ups that either weren't requested by the visitor -- that is, no link was clicked -- or that reside on

[PHP] Free PHP Hosting - Answered

2003-01-20 Thread Timothy Hitchens \(HiTCHO\)
We seem to get one every week of people asking about free PHP hosting so I went looking for all those people and found this off the link section from php.net: http://www.oinko.net/freephp/ Timothy Hitchens (HiTCHO) Open Source Consulting e-mail: [EMAIL PROTECTED] -- PHP General Mailing List

Re: [PHP] Cannot show reuploaded image file on page unless manual refresh

2003-01-20 Thread Phil Powell
Dude, your solution failed! :( The image STILL caches even though on the server end it's deleted!! Even with a RANDOM string tacked on it STILL caches!!! Phil <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Aha! Something I can chime in on. I happened

[PHP] a regular expression problem - split text

2003-01-20 Thread Juan Pablo Aqueveque
Hi all I am sorry for the very simple question but I can't doing this. I have a text like this: $text=" this is January this is February this is March this is April "; OK.. i want to show e.g. "this is January" in my var $sub_text. How can i doing this using a regular expressions? ereg(

Re: [PHP] files no longer upload!

2003-01-20 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 sure...we could look at your code if you showed it to us. Other than seeing it I'd say check 'register_globals'... HTH! ~Paul On Monday 20 January 2003 05:27 pm, Phil Powell wrote: > I'm having a day, gang! > > I have done nothing to my code and now i

Re: [PHP] Cannot show reuploaded image file on page unless manualrefresh

2003-01-20 Thread ed
Aha! Something I can chime in on. I happened across the same scenario a few months back. The list helped me then so I'll give back. Call the image using a random identifier. $rand = rand(1000, ); echo "http://someurl.com/image.jpg?$rand";; Since the browser will more than likely not have

Re: [PHP] Cannot show reuploaded image file on page unless manual refresh

2003-01-20 Thread Chris Shiflett
--- Phil Powell <[EMAIL PROTECTED]> wrote: > Chris, that made no sense to me at all! Sorry. :-) > How in the world could an HTTP-RESPONSE send back a > cached .jpg file that no longer exists on the server > end? That's impossible, unless the entire page is > cached. Now, how do I ensure that view

[PHP] files no longer upload!

2003-01-20 Thread Phil Powell
I'm having a day, gang! I have done nothing to my code and now is_uploaded_file is constantly false, even when uploading a file every time. I dunno what to do, would someone want to look at my code and tell me what I did wrong; I'm out of ideas. Phil

Re: [PHP] How know how many sessions are active?

2003-01-20 Thread Justin French
on 21/01/03 9:12 AM, Jeremías Grunge ([EMAIL PROTECTED]) wrote: > Any examples of call logout.PHP from javascript (I know that's not a > Scripting forum) I already told you! Pop-up a new window with javascript on window close, with the URL 'logout.php'. If you need more than that, best find a ja

RE: [PHP] Which country?

2003-01-20 Thread Timothy Hitchens \(HiTCHO\)
You could rely somewhat of the time zone codes as you refer to them, the only issue is in some parts of the world this would include 10 countries at a time. Timothy Hitchens (HiTCHO) Open Source Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: -<[ Rene Brehmer ]>- [mail

Re: [PHP] How know how many sessions are active?

2003-01-20 Thread Jeremías Grunge
I think that the option of a client script is the best if you save sessions in a database. Any examples of call logout.PHP from javascript (I know that's not a Scripting forum) Thanks to everybody "Justin French" <[EMAIL PROTECTED]> escribió en el mensaje [EMAIL PROTECTED]">news:[EMAIL PROTECTE

Re: [PHP] PHP and Sessions?

2003-01-20 Thread Tim Thorburn
Yes, I've also had this script working on PHP 4.0.6 - basically I'm looking for reasons as to why the sessions may not be functioning properly. Right now I'm going line by line through the configuration of PHP on the server that works (4.2.2) and the server that doesn't work (4.1.2) - I'm hopin

RE: [PHP] ayuda...solo se ve el código cuando ejecuto los script

2003-01-20 Thread Ezequiel Sapoznik
Estás guardando el archivo con extensión php?? Ezequiel -Mensaje original- De: Rot Alvarez [mailto:[EMAIL PROTECTED]] Enviado el: Lunes, 20 de Enero de 2003 02:21 p.m. Para: [EMAIL PROTECTED] Asunto: [PHP] ayuda...solo se ve el código cuando ejecuto los script Subo los script y solo ve

Re: [PHP] simple date question

2003-01-20 Thread Justin French
why not just call date('m') to get the month? justin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP and Sessions?

2003-01-20 Thread Justin French
on 21/01/03 8:33 AM, John Nichel ([EMAIL PROTECTED]) wrote: > But he said that it's working in 4.2.2 (default off), but not working in > 4.1.2 (default on). If I remember correctly, > $HTTP_POST_VARS['whatever'] worked before 4.2.x, right? What about > things like $_POST $_SERVER, etc. did those

Re: [PHP] Cannot show reuploaded image file on page unless manual refresh

2003-01-20 Thread Chris Shiflett
--- Phil Powell <[EMAIL PROTECTED]> wrote: > I am using the following header() functions to force > view.php to not cache: > > header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); > header("Last-Modified: " . gmdate("D, d M Y H:i:s") . > " GMT"); > header("Cache-Control: no-store, no-cache, > must-re

Re: [PHP] How know how many sessions are active?

2003-01-20 Thread Justin French
on 21/01/03 2:07 AM, Jeremías Grunge ([EMAIL PROTECTED]) wrote: > Another question > > Do you know a way to close a session when client closes the explorer? > Perhaps with a client script? Apart from what everyone else has said about cookie lifetime, there is probably some javascript foolery you

[PHP] Cannot show reuploaded image file on page unless manual refresh

2003-01-20 Thread Phil Powell
I am using the following header() functions to force view.php to not cache: 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

Re: [PHP] pop-up problem

2003-01-20 Thread Mark McCulligh
What does IE do? "John Nichel" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Right, Mozilla set it up to block pop-ups that were not requested by the > end user. I don't know why Netscape 7 didn't include this with their build. > > Chris Shiflett wrote: > >

Re: [PHP] pop-up problem

2003-01-20 Thread John Nichel
Right, Mozilla set it up to block pop-ups that were not requested by the end user. I don't know why Netscape 7 didn't include this with their build. Chris Shiflett wrote: --- Mark McCulligh <[EMAIL PROTECTED]> wrote: I wish people won't miss use features for people start blocking them. I am u

Re: [PHP] pop-up problem

2003-01-20 Thread Chris Shiflett
--- Mark McCulligh <[EMAIL PROTECTED]> wrote: > I wish people won't miss use features for people start > blocking them. I am using the window.open the way it > was meant for. I have a online help feature. I am not > using it a force people to look at banner after banner. I know exactly what you

Re: [PHP] PHP and Sessions?

2003-01-20 Thread John Nichel
But he said that it's working in 4.2.2 (default off), but not working in 4.1.2 (default on). If I remember correctly, $HTTP_POST_VARS['whatever'] worked before 4.2.x, right? What about things like $_POST $_SERVER, etc. did those work prior to 4.2.0? Sean Burlington wrote: Tim Thorburn wrote:

[PHP] Re: Re: Freshmeat question

2003-01-20 Thread De deco
Thanks Martin. This is great. :) I am not new to programming, just to scripting languages. I have seen that Perl has some high advanced sintaxes for string processing, for example, but I don't know if the same level can also be achieved in PHP...? As for the script below, could I run it inside

Re: [PHP] pop-up problem

2003-01-20 Thread Mark McCulligh
I wish people won't miss use features for people start blocking them. I am using the window.open the way it was meant for. I have a online help feature. I am not using it a force people to look at banner after banner. Mark. > --- Mark McCulligh <[EMAIL PROTECTED]> wrote: > > I was wondering if

Re: [PHP] Sql server -- trusted connection

2003-01-20 Thread Lowell Allen
> From: "Daniel Masson" <[EMAIL PROTECTED]> > > I need help on this urgently. > > I need to connect to a ms sql server usgin windows autentication on a > win 2000 box and IIS 5, i cant switch sql server to windows and sql > authentication, .. I really need to know hot to connect. I know very lit

Re: [PHP] Change base url

2003-01-20 Thread Chris Shiflett
--- Jeremías Grunge <[EMAIL PROTECTED]> wrote: > I've a few of scrcripts in a directory > $baseurl/PHP/scripts.PHP > > And I want to include these a script in a diferent dir > example $baseurl/otherDir/otherscript.PHP but the > includes that are on the $baseurl/PHP/scripts.PHP now > referrer to $b

Re: [PHP] pop-up problem

2003-01-20 Thread Chris Shiflett
--- Mark McCulligh <[EMAIL PROTECTED]> wrote: > I was wondering if anyone knows of a way to > create a pop-up using PHP or other language to > do the same thing as JavaScript window.open > method. I have an app that uses the JavaScript > popup but now with those popup stopper it will > not always w

[PHP] Sql server -- trusted connection

2003-01-20 Thread Daniel Masson
Hello list. I need help on this urgently. I need to connect to a ms sql server usgin windows autentication on a win 2000 box and IIS 5, i cant switch sql server to windows and sql authentication, .. I really need to know hot to connect. Thanks Daniel E Massón. Ingeniero de desarrollo [EMAIL PR

[PHP] pop-up problem

2003-01-20 Thread Mark McCulligh
I was wondering if anyone knows of a way to create a pop-up using PHP or other language to do the same thing as JavaScript window.open method. I have an app that uses the JavaScript popup but now with those popup stopper it will not always work. For I am looking for another way of creating popups

Re: [PHP] Which country?

2003-01-20 Thread -<[ Rene Brehmer ]>-
Hi Timothy Hitchens (HiTCHO), Can't you also, atleast in IE, also ask the browser what country the user is in??? I believe IE has a variable that takes from the regional settings, which covers language and format info for numbers ... but not sure you can pull it from the web though the MSDN l

Re: [PHP] Re: Job Opportunity

2003-01-20 Thread Marco Tabini
Don't apologize... pass the job offers around instead ;-) My Evolution has decided that I don't have a Calendar anymore. No matter how hard I try. *sigh* Cheers, Marco On Mon, 2003-01-20 at 13:53, Ray Hunter wrote: > I apologize everyone...evolution is going crazy... > > Ray -- Marco Tabini

Re: [PHP] Select multiple boxes

2003-01-20 Thread Sean Burlington
John W. Holmes wrote: use [] in your select box name. When it comes back in the $_POST array you will have an array of options. It breaks HTML standard No, it does not break HTML standards -- that is a PHP urban myth (which, to my chagrin, I helped to propagate before a wiser head sent m

Re: [PHP] Re: Job Opportunity

2003-01-20 Thread Ray Hunter
I apologize everyone...evolution is going crazy... Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Loop inside a table

2003-01-20 Thread Chris Shiflett
--- Cesar Aracena <[EMAIL PROTECTED]> wrote: > $message = " > > > > title goes here > > > ". > for ($x = 0; $x < $num_rows; $x++) > { > //several lines made dynamically > } > .." > > ; Try something like this instead, if you want all of your HTML to be in the $message variable: $message = "

[PHP] Re: Job Opportunity

2003-01-20 Thread Jessica Gillert
Mr. Hunter, My apologies for the delay in following back up with you. My client has expressed interest in talking with you. I am in the process of pinning them down on whether they would like to do a phone or face-to-face interview - and also what their schedule/time frame is. I will follow up

[PHP] Re: 4.3.0 cpu load raise

2003-01-20 Thread Thomas Seifert
Hmm, I didn't see this effect but I only tried on a development machine. I benchmarked a app there with both php-versions and it was nearly 20% faster with php-4.3.0. But that may depend on the application. Thomas On Mon, 20 Jan 2003 18:30:05 +0100 [EMAIL PROTECTED] (Philipp) wrote: > Hello ! >

RE: [PHP] $_POST vars problem

2003-01-20 Thread Ford, Mike [LSS]
> -Original Message- > From: Kenneth Brill [mailto:[EMAIL PROTECTED]] > Sent: 20 January 2003 15:53 > > I just changed my server to SSL, everything worked before > that. now if I > have a form with an input box (named "searchstring" for > example) with a > value of "TEST", when that for

RE: [PHP] please help

2003-01-20 Thread Marios Adamantopoulos
If you are using IIS you you need to set the Execute permitions on the directory you are running the file Not sure on apache -Original Message- From: JamsterJAM [mailto:[EMAIL PROTECTED]] Sent: 20 January 2003 17:52 To: [EMAIL PROTECTED] Subject: Re: [PHP] please help I am running my s

Re: [PHP] please help

2003-01-20 Thread JamsterJAM
I am running my server on windows xp, which i know you probally think it is silly but i think permissions in xp are automatically set to full or 777. - Original Message - From: "Ray Hunter" <[EMAIL PROTECTED]> To: "JamsterJAM" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, Janu

RE: [PHP] Loop inside a table

2003-01-20 Thread Cesar Aracena
Thanks a lot! I was already doing something of the sort, but with a LOT more $message .= Thanks again, Cesar L. Aracena [EMAIL PROTECTED] [EMAIL PROTECTED] (0299) 156-356688 Neuquén (8300) Capital Argentina -Mensaje original- De: Jim Lucas [mailto:[EMAIL PROTECTED]] Enviado el: lunes,

[PHP] Re: Security

2003-01-20 Thread Peter Clarke
Phil Ewington wrote: Hi, Can PHP run as a different user for different sites on the same server. The reason I ask is a client that has a PHP web site on our RAQ4 has had a PHP application written by someone else and wants us to upload it. Can PHP be configured to allow certain web sites access to

Re: [PHP] Loop inside a table

2003-01-20 Thread Jim Lucas
instead of doing that your should do this $message = " title goes here "; for ($x = 0; $x < $num_rows; $x++) { $message .= "some stuff"; } $message .= " "; you were also missing your last double quote. Jim - Original Message - From: "Cesar Aracena" <[EMAIL PROTECTED]> To: <[EMAIL

[PHP] Change base url

2003-01-20 Thread Jeremías Grunge
I've a few of scrcripts in a directory $baseurl/PHP/scripts.PHP And I want to include these a script in a diferent dir example $baseurl/otherDir/otherscript.PHP but the includes that are on the $baseurl/PHP/scripts.PHP now referrer to $baseurl/otherDir... There is a way to say a script wthat is it

[PHP] Loop inside a table

2003-01-20 Thread Cesar Aracena
Hi all, I always make for loops inside tables so I usually don't have problems with it, but this case is a little different. I'm making a mail program for my client to receive a mail each time a customer places an order in his site. Inside the mail program, I declaring a value called $message whe

[PHP] 4.3.0 cpu load raise

2003-01-20 Thread Philipp
Hello ! i upgraded PHP last week. I used 4.2.3 and now i am using 4.3.0. The System is Linux running a 2.4.20 kernel and Apache 1.3.27 with PHP statically compiled in. I recognized a significant load-raise. it seems that the new version needs more CPU power to complete its tasks. i will evaluat

RE: [PHP] Select multiple boxes

2003-01-20 Thread John W. Holmes
> >>use [] in your select box name. When it comes back in the > >>$_POST array you > >>will have an array of options. It breaks HTML standard > > > > > > No, it does not break HTML standards -- that is a PHP urban myth (which, > to > > my chagrin, I helped to propagate before a wiser head sent me

[PHP] ayuda...solo se ve el código cuando ejecuto los script

2003-01-20 Thread Rot Alvarez
Subo los script y solo veo código...q puedo hacer ayuda _ Registra gratis tu cuenta email en http://www.exploraiquique.cl _ Select your own custom email address for FREE! Get

Re: [PHP] Select multiple boxes

2003-01-20 Thread Sean Burlington
Ford, Mike [LSS] wrote: -Original Message- From: Cal Evans [mailto:[EMAIL PROTECTED]] Sent: 18 January 2003 14:41 use [] in your select box name. When it comes back in the $_POST array you will have an array of options. It breaks HTML standard No, it does not break HTML standards --

RE: [PHP] Getting https-page

2003-01-20 Thread John W. Holmes
> You can easily get an webpage with: > $fp = fopen("http://www.mydomain.com/";, "r"); > if ($fp) exit; > while(!feof($fp)) > { $line .= fgets($fp, 4096); > } > fclose($fp); > print $line; > > But this doesn't work with https (SSL). How can I get an https-page? Use PHP 4.3.0 with OpenSSL e

RE: [PHP] How know how many sessions are active?

2003-01-20 Thread John W. Holmes
> Do you know a way to close a session when client closes the explorer? > Perhaps with a client script? If the session cookie lifetime is zero, the cookie will be deleted when the user closes their browser. However, it's up to you to delete old information from your database now. Since you have a

[PHP] imap_fetchbody - size limit?

2003-01-20 Thread Andy Clarke
Is there any limitation on the size of attachment that IMAP (especially functions like imap_fetchbody) can handle? I am writing a PHP script that will cycle through a number of email accounts and downloads new messages, storing the subject/body etc in a database and saving the attachments to the (

RE: [PHP] Getting https-page

2003-01-20 Thread Matthew Walker
Look into the CURL libraries. http://www.php.net/manual/en/ref.curl.php They essentially allow you to emulate the behavior of a browser. Where I work, we use them to make SSL connections to payment processing gateways. Matthew -Original Message- From: Martin Thoma [mailto:[EMAIL PROTECTE

Re: [PHP] XML & deprecated "Call-time pass-by-reference"

2003-01-20 Thread kellan
On Mon, 20 Jan 2003 18:04:19 +0800, Jason Wong wrote: > Assuming that xml_set_object() has been defined correctly then to get rid > of that error/warning message simply use: > > xml_set_object( $this->parser, $this ); Thanks. That seems to work. Every example of using xml_set_object demostra

php-general Digest 20 Jan 2003 16:32:38 -0000 Issue 1834

2003-01-20 Thread php-general-digest-help
php-general Digest 20 Jan 2003 16:32:38 - Issue 1834 Topics (messages 132205 through 132259): PHP Books 132205 by: Armoured 132215 by: olinux 132250 by: Mike Morton 132252 by: Mike Morton Can I use white spaces? 132206 by: Cesar Aracena 132208

  1   2   >