[PHP-WIN] Problems with a simple script

2001-10-30 Thread Kevin
I put together this simple script but seem to be having problems with it. All the script does is ping an IP addy and then replies back if it is up or down. The problem is with the fsockopen command. It seems if the IP is up it works fine, only when the IP is offline does it hang at that point in t

[PHP-WIN] Looking for a script

2001-11-01 Thread Kevin
I am looking for a php script that will allow me to input user name and then let me send them a page once I click on their name and type a short text message. If anyone can lead me in the right direction, I thank you. Thanks -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-

[PHP-WIN] exe app with php

2001-12-17 Thread Kevin
Is there a way to launch an .exe app using PHP. Example; Have a user click a link to notepad and have it launch the user's notepad.exe for them? Thanks! -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE

[PHP-WIN] Cookie Problems with IIS 4 and not with IIS 5.1

2002-01-06 Thread Kevin
I have the same code on 2 systems, NT4 Server with IIS 4 and XP IIS 5.1 the cookies work ok on IIS 5.1 and not IIS 4. It's the same PHP.INI file on both systems and the same version of PHP. Does and know how to fix it? Kevin -- PHP Windows Mailing List (http://www.php.net/) To unsubs

[PHP-WIN] Subject: Cookie Problems with IIS 4 and not with IIS 5.1

2002-01-08 Thread Kevin
I have the same code on 2 systems, NT4 Server with IIS 4 and XP IIS 5.1 the cookies work ok on IIS 5.1 and not IIS 4. It's the same PHP.INI file on both systems and the same version of PHP. Does and know how to fix it? Kevin CONFIG.PHP INDEX.PHP -- PHP Windows Mailing List

[PHP-WIN] Session Managment

2003-10-07 Thread Kevin
I have setup a php page to use mysql and PHP's session handling. The logon page displays just fine but when I try and log into the page IE give me the page can not be displayed. I have the session.save_handler set to files and the session save path set to C:\tmp. Any ideas what I am doing wrong?

[PHP-WIN] Re: Session Managment

2003-10-07 Thread Kevin
Yes it does. Now only because the script is using mysql to store the session info does it not work. "Rahman Haqparast" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Does your C:\tmp exist? > > "Kevin" <[EMAIL PROTECTED]> wrote in message

[PHP-WIN] static inheritance in a class object

2004-10-08 Thread Kevin
Anyone know why class static vars are inherited? (See code below) class A { public static $CONFIG = null; } A::$CONFIG = "A"; class B extends A { public static $CONFIG = null; } B::$CONFIG = "B"; print ("A: " . A::$CONFIG . ""); print ("B: " . B::$CONFIG . ""); -- PHP Windows Mailing

[PHP-WIN] windows 2000 server --- crashing

2002-05-21 Thread Kevin Lilly
-- memory dump -- computer restarted). After trying this several times with the same result I tried to call another page with a simple print() statement which comes up with no problem on either machine. Any suggestions would be greatly appreciated. Thanks -- Kevin -- PHP Windows Mailing List

[PHP-WIN] Re: windows 2000 server --- crashing

2002-05-21 Thread Kevin Lilly
ure, read bug, it is and how to work around it) Thanks -- Kevin "Matt Parlane" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi Kevin... > > I had the same problem a while back, and I came to the conclusion that PHP > on w

Re: [PHP-WIN] Re: windows 2000 server --- crashing

2002-05-21 Thread Kevin Lilly
Thanks Clay...I'll try that when I get to work tommorrow Kevin "Clay Culver" <[EMAIL PROTECTED]> wrote in message 000601c20141$a5f2a5c0$1602a8c0@dark">news:000601c20141$a5f2a5c0$1602a8c0@dark... > I have gotten PHP 4.2 to work well under Win2k Server, but I do no

[PHP-WIN] Upgrade to 4.2.1 stops script from working

2002-06-22 Thread Kevin Smith
/auctionoutput.php?jpegifimage=1997n1998teds. jpeg&createAuctionPage=Create Notice: Undefined variable: jpegifimage in c:\apache\htdocs\www.lemonlaineydesign.com\www\ebay\auctionoutput.php on line 2 CODE: This was working perfectly with 4.1.1 until I upgraded... any ideas? Regards, Kevin S

[PHP-WIN] Does System() work?

2002-07-30 Thread Kevin Stone
ks in the current version unders Windows. -Kevin -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] accessing the regisry with php

2002-08-25 Thread Kevin Fonner
Anybody know what a good way to access the windows registry with PHP? Thanks, Kevin -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] accessing the regisry with php

2002-08-25 Thread Kevin Fonner
e it would be possible through COM. I have already tried out the php and COM combo and it seems to work alright. Haven't done that before though and I just wanted to see if anyone has come up with a simple way to do it. Any comments and ideas are appreciated. Thanks, Kevin Ross Flemi

[PHP-WIN] PHP FTP Module Functions

2002-11-23 Thread Kevin Smith
version have this already compiled into it with the Binary installer or zip package? Regards, Kevin Smith -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] HELP !!!

2002-11-23 Thread Kevin Smith
hi Kata, Hmmm are you still defining $a=123 and then on the next defining $a = adadada, if so, then the syntax for $a should be : $a = "adadada"; for text and $a = 123; for numbers Regards, Kevin - Original Message - From: "kata" <[EMAIL PROTECTED]> To

[PHP-WIN] How to log session cookie?

2001-05-02 Thread Kevin L
Hi, I'm running PHP4 on Win2k/IIS5. And my app uses sessions/cookies. Does anyone know how to put the php session id in the IIS logfile? thanks -Kevin __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices

[PHP-WIN] Odd SQL error when connecting to MS Access

2001-06-26 Thread Kevin Sayre
error code? Here's the connect I'm using (username and password changed of course): $cid = odbc_connect("help_database", "username", "password", "SQL_CUR_USE_ODBC"); Any ideas? Thanks for any help. Kevin Sayre -- PHP Windows Mailing List (http:/

[PHP-WIN] SQL error 00000 when trying to connect to MS Access

2001-06-26 Thread Kevin Sayre
password"); and I looked up that error code, and it claims that the 0 is a success error code, so what's with that? Anyone else had this problem? I'm running this on an IIS server also. Thanks, Kevin Sayre -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe,

[PHP-WIN] php.ini

2001-07-13 Thread Kevin Mann
one please help me to get each hosted web to show it's own root directory ? Thanks, Kevin. -- PHP Windows 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]

[PHP-WIN] doc-root in php.ini

2001-07-15 Thread Kevin Mann
eports the document_root of the first. Can someone please help me to get each hosted web to show it's own root directory ? Thanks, Kevin. -- -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To c

[PHP-WIN] A solution to the CGI application misbehaved issue on IIS5 and PHP4

2001-07-24 Thread Kevin Costain
es on the local drive and PHP worked! CONCLUSION I appears as though PHP is able to support locating files on a different computer and a shared directory. I had initially thought that just using virutal directories was a problem for PHP, but this is not the case. I hope this pro

[PHP-WIN] Having PHP inside of ASP using the #include VIRUTAL= directive??

2001-07-28 Thread Kevin Costain
, Kevin Costain === KCTS: http://www.kevincostain.com 416-463-6655 === -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

[PHP-WIN] Problem installing PHP4 on Linux

2001-08-01 Thread Kevin Sayre
y spits out the code. What'd I miss? Thanks. Kevin Sayre [EMAIL PROTECTED] -- PHP Windows 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]

[PHP-WIN] Problem installing PHP4 on Linux

2001-08-01 Thread Kevin Sayre
y spits out the code. What'd I miss? Thanks. Kevin Sayre [EMAIL PROTECTED] -- PHP Windows 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-WIN] [Fwd: IIS Installation]

2001-10-08 Thread Kevin Truong
side, anyone knows how to fix this problem? I am trying to solve this problem myself, but no luck at the moment. I'll post back if I find a solution. Kevin "Mark" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Tue, 25 Sep 2001 23:3

[PHP-WIN] Re: Data from local PC MySQL (or MSAccess) to remote UNIX ISP MySQL

2001-10-12 Thread Kevin Truong
Just dump the database on your local MySQL server onto a file. Since you already have the phpmyadmin setup at the remote location, you could just import your dumped database to the remote MySQL server. Hope that helps. -Kevin "Tome" <[EMAIL PROTECTED]> wrote in message [EMAIL

[PHP-WIN] eval function

2003-02-25 Thread Kevin Smith
DDRESS_ID_".$numb."'];"); Any ideas? Thanks, Kevin -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Getting Started

2003-06-05 Thread Kevin Bachelder
, Kevin -- Kevin Bachelder Microsoft Certified Systems Engineer - Windows NT 4.0 (MCSE) Microsoft Certified Professional - Windows 2000 (MCP) Citrix Certified Administrator (CCA) CompTIA A+ Certified Computer Repair Technician (A+) -- PHP Windows Mailing List (http://www.php.net

[PHP-WIN] PHP i need help please

2003-06-17 Thread Kevin Ison
no workie "; } ?> resulting output: Warning: java.lang.ClassNotFoundException: java.io.file in c:\apache\htdocs\ktest\xzerror.php on line 1 Fatal error: Call to a member function on a non-object in c:\apache\htdocs\ktest\xzerror.php on line 2 anything obvious i am missing? -- Kevin

Re: [PHP-WIN] PHP i need help please

2003-06-17 Thread Kevin Ison
hehehe that worked thank you! amazing what correct syntax can do! Danke! "Daniel Beulshausen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] At 07:25 17.06.2003 -0400, Kevin Ison wrote: >Im trying to make calls to java classes and I keep getting class not fou

Re: [PHP-WIN] PHP i need help please

2003-06-19 Thread Kevin Ison
danke Daniel... apparently multiple paths need to be encapsulated with quote marks. something i did not do. "Daniel Beulshausen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] At 16:00 18.06.2003 -0400, you wrote: >I ment to tell you that worked. > >however if i did this: >$myClass

[PHP-WIN] ASP to PHP (Secure MS Access connection)..

2001-01-24 Thread Kevin Ferron
I'm trying to convert an ASP site to PHP, and my problem is this: I've set up the the DSN on my machine to utilize the built-in odbc functions as I would any Access DB. Because this is a "secure" db, i'm supposed to reference the MDW file as opposed to the MDB... Well I can't seem to get it to wo

Re: [PHP-WIN] Modules not loading

2001-02-07 Thread Kevin Ferron
strangely enough, im getting a similar problem.. the ldap module nor the mssql module work when uncommented in php.ini. All the other uncommented extensions load no problem. The dll's are definately in my extensions dir. weird eh? "Alain Samoun" <[EMAIL PROTECTED]> wrote in message [EMAIL PROT

[PHP-WIN] about php4 COM functions..

2001-03-31 Thread Kevin Ferron
I thought i'd share with those of you unfamiliar with one of the cool things about developing php on win32 systems.. http://www.phpbuilder.net/columns/alain20001003.php3 This is a good article, but i don't think the author hit the nail on the head showing how useful this can be. Now, checkout t

[PHP-WIN] Installing the php_mhash.dll extension

2004-02-18 Thread Kevin McNally
I need to install the php_mhash.dll extension to use with Authroize.net on my windows 2000 server. I edited the php.ini file by adding the correct directory and removing the ; before php_mhash.dll. I then copied the libmhash.dll file that is needed to the C:\Winnt\system32\ folder. I ran the test

[PHP-WIN] Blank Screen-Newbie

2004-06-15 Thread Kevin & Cindy
I have installed Apache 2.o.44 on Windows XP home edition and have installed PHP 4.3.0 . When I try and view a php script in my browser (I.E 6) all I get is a blank screen, if I view source I can see the code, I have tried but still come up with a blank screen.I have re-named the php.ini-dist file

[PHP-WIN] Re: Blank Screen-Newbie

2004-06-16 Thread Kevin & Cindy
I http://localhost ! "Kgx" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi. Sorry if this may sound silly but do you double click to open the php > file or do you http://localhost? > > :) > > > "Kevin & Cindy" <[EMAIL PROTE

[PHP-WIN] PHP 5.0.1 Manual/Automatic Install

2004-09-08 Thread Kevin Crookes
Hi all, Well it is now 12:08 past midnight and I have been at this since 7pm. Basically my problem is this: I currently have a Win2003 server, running IIS6 serviced packed up etc. I have tried following the installation notes from PHPbuddy.net (http://www.phpbuddy.com/category.php?cat_i

RE: [PHP-WIN] Re: PHP 5.0.1 Manual/Automatic Install

2004-09-13 Thread Kevin Crookes
e two package files into PHP folder, and then ran the installer, bingo it works without a problem. How I have not got a clue!! But it does. Kev -Original Message- From: Nadim Attari [mailto:[EMAIL PROTECTED] Sent: 10 September 2004 07:59 To: Kevin Crookes Subject: RE: [PHP-WIN] Re: PHP

[PHP-WIN] ORIG_SCRIPT_NAME

2004-10-03 Thread Kevin Williams
defined. As a matter of fact, phpinfo() show none of the ORIG_ variables are defined. Is there a php.ini configuration option which might affect this, or is this a function of mod_php vs. CGI execution? Kevin (newbie - be gentle) ;) -- PHP Windows Mailing List (http://www.php.net/) To unsu

Re: [PHP-WIN] php_mysql.dll - WON'T WORK!!

2004-10-06 Thread Kevin Williams
PHPDiscuss - PHP Newsgroups and mailing lists wrote: I set my extension folder to 'D:\Service\PHP\ext' and the php_mysql.dll is in the ext folder. I was getting an error saying "The specified module could not be found." But after I copied the libmySQL.dll to the system32 folder, I got this error, "

Re: [PHP-WIN] PHP,W2K,Manual Configure, Authentication

2004-10-08 Thread Kevin Williams
Perhaps the "extension_dir" ini setting is not set properly? Felipe Gasper wrote: Did you check Event Viewer? Set error reporting to E_ALL? Put your PHP directory in PATH? It looks like IIS is *trying* to load PHP, based on the error that the link gives. -Felipe Gasper Quoth zac korpi on 10/8/2

[PHP-WIN] filectime problems

2004-12-01 Thread Kevin Glick
$time = filectime($filename); ... Any ideas why? The user that the webserver runs as, has full permissions to the "news" directory, and all the files in it. Kevin Glick ITS Manager Sterling Business Forms [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] replacing file contents

2005-04-11 Thread Kevin Smith
line, if the HTML code is wrapped onto two lines, then you have a problem. Obviously, there are workarounds, but for now try the above. You may also want to look at preg_ as this is a more efficient mehtod of regexp's. Regards, Kevin Smith Luis Moreira wrote: Hi I, for one, have never don

Re: [PHP-WIN] PHP5 and MySQL

2005-04-15 Thread Kevin Smith
Perhaps posting you code will help us resolve your problem. JC Botha wrote: Dear Users I'm havin a problem to connect to MySQL through the use of PHP5. I followed all documentation and none seem to resolve the problem. I'm running WinXP on the computer that I use to develop the apps. Any advice out

Re: [PHP-WIN] PHP & GD on Windows

2005-06-17 Thread Kevin Smith
Hey, I have VS so if you want to give me the instructions on compilation, I'd be happy to do it for you. Regards, Kevin Jason Barnett wrote: In which case you might be out of luck... I've tried building from source with cygwin / gcc, but every binary that I've tried bui

Re: [PHP-WIN] Re: Calling MSSQL Stored Procedure

2005-09-16 Thread Kevin Smith
the parameter as this: $PMdb->InParameter($SQL, $ActualDate, "@Today"); Regards, Kevin Smith Mark Rees wrote: The type problem in not in PHP but in SQL Server. The sp expects an input parameter of type datetime, and it isn't getting one. http://www.php.net/functi

Re: [PHP-WIN] Create A Format Toolbar

2005-10-21 Thread Kevin Smith
This should take care of all your needs. Open Source too. ;) http://www.fckeditor.net/ Regards, Kevin kaizer boab wrote: I am building a news system and in the edit news page I would like to have a formatting toolbar for making text bold, italic or create an ordered or unordered list. At

Re: [PHP-WIN] Re: fwrite()

2005-11-08 Thread Kevin Smith
Submit you're code to the list and let's see if we can help you. JC Botha wrote: Dear Rosty Thanks for your input, but it does not change the situation at all! :( Please let me know if there is something else that you think about. Greetings JC -Original Message- From: Rosty Kere

Re: [PHP-WIN] Re: Decryption

2005-11-29 Thread Kevin Smith
I think this will solve your problems, here is real working code. class ENCRYPTION { var $KEY = "NEED_A_DECENT_KEY"; //Encrypt Function function encrypt($string) { $iv = mcrypt_create_iv(mcrypt_get_iv_size(MCRYPT_RIJNDAEL_256, MCRYPT_MODE_ECB), MCRYPT_RAND); $passcrypt

RE: [PHP-WIN] Getting windows username into php/mysql

2006-03-22 Thread Grinberg, Kevin
I believe what you're looking for is: $_SERVER["REMOTE_USER"] However, it'll only work if the client is authenticated - if you allow anonymous access to the web site, the client will not be authenticated, so there's no Windows username to get (you can check the logs to find out). The details var

Re: [PHP-WIN] Variables

2006-12-08 Thread Kevin Smith
If the query only ever returns 1 row then like this: $sql = "SELECT caa44340041, caa442400042 FROM caa44340, caa44240 WHERE caa443400018 = caa442400018; $result = ifx_query($sql, $connect_id) or die ("couldn't execute the query"); $row = fetch_assoc_array($result); $first_name = $row['caa4434

[PHP-WIN] php installed on IIS: changes to php.ini not taking affect

2007-01-10 Thread Kevin Ruiz
I have php 5.2 up and running on IIS 5.1. phpinfo tells me php is looking for my ini file in C:\Windows...I place the file there, edit it, restart the server but I don't see the changes I've made. I've been dealing with this for a day and can't seem to find any information as to what's causi

Re: [PHP-WIN] php installed on IIS: changes to php.ini not taking affect

2007-01-10 Thread Kevin Ruiz
okay...turns out there was something strange going on with my ini file. I copied its contents into a new file, saved that as "php.ini"...now whenever I drop that in either C:\Windows or C:\PHP php will not execute. If I move the file out of either of those two directories, it executes fine. D

Re: [PHP-WIN] php installed on IIS: changes to php.ini not taking affect

2007-01-11 Thread Kevin Ruiz
Thanks for the suggestion...I tried that...i didn't make a difference. Here's another thing I noticed. PHP seems to be using the default settings. When I drop a php.ini file in C:\Windows (where php is looking for my ini file) php fails execute. If I remove the ini file...the code executes fin

Re: [PHP-WIN] php installed on IIS: changes to php.ini not taking affect

2007-01-11 Thread Kevin Ruiz
I can't let this go...I can't get anything else done until I can figure this out...I'm pretty sure this will ultimately lead to my demise. Okay, so I installed apache thinking it'd be good to test this problem with another server. I'm having the same problem with apache. If I have my ini file

Re: [PHP-WIN] php installed on IIS: changes to php.ini not taking affect

2007-01-11 Thread Kevin Ruiz
dropping it in C:\windows\system32 yields the same results as C:\windows. It seems I can place the ini file in any directory other than the directory where php is installed. Daniel Kaliel wrote: What happens if you put it in c:\Windows\system32 -Original Message- From: Kevin

Re: [PHP-WIN] php installed on IIS: changes to php.ini not takingaffect

2007-01-11 Thread Kevin Ruiz
same problem that I can't edit my ini file and have the changes take affect. I apologize for all the posts. Kevin Ruiz wrote: dropping it in C:\windows\system32 yields the same results as C:\windows. It seems I can place the ini file in any directory other than the directory where p

Re: [PHP-WIN] php installed on IIS: changes to php.ini not takingaffect

2007-01-11 Thread Kevin Ruiz
Finally...i guess my ini must have been corrupt. I tried using the contents from the ini-dist file (I was using the ini-recommended) and everything works. Thanks for all the help. Kevin Ruiz wrote: I think the issue with php failing to execute may have been a result of my having C:\PHP in

Re: [PHP-WIN] base64 encoded images and printing

2007-03-05 Thread Kevin Smith
viously being an image. It's good practice to put these headers in anyway. Hope this helps. Regards, Kevin Smith Bill Bolte wrote: Update, I have it working in IE7 but not IE6. I can view it in both IE6-7, but it only prints in IE7. here's what I'm doing... '; ?> fe

Re: [PHP-WIN] base64 encoded images and printing

2007-03-06 Thread Kevin Smith
Am I doing the filesize correctly? -Original Message- From: Kevin Smith [mailto:[EMAIL PROTECTED] Sent: Monday, March 05, 2007 4:40 PM To: Bill Bolte Cc: php-windows@lists.php.net Subject: Re: [PHP-WIN] base64 encoded images and printing Hi Bill, This is what I've used for the

Re: [PHP-WIN] base64 encoded images and printing

2007-03-06 Thread Kevin Smith
ind a login, so I can't give you a url at the moment. I'll check on the filesize and see what I'm getting... ---- *From:* Kevin Smith [mailto:[EMAIL PROTECTED] *Sent:* Tuesday, March 06, 2007 9:23 AM *To:* Bill Bol

Re: [PHP-WIN] Regular expression

2007-04-25 Thread Kevin Smith
Here's a very simple one I just knocked out in a few seconds: Mikael Grön wrote: Hey all! I'm in panic! I need a regex that returns true on strings containing both 'update' and 'where 1 = 1'. Both must be case insensitive and there might be spaces between the 1's and the '=', and there migh

Re: [PHP-WIN] Regular expression

2007-04-25 Thread Kevin Smith
A little more precise to what you asked for: Mikael Grön wrote: Hey all! I'm in panic! I need a regex that returns true on strings containing both 'update' and 'where 1 = 1'. Both must be case insensitive and there might be spaces between the 1's and the '=', and there might not.. Some nitw

Re: [PHP-WIN] Reload/refresh web page

2007-05-04 Thread Kevin Smith
// The argument to the location.reload function determines // if the browser should retrieve the document from the // web-server. In this example all we need to do is cause // the JavaScript block in the document body to be // re-evaluated. If we needed to pull the document from // the web

Re: [PHP-WIN] Reload/refresh web page

2007-05-04 Thread Kevin Smith
I'll go with Bill's suggestion. Just track whether the page has already been loaded. Bill Bolte wrote: Can we ask why you need a reload every time? Maybe there's a better approach? But, if you need to reload the first time someone hit's a page, add a querystring value to the url and track it.

Re: [PHP-WIN] formating a string

2007-05-12 Thread Kevin Smith
The this instead. BTW, you misunderstood the useage of substr, see http://uk.php.net/manual/en/function.substr.php. $code = 'abcdwxyz8765'; $string = array(); array_push($string,substr($code,0,4)); array_push($string, substr($code,4,4)); array_push($string, substr($code,8,4)); echo $string[0].'-

Re: [PHP-WIN] n00b cannot start MySQL

2007-07-27 Thread Kevin Smith
Try telnet'ing on port 3306, which is the default port that MySQL runs on. Abhisek Dutta wrote: I am an extreme n00b here in PHP. just started learning PHP. Can't start MySQL. The command-prompt says: /Can't connect to MySQL server on 'localhost./ 'telnet localhost 10061' gives: /Connecting to

[PHP-WIN] PHP on PWS

2001-08-03 Thread Kevin Nørby Andersen
Hi. I unpacked the .gz / .tar file and followed the instructions, but in the installation guide they talked about php.exe and som other exe's, but i couldent find them!! Please mail me: [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTE