[PHP-WIN] Re: Domain name

2004-04-19 Thread Brad Thomas
Can I be l33t too? My server needs l33t to run properly... it just doesn't work if it doesn't have l33t installed... "Dvdmandt" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Personally, I'd suggest getting mod_l33t, and just modify the config file.. > But you'll need a domain name

Re: [PHP-WIN] Java

2004-04-19 Thread Brad Thomas
I say you should take two aspirin, take the week off work, close all your windows, shut off your engine and start again. "B.A.T. Svensson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Wed, 2004-03-17 at 02:50, S.Gultom wrote: > > why my java script always error, when i run my p

[PHP-WIN] Re: Getting current page details

2003-06-09 Thread Brad Thomas
I've found that the following line is useful for tracking where a user has originated from: $url = urlencode (basename($_SERVER['PHP_SELF']) . "?" . $_SERVER['QUERY_STRING'])); Firstly, we'll urlencode the value so it can be used in a form, or as an extra parameter in the URL. Then we take the ba

[PHP-WIN] Re: Recursive function within a class

2003-06-09 Thread Brad Thomas
You can, you just need to use the $this variable, so $this->a($y) "Olafsson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello > > I´ve a small problem. I´ve created a class with serveal functions but when > I try to make a recursive function within the class it generates an err

[PHP-WIN] Re: I am try to upload an image to a folder on my web server

2003-06-09 Thread Brad Thomas
Hi Firstly, I would like to point out that programming with register_globals on is a bad move, in sense of security. Secondly, I'd suggest using isset for checking if there is anything in the $_FILES superglobal. (If you're using post 4.1, of course.) "Stephen K Knight" <[EMAIL PROTECTED]> wrote

[PHP-WIN] Re: Not rhetorical: Why upgrade php when current version is working fine?

2003-05-30 Thread Brad Thomas
Along with the other suggestions the other people have made, I would like to suggest that you look at mysql_select_db, and replace mysql_db_query with it. I have a feeling the scripts you have relied on mysql_db_query for it's database interaction, and as mysql_db_query is now deprecated, it will

Re: [PHP-WIN] Re: MsWord html

2002-11-12 Thread Brad Thomas
Hi Steel! I also code all my HTML and PHP in a simple text-editor... I decided years ago that I would never again use a WYSIWYG to design my webpages as I got sick of all the extra stupid code that the programs generated... grr, the angst. :) "Steel" <[EMAIL PROTECTED]> wrote in message news:3778

[PHP-WIN] Re: MsWord html

2002-11-11 Thread Brad Thomas
Eradicating the world of people who use MSWord to create webpages. *happy sigh at the thought* HTH Brad "Steel" <[EMAIL PROTECTED]> wrote in message news:4818722902.20021110141715@;inbox.ru... > Hi php-windows, > > Does anybody knows, what regexp can help me remove almost all > M$ Word2000 HTML

[PHP-WIN] Re: Form text with reserved chars

2002-11-04 Thread Brad Thomas
Hi It sounds like magic_quotes_gpc is set to On in your php.ini file.. change this value to Off if you wish to handle escaping of characters yourself. Secondly, it's advisable to research nl2br() HTH Brad "News.Php.Net" <[EMAIL PROTECTED]> wrote in message news:20021101073812.3879.qmail@;pb1.p

[PHP-WIN] Re: Any special functions need to be loded to accept forms?

2002-11-03 Thread Brad Thomas
Hi "Luke" <[EMAIL PROTECTED]> wrote in message news:20021103231622.13841.qmail@;pb1.pair.com... > I am trying to submit a form on my apache server running win2k and php4 > using php, but I get the error: > > Notice: Undefined variable: submitform in C:\www\\emailform.php on line 9 > > The exact sa

Re: [PHP-WIN] RE: Acces DB and PHP connection ?

2002-10-15 Thread Brad Thomas
Haha. I rock :) HTH Brad "Mark A. Nichols" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Here's a code snippet. I haven't tried this yet. http://www.phpbuilder.com/mail/php-general/2000101/1850.php -----Original Mess

Re: [PHP-WIN] RE: Acces DB and PHP connection ?

2002-10-14 Thread Brad Thomas
I would think the only way you could connect to an Access Database without a DSN set would be through the use of COM, maybe? We did a little bit of ASP in TAFE last term and we connected to an Access DB without setting a DSN .. so maybe it could follow a bit of the same path. HTH Brad "Cisiodo

