Re: [PHP] OT-Re: worm on th list

2003-08-21 Thread Ashley M. Kirchner
John Taylor-Johnston wrote: Get your mail sysadmins to install spamassassin, which I believe is OpenSourced PHP SpamAssassin is perl combined with C-code. Not PHP. -- H| I haven't lost my mind; it's backed up on tape somewhere. +--

Re: [PHP] OT-Re: worm on th list

2003-08-21 Thread daniel
yes my spamassasin does this it adds spam like {spam?} and viruses {virus?} how can i filter that though in outlook like the damn thing only filters emails. > Get your mail sysadmins to install spamassassin, which I believe is > OpenSourced PHP, and the filter your {SPAM} directly into the > garba

Re: [PHP] OT-Re: worm on th list

2003-08-21 Thread Peter James
As an aside... I wonder what the ratio is of emails *from* the virus vs. emails *about* the virus. The latter certainly doesn't help the impulse response of the attack. :-) -- Peter James Editor-in-Chief, php|architect Magazine [EMAIL PROTECTED] php|architect The Magazine for PHP Professionals h

Re: [PHP] OT-Re: worm on th list

2003-08-21 Thread [EMAIL PROTECTED]
Hi, Though many consider netscape to be a poor alternative to explorer as a browser, it's far superior to outlook when it comes to mail. Far safer too. :-)). Most of us on linux use mozzilla for everything - browsing, chatting and email. [EMAIL PROTECTED] wrote: aparantly it was designed to s

Re: [PHP] OT-Re: worm on th list

2003-08-21 Thread John Taylor-Johnston
Get your mail sysadmins to install spamassassin, which I believe is OpenSourced PHP, and the filter your {SPAM} directly into the garbaaage. if everyone did this, and therefore stopped opening dangerous mail, maybe we could slow some of this down. :) Oh well, just my 2¢ > On Wed, Aug 20, 2003

Re: [PHP] OT-Re: worm on th list

2003-08-21 Thread daniel
aparantly it was designed to slow the web down, and its proved that, but also aparantly it infects by not even opening an attatchment but it could possibly have vb script within a html email :\ > On Wed, Aug 20, 2003 at 11:11:43AM -0400, andu wrote: >> Is this worm/virus windows specific? >> >> >

Re: [PHP] OT-Re: worm on th list

2003-08-21 Thread Jerry M. Howell II
On Wed, Aug 20, 2003 at 11:11:43AM -0400, andu wrote: > Is this worm/virus windows specific? > > It appears so but considering a good percent of users are MS/Outlook users this is a bad one. Got over 100 yesterday, 100+ the day before and looking at the same today. Considering I hardly ever have

[PHP] timestamp

2003-08-21 Thread John Taylor-Johnston
Not teasing, I know I could do this with some ready made script, but I want to make my own. I'm making a counter. CREATE TABLE `counter` ( `IPAddress` VARCHAR NOT NULL , `RemoteHost` VARCHAR NOT NULL , `TimeStamp` TIMESTAMP NOT NULL, `Date` VARCHAR NOT NULL ) Question 1, how do I creat

Re: [PHP] Re: error when using $this

2003-08-21 Thread Jean-Christian IMbeault
Jonathan Villa wrote: > I am in a class as well as a constructor. > > class DBI > { > //var declarations > function DBI() > { > $retVal = true; > > $this->setDBConn(mysql_connect('localhost',$this->_dbuser,$this->_dbpwd)); > if ($this-

[PHP] Re: Stopping Output

2003-08-21 Thread Jean-Christian IMbeault
Oliver wrote: > I'm in the process of making a forum in PHP, and am wondering if there is a > way to just stop sending stuff the the client(like if they're banned). What about exit or die? Jean-Christian Imbeault -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:/

FW: [PHP] How to open random Flash page with hyperlink?

2003-08-21 Thread Cody Phanekham
-Original Message- > From: murugesan [mailto:[EMAIL PROTECTED] > some more changes > > Murugesan, both ways are correct. Its just that i'm used to using the short open tag :) http://au

RE: [PHP] Easy XML & PHP tutorials ?????

2003-08-21 Thread Joe Harman
Burhan! Thanks a lot... This is great... I am going through it right ... Have a great day! Joe > -Original Message- > From: Burhan Khalid [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 21, 2003 10:35 PM > To: Joe Harman; [EMAIL PROTECTED] > Subject: Re: [PHP] Easy XML & PHP tutorials

Re: [PHP] How to open random Flash page with hyperlink?

2003-08-21 Thread murugesan
Hello some more changes -murugesan - Original Message - From: "Cody Phanekham" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 22, 2003 9:32 AM Subject: RE: [PHP] How to open random Flash page with hyperlink? Phillip, pretty close. only a few

RE: [PHP] How to open random Flash page with hyperlink?

2003-08-21 Thread Cody Phanekham
Phillip, pretty close. only a few things that are missing/incorrect. my corrections are marked by a # > -Original Message- > From: Phillip Pang [mailto:[EMAIL PROTECTED] > // random_menu.html > > $i = rand(0,3); > ?> > > > > x # you need to go back to php mode to use $i x > > > -

Re: [PHP] How to make an argument optional...confirmation...

2003-08-21 Thread Jonathan Villa
Great, thanks!! On Thu, 2003-08-21 at 22:20, Tom Rogers wrote: > Hi, > > Friday, August 22, 2003, 12:55:37 PM, you wrote: > JV> I want to create a function with an optional argument/parameter but have > JV> never read a concrete answer on how to do it. > > JV> This is what I am assuming > > JV>

Re: [PHP] How to make an argument optional...confirmation...

2003-08-21 Thread Tom Rogers
Hi, Friday, August 22, 2003, 12:55:37 PM, you wrote: JV> I want to create a function with an optional argument/parameter but have JV> never read a concrete answer on how to do it. JV> This is what I am assuming JV> function test(arg1,arg2,arg3 = null) JV> { JV> arg3 will be optional JV>

RE: [PHP] How to make an argument optional...confirmation...

2003-08-21 Thread Ralph Guzman
function test($arg1, $arg2, $arg3 = "") { if(isset($arg3)) { // do whatever with $arg3 } } -Original Message- From: Jonathan Villa [mailto:[EMAIL PROTECTED] Sent: Thursday, August 21, 2003 7:56 PM To: [EMAIL PROTECTED] Subject: [PHP] How to make an argument optional...conf

[PHP] How to open random Flash page with hyperlink?

2003-08-21 Thread Phillip Pang
Hey everyone, I'm new to using PHP so please bear with me. I'm trying to create a hyperlink that will open a random Flash page so that users will see a different flash module each time. Here is some of the code that I wrote but I'm not sure if it'll work since I'm not very good at coding. Oh yeah

Re: [PHP] google style paginating

2003-08-21 Thread olinux
PEAR::DB_Pager is a good example of how to do this. The getData function is all you need. http://pear.php.net/DB_Pager http://cvs.php.net/co.php/pear/DB_Pager/Pager.php?login=2&r=1.4 olinux --- Ted Conn <[EMAIL PROTECTED]> wrote: > Hi I am new to this newsgroup and I plan on replying > to all

[PHP] How to make an argument optional...confirmation...

2003-08-21 Thread Jonathan Villa
I want to create a function with an optional argument/parameter but have never read a concrete answer on how to do it. This is what I am assuming function test(arg1,arg2,arg3 = null) { arg3 will be optional } is this correct? -- PHP General Mailing List (http://www.php.net/) To unsubs

[PHP] Stopping Output

2003-08-21 Thread Oliver
I'm in the process of making a forum in PHP, and am wondering if there is a way to just stop sending stuff the the client(like if they're banned). I'm including a php file in all the .php files that make up the forum(reads the forum configuration file, sets up style sheets, etc). I'd really like

Re: [PHP] Easy XML & PHP tutorials ?????

2003-08-21 Thread Burhan Khalid
On Friday, August 22, 2003, 2:16:06 AM, Joe wrote: JH> Hello all. does anyone have any very easy XML tutorials . I have a JH> simple weather feed I want to implement. but no XML experience JH> thanks I have one at my site, complete with an example and downloadble code. I also wrote a class that

RE: [PHP] datetime

2003-08-21 Thread Cody Phanekham
Convert "Jun 8 2003 12:00AM" to a timestamp which can then be used with the date() function to format the date to whatever format you want. Lets say you've inserted the date as '6/8/03' and you want the data to remain the same when you retrieve it: so all you have to do is replace "Jun 8 2003

Re: [PHP] datetime

2003-08-21 Thread Larry_Li
Use date() and strtotime() together. strtotime will convert date string into integer timestamp. Still have any questions, check these two functions online plz. "Dale Hersh" <[EMAIL PROTECTED]> 08/22/2003 10:13 AM To: [EMAIL PROTECTED] cc: Subject:[PH

[PHP] datetime

2003-08-21 Thread Dale Hersh
I am using a mssql database and I have a question regarding the datetime type. When I write a date to the database it store the date in the following format: 6/8/03 But when I extract the date from the database it returns the value in the following format: Jun 8 2003 12:00AM Is there a nice funct

RE: [PHP] unexpected date results

2003-08-21 Thread Cody Phanekham
Curt/Mike, > -Original Message- > From: Ford, Mike [LSS] [mailto:[EMAIL PROTECTED] > > date '+%c'# might be different -- check your man date > the date returned was correct... > -Original Message- > From: Curt Zirzow [mailto:[EMAIL PROTECTED] > > putenv('TZ=Australia/S

Re: [PHP] Re: error when using $this

2003-08-21 Thread Jonathan Villa
I am in a class as well as a constructor. class DBI { //var declarations function DBI() { $retVal = true; $this->setDBConn(mysql_connect('localhost',$this->_dbuser,$this->_dbpwd)); if ($this->getDBConn() == false)

[PHP] Re: error when using $this

2003-08-21 Thread DvDmanDT
Has with classes to do... The error claims that code isn't in a class which makes it invalid as $this is the current class... If you aren't in a class then there's no $this... however, if you are in a class, you just found a bug or a typo in your script... -- // DvDmanDT MSN: [EMAIL PROTECTED] Ma

[PHP] error when using $this

2003-08-21 Thread Jonathan Villa
First of all, let me say that I am using PHP 5, but not including any new php5 features, just installed it. Anyway, this is the offending code.. $retVal = true; $this->setDBConn(mysql_connect('localhost',$this->_dbuser,$this->_dbpwd)); if ($this->getDBConn() == false) $retVal = false;

RE: [PHP] Re: google style paginating

2003-08-21 Thread Chris W. Parker
Robert Cummings on Thursday, August 21, 2003 4:46 PM said: > Don't retrieve ALL the queries then > only display a subset. Otherwise what's the point of using the LIMIT > clause for conservation of resources? The "SELECT COUNT( * ) FROM > foo" query is usually optimi

Re: [PHP] Re: google style paginating

2003-08-21 Thread Robert Cummings
Ummm I wouldn't do what these guys suggest (at least not all of it)... perform two queries, one counting the total number of returns the other to actually get the subset. Don't retrieve ALL the queries then only display a subset. Otherwise what's the point of using the LIMIT clause for conservation

[PHP] Access problem

2003-08-21 Thread Ryan A
Hi, I am trying to upload something into a directory on my server but always i am getting a permission denied ONLY from this server...i have tried it on 2 other servers and they seem to be working fine but i have to get it working on this server as this server is the fastest and our production serv

[PHP] pear db.php and non-dbo owned tables...

2003-08-21 Thread Newsom, Tim W - CIQ-2
I am having a problem with a script I wrote.. Behavior: The script will login to a MSSQL server, correctly do sp_help, correctly query on tables owned by DBO. However we have some tables owned by someone other then DBO.. call it A1. Any table specified as A1.tablename will not return a result

[PHP] Easy XML & PHP tutorials ?????

2003-08-21 Thread Joe Harman
Hello all. does anyone have any very easy XML tutorials . I have a simple weather feed I want to implement. but no XML experience thanks Joe Harman

[PHP] Re: google style paginating

2003-08-21 Thread John Ryan
just split up your total number of results ($num_rows) by the results per page (10, i think) and create a for loop to loop from page1 to pagex, creating a link with offset for each one. simple. "Ted Conn" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi I am new to this newsgroup a

Re: [PHP] Re: rich text editing

2003-08-21 Thread Nelson Rodríguez-Peña Alarcón
Hi, Redmond Militante wrote: > (...) what do people generally do when using an activex rich text editor and the user is using a non supported browser? You can display a textarea. It'd allow users to edit/add content in a simpler, less powered way. -- regards,

Re: [PHP] Re: rich text editing

2003-08-21 Thread Redmond Militante
hi all i've been playing around with the 3.0 beta version of html area. it seems really nice. (thank you also btw, for the advice about the rtf tags...). the problem with html area is - it works great on ie and moz, but when you try to look at html area on a nonsupported browser -say, IE for

RE: [PHP] google style paginating

2003-08-21 Thread Chris W. Parker
Ted Conn on Thursday, August 21, 2003 2:01 PM said: > Hi I am new to this newsgroup and I plan on replying to all the posts > I can for now... Hopefully those replies will be useful. ;) > I'll show you the code I am using > now for next and back buttons... Hmm...

[PHP] Thank You

2003-08-21 Thread Damian Brown
Hi, i would just like to thank all the programmers who have registered with me over the past 2 days i now have programmers who are willing to help from all corners of the world from places such as America, Canada, Iceland, Slovenia, UK England, and Indonesia if you would like to register then pl

[PHP] Step-through debuggers?

2003-08-21 Thread Joel Konkle-Parker
I'm looking for some tips on a step-through PHP debugger. I'm cheap and I don't have administrative access to my server. Anything come to mind? -- Joel Konkle-Parker Webmaster [Ballsome.com] Phone [662-518-1636] E-mail[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) T

[PHP] google style paginating

2003-08-21 Thread Ted Conn
Hi I am new to this newsgroup and I plan on replying to all the posts I can for now... but Id like to start out by asking a question. I am trying to paginate my sql results in 10 by 10, which I have been able to do no problem. but what I want to do is have the pages layed out in google style with (

RE: [PHP] File upload and deletion

2003-08-21 Thread Thomas Hochstetter
[snip] - PHP sends request headers (with POST data) to $url - $url sends response back to calling script - PHP works with the response [/snip] Look at fsockopen, with which you can send POST headers, or just fopen. You sit this in a try/ catch sort of script and you should be able to get stuff bac

RE: [PHP] HTTP transactions with PHP?

2003-08-21 Thread Thomas Hochstetter
[snip] - PHP sends request headers (with POST data) to $url - $url sends response back to calling script - PHP works with the response [/snip] Look at fsockopen, with which you can send POST headers, or just fopen. You sit this in a try/ catch sort of script and you should be able to get stuff bac

RE: [PHP] File upload and deletion

2003-08-21 Thread Chris W. Parker
Steven Murphy on Thursday, August 21, 2003 1:40 PM said: > http://www.pfohlsolutions.com/projects/mailer/mailer.zip. I'm having Are you wanting me to download this file, unzip it, stick it on my server, run/test it, and then report back to you with where you've made

[PHP] File upload and deletion

2003-08-21 Thread Steven Murphy
Hi everyone, I'm trying to write a form that hides email addresses from spiders and allows for a single file upload. Here is a link to what I have so far http://www.pfohlsolutions.com/projects/mailer/mailer.zip. I'm having trouble with the file upload. What should happen is: -The user should be abl

Re: [PHP] Quotes in regular expressions

2003-08-21 Thread Scott Fletcher
That may be why! It's the htmlspecialchars() that is the issue.. The signle quote get convert into this, not sure if this apply to your situation though. --snip-- Reference : Special Characters in HTML left single quote ‘ ' right single quote ’ ' --snip-- "Thaddeus J. Quintin

RE: [PHP] Newbie Question

2003-08-21 Thread Van Andel, Robbert
Whether you write the gui interface or someone else does doens't make a difference. Robbert van Andel -Original Message- From: Phil King [mailto:[EMAIL PROTECTED] Sent: Thursday, August 21, 2003 11:49 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Newbie Question Hi Robbert, I beleive

Re: [PHP] Any similiar function to number_format????

2003-08-21 Thread Scott Fletcher
I do that all the time and it is very helpful. I just kind of wonder if there is a php function that would do it all for me. Just got this idea when I use the number_format() and it made me wonder about whether is there such a function as this or not. (Hey Jay! Thanks for the response by the wa

RE: [PHP] Date Validation, Kinda'

2003-08-21 Thread Jay Blanchard
[snip] I'm thinking this: 1. you get the date from the user 2. validate it using checkdate() 3. get the current date 4. compare the two dates to see if the users date is later than todays date 5. return true or return false Sound good? [/snip] Sounds bueno! I am just tired, had checkdate() in ha

Re: [PHP] Quotes in regular expressions

2003-08-21 Thread Thaddeus J. Quintin
The biggest part of my problem was that I had already called "htmlspecialchars" on the string, so there was no quotes to match! Duh. Even after I fixed that it was still turning into a hassle, so I just made two checks, one for single quotes, and, failing that, one for double quotes. not the

RE: [PHP] Date Validation, Kinda'

2003-08-21 Thread Chris W. Parker
Jay Blanchard on Thursday, August 21, 2003 1:24 PM said: > It is to make sure that the user has entered a valid future date in > the MMDD format into the form. (You may very well already know of these two functions and already thought of what I'm going to tell y

Re: [PHP] Any similiar function to number_format????

2003-08-21 Thread David Otton
On Thu, 21 Aug 2003 16:12:16 -0400, you wrote: >This time, without a period. For example, if I get a '1', I would like to >format it to be '01' in two digit. printf ("%02d", 1); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] HTTP transactions with PHP?

2003-08-21 Thread Matt Matijevich
Is it possible to make a complete HTTP transaction from within PHP? Like: - PHP sends request headers (with POST data) to $url - $url sends response back to calling script - PHP works with the response http://www.php.net/http http://nf.wh3rd.net/projects/http.inc/ I have not tested the functi

RE: [PHP] Any similiar function to number_format????

2003-08-21 Thread Chris W. Parker
And now to send my response to the entire list. -- Scott Fletcher on Thursday, August 21, 2003 1:12 PM said: > Wondering if there is any similiar function to a php > number_format(). This time, without a period. For example, if I get > a '1', I would like to f

RE: [PHP] Date Validation, Kinda'

2003-08-21 Thread Jay Blanchard
[snip] Now that I'm thinking about it, what is your goal with this? Is it to make sure the date entered is within a certain range when compared to another date? i.e. The date entered cannot be more than absolutevalue(10 days) away from the first date or is it just to make sure it's in the proper fo

RE: [PHP] Date Validation, Kinda'

2003-08-21 Thread Chris W. Parker
Jay Blanchard on Thursday, August 21, 2003 12:30 PM said: > Has anyone written any date validation function or sequence. Now that I'm thinking about it, what is your goal with this? Is it to make sure the date entered is within a certain range when compared to anoth

[PHP] HTTP transactions with PHP?

2003-08-21 Thread Joel Konkle-Parker
Is it possible to make a complete HTTP transaction from within PHP? Like: - PHP sends request headers (with POST data) to $url - $url sends response back to calling script - PHP works with the response I've seen file_get_contents($url), but that can't send POST-data, unless I'm mistaken (can it?)

[PHP] Re: ensim problems

2003-08-21 Thread DvDmanDT
Maybe AllowOverride isn't set to All... Or maybe php is installed as cgi... Then that directive wont work in .htaccess... -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] "Dennis Gearon" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > please cc me. > > > I'm on a hos

RE: [PHP] Any similiar function to number_format????

2003-08-21 Thread Jay Blanchard
[snip] Wondering if there is any similiar function to a php number_format(). This time, without a period. For example, if I get a '1', I would like to format it to be '01' in two digit. [/snip] Ooh, ooh, me, me! Make sure that the number is a string. $number = 1; settype($number, "string");

[PHP] ignore - test

2003-08-21 Thread Jonatan Pugliese.
test !! - Original Message - From: "Chris W. Parker" <[EMAIL PROTECTED]> To: "Curt Zirzow" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, August 21, 2003 5:07 PM Subject: RE: [PHP] Mailing List Weirdness > Curt Zirzow > on Thursday, August 21, 200

Re: [PHP] Date Validation, Kinda'

2003-08-21 Thread Brent Baisley
I wrote a little function to check if a date is valid. All the hard stuff is done by the checkdate() function, but function just returns a date if valid or false if not: function validDate($year,$month,$day) { if(checkdate($month,$day,$year)) { return date("Y-m-d", mktime(0,0,0,$month,$day,$ye

Re: [PHP] is the list getting virus spammed?

2003-08-21 Thread Scott Fletcher
Oh, it is normal for college campus to get virus spreading around because it's one of the few places where many different people interact into from home or business, so it get easy for it to go around. Filtering the virus is a bit difficult because some aren't by emails. "Richard Baskett" <[EMAIL

[PHP] ensim problems

2003-08-21 Thread Dennis Gearon
please cc me. I'm on a host with ensim, and it **IS** reading the .htaccess file, (I've tested it), but it isn't reading the directive: php_value auto_prepend_file /path/file.name For those with better shell experience, would this find all the .htaccess files using that directive on a shared h

Re: [PHP] Quotes in regular expressions

2003-08-21 Thread Scott Fletcher
Try parsing it as a string where the double quote would become a string. See if that help. (Parse the whole characters into strings then find the double quote.) "Thaddeus J. Quintin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > -- SNIP -- > > If single-quoting (better, if you do

RE: [PHP] Mailing List Weirdness

2003-08-21 Thread Chris W. Parker
Curt Zirzow on Thursday, August 21, 2003 1:09 PM said: > The issue has been resolved, I am currently getting these > autoresponders off the list. Hurray! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Any similiar function to number_format????

2003-08-21 Thread Scott Fletcher
Hi! Wondering if there is any similiar function to a php number_format(). This time, without a period. For example, if I get a '1', I would like to format it to be '01' in two digit. Thanks, Scott F. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php

Re: [PHP] Mailing List Weirdness

2003-08-21 Thread Curt Zirzow
* Thus wrote Van Andel, Robbert ([EMAIL PROTECTED]): > The last two posts I sent to this mailing list produced a flurry of emails > from various locations including majordomo stating it couldnt' understand > the command I just sent it, a reply from a e-commerce site stating my order > has been rece

[PHP] Re: Date Validation, Kinda'

2003-08-21 Thread Scott Fletcher
I did similiar posting about finding the last day of the month last week and got some response. So, I'll just post some clipping from php.net for you. If your machine support the php mktime() then you're in for luck. You can find more info about it at php.net with the function, date() and mktime(

Re: [PHP] Mailing List Weirdness

2003-08-21 Thread Shadow
Yes, me, too -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Date Validation, Kinda'

2003-08-21 Thread Jay Blanchard
Howdy, Has anyone written any date validation function or sequence. I have looked around, but haven't found anything. I am cobbling togather something, but was hoping to not have to re-invent the wheel. The date is formatted MMDD and is input by the user; $userCentury = substr($userDate, 0, 2

Re: [PHP] Newbie Question

2003-08-21 Thread Bryan Koschmann - GKT
> Hi Robbert, > > I beleive my ISP does not allow any GUI interface into mysql databases on > the server. > They have advised me that ALL functions, table creation, modification, > loading data etc has to be done from PHP. > > It appears I have to use SQL statements within a PHP page to load the da

Re: [PHP] Newbie Question

2003-08-21 Thread Robert Cummings
Even if they do know about it, it's functionality conforms to what they said you can do: use SQL statements within a PHP page to load the data *grin*. Cheers, Rob. On Thu, 2003-08-21 at 14:53, Curt Zirzow wrote: > * Thus wrote Phil King ([EMAIL PROTECTED]): > > Hi Robbert, > > > > I beleive my I

Re: [PHP] Newbie Question

2003-08-21 Thread Curt Zirzow
* Thus wrote Phil King ([EMAIL PROTECTED]): > Hi Robbert, > > I beleive my ISP does not allow any GUI interface into mysql databases on > the server. > They have advised me that ALL functions, table creation, modification, > loading data etc has to be done from PHP. > > It appears I have to use S

Re: [PHP] Newbie Question

2003-08-21 Thread Phil King
Hi Robbert, I beleive my ISP does not allow any GUI interface into mysql databases on the server. They have advised me that ALL functions, table creation, modification, loading data etc has to be done from PHP. It appears I have to use SQL statements within a PHP page to load the data. Phil. "V

Re: [PHP] Not fair: REMOTE_HOST

2003-08-21 Thread Simon Fredriksson
It does exist, if the server is set to resolve automatily. From PHP docs: Your web server must be configured to create this variable. For example in Apache you'll need HostnameLookups On inside httpd.conf for it to exist. //Simon John Taylor-Johnston wrote: Aw gee, $_SERVER['REMOTE_HOST'] (on

Re: [PHP] Mailing List Weirdness

2003-08-21 Thread Jonatan Pugliese.
but I never send an unsuscribed mail ! - Original Message - From: "Dan Van Derveer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 21, 2003 2:19 PM Subject: RE: [PHP] Mailing List Weirdness > Most mailing lists(I don't know about this one because I have yet to > un

RE: [PHP] Mailing List Weirdness

2003-08-21 Thread Dan Van Derveer
Most mailing lists(I don't know about this one because I have yet to unsubscribe) require confirmation of the unsub too. I was thinking maybe us users can attempt to remove these other mailing lists for ourselves. Dan -Original Message- From: Van Andel, Robbert [mailto:[EMAIL PROTECTED]

[PHP] connection_aborted(), set_time_limit() problem, detecting browser disconnect

2003-08-21 Thread richardc
Im running Apache 1.3 and PHP 4.3. PHP is running as a module in apache, I have code doing something along the following lines set_time_limit( 0 ); while( true ) { // Do something that may take hours to return } What I hoped would happen (as ignore_user_abort is false) would be that when I h

RE: [PHP] Mailing List Weirdness

2003-08-21 Thread Van Andel, Robbert
Is there no confirmation anymore when subscribing to the list?? I seem to recall that once I added my email I got several emails from this mailing list asking me to confirm the subscription. These returned emails are a pain in the a** if you ask me, or even if you don't :D Robbert van Andel

Re: [PHP] Quotes in regular expressions

2003-08-21 Thread Thaddeus J. Quintin
-- SNIP -- > If single-quoting (better, if you don't variable interpolation) you don't even need to escape the backslashes, so: > > $pattern = '/\bsrc=([\'|"])[^\1]*[\1]/im'; -- SNIP -- nope, not quite... Here's what I've got- $pattern='/\bsrc=([\'|"])([^\1])*[\1]/im'; the string that's comi

Re: [PHP] Mailing List Weirdness

2003-08-21 Thread Jonatan Pugliese.
yes me too - Original Message - From: "Van Andel, Robbert" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 21, 2003 1:35 PM Subject: [PHP] Mailing List Weirdness > The last two posts I sent to this mailing list produced a flurry of emails > from various locations inclu

RE: [PHP] Mailing List Weirdness

2003-08-21 Thread Dan Van Derveer
Its because they are subscribed to this list for some really dumb reason. Someone should figure out who/what addresses they are and remove them from the system. This list would do well moderated but then again who has time to moderate a list like this. Dan -Original Message- From: Van An

[PHP] Mailing List Weirdness

2003-08-21 Thread Van Andel, Robbert
The last two posts I sent to this mailing list produced a flurry of emails from various locations including majordomo stating it couldnt' understand the command I just sent it, a reply from a e-commerce site stating my order has been received, and others. Anyone else running into this? Robbert va

RE: [PHP] Newbie Question

2003-08-21 Thread Van Andel, Robbert
Sorry, I did mean phpMyAdmin (no such thing as phpMySQL). Brain fart. Won't happen again. Robbert van Andel -Original Message- From: Dan Van Derveer [mailto:[EMAIL PROTECTED] Sent: Thursday, August 21, 2003 9:25 AM To: '[EMAIL PROTECTED]' Subject: RE: [PHP] Newbie Question On the sa

[PHP] Need help with GD installation on RH9

2003-08-21 Thread Matt Babineau
Hey All- If anyone has some experience getting GD setup on RH9, I could really use some. Please email me off list if you are willing to answer a few questions. Thanks! Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Newbie Question

2003-08-21 Thread Dan Van Derveer
On the same note I recommend phpMyAdmin(www.phpmyadmin.net). Its interface is quite useful especially when you have multiple DB's to manage on the same server. Dan -Original Message- From: Van Andel, Robbert [mailto:[EMAIL PROTECTED] Sent: Thursday, August 21, 2003 12:24 PM To: [EMAIL PR

RE: [PHP] Newbie Question

2003-08-21 Thread Van Andel, Robbert
You can download PHPMySQL and locate it in a secure portion of your site. It's an excellent gui interface into mySQL. This tool will allow you to upload the script file and insert the data. I'm sorry, but I don't know the URL where to get it. Check sourceforge. Robbert van Andel -Origina

RE: [PHP] Capturing script output

2003-08-21 Thread Chris W. Parker
Joel Konkle-Parker on Thursday, August 21, 2003 9:17 AM said: > Can anyone offer some advice as to what I should do here? 1. Remove the buffering calls that are within the script your trying to buffer. 2. Have the child script write it's output to a file on the serv

[PHP] Newbie Question

2003-08-21 Thread Phil King
Hi, I 'm in the process of modify one of my sites to use PHP/mysql instead of ASP/Ms Access. The Access database has 200 records in it. I have PWS, mysql and PHP running on my local PC. I have used Navicat from mysqlstudio.com to import the access database into mysql and then exported the data

[PHP] Capturing script output

2003-08-21 Thread Joel Konkle-Parker
I've got somewhat of a methodology question here. I've got a YaBBSE message board that I'm trying to integrate into my site layout. On a regular page on my site, I call a page script that defines a body() function and some variables, then calls template.php to write the page. W

RE: [PHP] Quotes in regular expressions

2003-08-21 Thread Ford, Mike [LSS]
On 21 August 2003 17:03, Thaddeus J. Quintin wrote: > Lets say I'm trying to extract some data from an HTML > document. I want > to get the values of the 'src' attributes of various tags. > > For example- > http://www.yahoo.com";> > > here's the pattern I've been trying- > > /\bsrc=(['|"])[^\\

[PHP] Re: naughty words / filter

2003-08-21 Thread Chris Kranz
> // example #1: in the script the text in the variable $guestbook does not > get replaced. > $dirty_words = array("badword1","badword2","badword3"); > $guestbook = stripslashes($message); > foreach ($dirty_words as $word){ > $message = str_replace($word, "", $guestbook); > } > echo $mes

[PHP] Quotes in regular expressions

2003-08-21 Thread Thaddeus J. Quintin
Lets say I'm trying to extract some data from an HTML document. I want to get the values of the 'src' attributes of various tags. For example- http://www.yahoo.com";> here's the pattern I've been trying- /\bsrc=(['|"])[^\\1]*[\\1]/im Basically, match the 'src=' followed by some type of quote,

RE: [PHP] virus on the list

2003-08-21 Thread Chris W. Parker
electroteque on Thursday, August 21, 2003 2:34 AM said: > i am aware of this, is there any way to filter it? i'll shut up now ;\ Yes. But this depends on how your setup is. You could try filtering by filetype. Don't accept files with a .pif extension. You could filt

[PHP] PHP files processing with Apache

2003-08-21 Thread SpyProductions Support Team
Does anyone know how to get apache to process ALL files for php? What would the settings be in a Virtual Host listing (or a plain host listing for that matter)? Thanks! :) -Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Test

2003-08-21 Thread Robert Cummings
Please ignore -- I haven't been able to post lately. -- .-. | Worlds of Carnage - http://www.wocmud.org | :-: | Come visit a world of myth and legend where | | fantastical creatures come to life and the | |

[PHP] PHP returns white page when in high load

2003-08-21 Thread awoerl
Hello,   we are having a problem:   We have running apache + php under Windows, see   http://www.mvhs.de/contentserv/admin/phpinfo.php   for the phpinfo.   Everything runs fine, but after a while, sometimes after a week, it suddenly returns only a white page at the start page.   Howeve

[PHP] Re: Jabber->Re: [PHP] File upload + permissions + .htaccess in php

2003-08-21 Thread Ryan A
Hi, When i FTP in cuteftp is showing me this path: /usr163/home/r/y/ryanknig/public_html/BWH-Ads-Images and i am using this in my php script: $UserUploadDir="/usr163/home/r/y/ryanknig/public_html/BWH-Ads-Images"; I tried to cut out the public_html too but it does not seem to be working Any

Re: [PHP] deprecated function list?

2003-08-21 Thread Adam i Agnieszka Gasiorowski FNORD
Chris wrote: > How can I find a list of PHP functions that are deprecated? Also, how > can I print to the browser the Notice message that would indicate that a > function is depricated? Like: Notice: mysql(): This function is > deprecated; use mysql_query() instead How about you do a sea

[PHP] Re: naughty words / filter

2003-08-21 Thread Anthony Ritter
Was able to get this to filter: . TR -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   >