[PHP-WIN] Re: Quotes issues

2002-08-17 Thread Brad Thomas
"R.S. Herhuth" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I need to strip off quotes both single and double from form input. This > is what I have but it doesn't appear to be working: > > str_replace("\"","",$string); > str_replace("\'","",$string); > >

[PHP-WIN] Re: Getting Field Names in Microsoft SQL

2002-08-16 Thread Brad Thomas
"R.S. Herhuth" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I'm trying to build a dynamic script that basically extracts all of the > fields in a MS SQL database...I just can't seem to figure out how to get > at the field names themselves. I am using the m

[PHP-WIN] Re: Date conversion

2002-08-13 Thread Brad Thomas
"Kit Kerbel" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I would like to convert 2002-04-02 00:00:00 to the format, > 04-02-2002or m/d/Y > > How would I do this? > > Thanx in advance, > Kit > > > > ___

[PHP-WIN] Re: Shutting down Apache on Windows

2002-05-06 Thread Brad Thomas
Hello. To shut down apache, you need to make the apache window active, and press the Ctrl + C keys. Hope this helps. Brad "Jerry" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello! I just setup Apache 1.3 on Win98 using Triad. Everything > works great. I

[PHP-WIN] Re: Testing...pls ignore

2002-05-06 Thread Brad Thomas
I am also ignoring this. BT <..> http://hellkeeper.hostbet.net/ "Then" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > pls ignore this -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: HELP! Connect or no connect, that's the question...

2002-04-15 Thread Brad Thomas
<[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Dear all, > > I installed mysql for windows and had to copy some databases (including > mysql standard databases), that I have to use for my php-project. I also > installed the Apache server 1.3 ... > > My problem

[PHP-WIN] Re: Any credability lost...

2002-04-03 Thread Brad Thomas
"Ross Fleming" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > It is after 6am, I am just going to bed after several friends have left my > flat after copious amounts of vodka consumed. Just thought people might be > interested to hear and share any similar st

[PHP-WIN] Re: Editor

2002-01-17 Thread Brad Thomas
"Sanjuroe" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am looking for a light-weight editor which supports PHP tag > highlighting and indenting. > > Which editor do you recommend? > > Sanjuro > Edit Plus is good. (http://www.editplus.com) Brad -- PH

[PHP-WIN] Re: Mysql connection

2002-01-16 Thread Brad Thomas
> > Warning: MySQL Connection Failed: Can't connect to MySQL server on > > 'localhost' (10061) in c:\program files\apache > > group\apache\htdocs\db_connect.php on line 3 This error means the MySQL server isn't running. Try starting the server and try again. -- PHP Windows Mailing List (htt

[PHP-WIN] Re: A referer code needed

2001-12-10 Thread Brad Thomas
"Emad El-Din" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi > I would like to know the function written to know the URL of the page the > user's browser was previously on if the user followed a link from that page > to my php script (as "referer" in perl s

Re: [PHP-WIN] mysql statment

2001-09-11 Thread Brad Thomas
"Angie Tollerson" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Well, I've answered my own question! Apparently, you cannot use the addslashes function in the sql statement, not the way I am anyways. Does anyone know the proper way if any to do that without ha

[PHP-WIN] Re: What's my problem with nl2br and a text file?

2001-09-09 Thread Brad Thomas
Yes! I've got this exact same problem I think it has something to do with the format of a text file not recording file break positions But that doesn't really explain why notepad can display them perfect :( "John Asendorf" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROT

[PHP-WIN] Re: Login System

2001-09-03 Thread Brad Thomas
"Brad Thomas" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > IMHO I've found MySQL better > > <[EMAIL PROTECTED]> wrote in message news:3B896921.25275.3BAA1C@localhost... > > How would I go about making a

[PHP-WIN] Re: .php opening as text document

2001-08-29 Thread Brad Thomas
"Goodluckmo" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > you must not correct install php. > "Craig" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Hi > > > > I'm trying to set up hlstats which users hlstats.php but e

[PHP-WIN] Re: Login System

2001-08-29 Thread Brad Thomas
IMHO I've found MySQL better <[EMAIL PROTECTED]> wrote in message news:3B896921.25275.3BAA1C@localhost... > How would I go about making a Login system? and should I should > Flat file or MySQL? > > Let me know > Thanks -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: