[PHP] Re: Lots of Variables

2003-01-29 Thread Ben
of matrix. Once you've set this up, you should be able to start building the site around it. Good luck, Ben "César aracena" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi all, > > I'm about to make a site and I

[PHP] Email being blocked

2003-01-29 Thread Ben
also tried talking to sendmail directly, from PHP, rather than using the mail() function, and have found that the same problem occurrs. Could it be something in PHP.INI ? Please help ! Thanks, Ben Peters -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.ph

Re: [PHP] Email being blocked

2003-01-30 Thread Ben
No, its definitely not that. I've set the sendmail_from and it's still not working. Also, the mail() function actually fails to return a success code for the non-sitedomain addresses, implying that the problem is at the source, not the destination. Can anyone help? Thanks Ben &qu

Re: [PHP] Email being blocked

2003-01-30 Thread Ben
, Ben "Timothy Hitchens )" <[EMAIL PROTECTED]> wrote in message 008201c2c859$a4320020$0500a8c0@bambino">news:008201c2c859$a4320020$0500a8c0@bambino... > The box does have a default route to get out of your network I trust?? > > > Timothy Hitchens (HiTCHO) &

[PHP] Re: postmaster@hanmir.com

2003-08-07 Thread Ben
I just got two, Expecting two more now "Joe Harman" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hey is every one getting a returned message from > [EMAIL PROTECTED] > > Joe Harman > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.

[PHP] Re: Php - union

2003-08-14 Thread Ben
You could try... SELECT 'Count1', COUNT(*) FROM table1 WHERE cno = 3 UNION SELECT 'Count2', COUNT(*) FROM table2 WHERE cno = 3 UNION etc. At least you could fill an array to see what was missing. "Ryan A" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > In my php script i a

[PHP] Re: PHP and SQL Server

2003-08-14 Thread Ben
Todd I use the ODBC drivers to connect a w2k server running PHP to a w2k server running MSSql. It is used mainly for real time reports on sales etc. I have had trouble in the past connecting. Downloading & installing MDAC from MS on the php server helped. Not much data is transferred, so never

[PHP] Using variables from includes

2003-06-24 Thread Ben
Ok, I'm sort of a beginner at this, so cut me some slack. :-) Ok, I have an if then statement that after you click a link it looks like this: blah?page=pagename It looks something like this: http://www.site.com/home.php";); } else{ include ("http://www.site.com/"; . "$page" . ".php"); } ?> This co

Re: [PHP] Using variables from includes

2003-06-24 Thread Ben
How would I do this then? "Leif K-Brooks" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Ben wrote: > > >Ok, I'm sort of a beginner at this, so cut me some slack. :-) Ok, I have an > >if then statement that after you click a link it looks li

Re: [PHP] Using variables from includes

2003-06-24 Thread Ben
thanks a bunch "Leif K-Brooks" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Ben wrote: > > >How would I do this then? > > > > include('foo.php'); > > -- > The above message is encrypted with double rot13 encoding. Any u

Re: [PHP] Using variables from includes

2003-06-24 Thread Ben
But how would I go about using the IF THEN statement but allowing the page to see the variables. "Leif K-Brooks" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Ben wrote: > > >How would I do this then? > > > > include('foo.php'); &g

[PHP] Sorting a multi-dimensional array

2002-08-20 Thread Ben
w should I ask PHP to do this? Also, when I do sort by the Rating I want the ID and the name to remain the same for each candidate, i.e., I want the indexes to be maintained. HELP! Thanks in advance Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Regular expression help

2003-11-25 Thread Ben
I need someone to tell me exactly what this regular-expression means: if(ereg("[^ \t\n]",$val)) { // do the job here } I'm looking for an intermittent bug, and I need to understand this to make sure I have found the bug. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscrib

Re: [PHP] Regular expression help

2003-11-25 Thread Ben
Thanks Bronislav for your answer but this can't be it as the following test code passes validation: ' . nl2br($val); ?> Anyone has an idea? "Bronislav kluèka" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > This condition is true if there is no space, new line or tabulator in $val >

Re: [PHP] Regular expression help

2003-11-25 Thread Ben
s Nothhaft" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > ^ inside [] means "not the following chars", so your expression means: > > if ($val contains no space " ", no tab "\t" and no newline "\n") { > //do the jo

[PHP] preg_replace help

2003-12-19 Thread Ben
I am trying to build a pattern to do the following: - Find all occurences of HREF=" and SRC=" except those that include the HTTP:// in their path - Insert my own domain string (e.g.: http://www.my_domain.com) So has an example the input string would be : $val = ' http://www.my_domain.com/test.php

[PHP] preg_replace help

2003-12-19 Thread Ben
I am trying to build a pattern to do the following: - Find all occurences of HREF=" and SRC=" except those that include the HTTP:// in their path - Insert my own domain string (e.g.: http://www.my_domain.com) So has an example the input string would be : $val = 'http://www.test.com/test.php";>ssdf

Re: [PHP] HELP insert still dosn't work

2001-03-19 Thread ben
worked for me) : $query = "insert into internet_tmp select rv_ret(\"$FF\"),\"$FF\",$sesid,(sysdate+0.0021) from dual"; the \"$var\" are important : ".$var." won't do, even if with an echo $query, you _seem_ to get the same results... -- Ben

Re: [PHP] Editing Variables from another script.

2001-03-20 Thread ben
On Tue, 20 Mar 2001 [EMAIL PROTECTED] wrote: > I think you didn't get what I meant, > > I need a script such that I can change the content of database.inc from an > external script (form or whatever) Have you tried with global variables (see array $GLOBALS) ? -- Ben Committe

[PHP] sessions

2001-04-18 Thread Ben
a function (but not in the global scope) thanks ben [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] global sessions

2001-04-18 Thread Ben
a function (but not in the global scope) so...i guess my question is how can i globalize a session? thanks ben [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list ad

[PHP] Faking a form POST

2002-04-15 Thread .ben
. Any help appreciated. Cheers, .ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Faking a form POST

2002-04-16 Thread .ben
IL PROTECTED] > Subject: RE: [PHP] Faking a form POST > > > If you're on windows, you can use a program called Achilles. It acts as a > proxy and lets you edit the data you send from your browser... > > Don't have a URL handy, but it's easy to find. > > --

RE: [PHP] Faking a form POST

2002-04-16 Thread .ben
Erik, thanks for this. Works great, .b > -Original Message- > From: Erik Price [mailto:[EMAIL PROTECTED]] > Sent: 16 April 2002 14:30 > To: [EMAIL PROTECTED] > Cc: PHP > Subject: Re: [PHP] Faking a form POST > > > > On Monday, April 15, 2002, at 09

RE: [PHP] Faking a form POST

2002-04-16 Thread .ben
Thanks to everyone who helped out with this question, got it all working nicely now. Will credit you all on finished site. Cheers, .ben > -Original Message- > From: Steve Dix [mailto:[EMAIL PROTECTED]] > Sent: 16 April 2002 12:26 > To: .ben > Cc: [EMAIL PROTECTED] >

RE: [PHP] Session Variables

2002-04-16 Thread .ben
I have a function that i call at the beginning of each page (well, those that require user auth). checkLogin() this checks for a positive integer value in a session variable called intUserID $_SESSION['intUserID']; is that isn't a positive integer, i redirect to the login page.

RE: [PHP] .inc over .php

2002-04-19 Thread .ben
i'm not sure if the same rules apply to PHP but with ASP I make all my includes contain only functions and constants, no free mark-up, and then save them as .inc.asp so if requested directly they return an empty script. .b > -Original Message- > From: Jason Wong [mailto:[EMAIL PROTECTED

RE: [PHP] .inc over .php

2002-04-19 Thread .ben
> On Friday, April 19, 2002, at 07:22 AM, .ben wrote: > > > i'm not sure if the same rules apply to PHP but with ASP I make all my > > includes contain only functions and constants, no free mark-up, and then > > save them as .inc.asp so if requested directly th

RE: [PHP] MySQL question

2002-04-21 Thread .ben
echo "\n"; echo " $myrow[0]\n"; echo " $myrow[1]\n"; echo "\n"; } echo "\n"; ?> hth, .ben > -Original Message- > From: Mantas Kriauciunas [mailto:[EMAIL

RE: [PHP] Better standards in PHP-coding

2002-04-21 Thread .ben
I prefer the following: function doThing() { strFoo = 'bar'; } nice and tidy. at the end of the day, as long as code is commented, consistant in layout style, and works... that's enough. aint it? .b > -Original Message- > From: Frank [mailto:[EMAIL PROTECTED]] > Sent: 21 Apr

RE: [PHP] Better standards in PHP-coding

2002-04-21 Thread .ben
> From: Martin Towell [mailto:[EMAIL PROTECTED]] > So what I'm basically saying is - choose a style that suits you, and be > _consistant_ with it - oh, and make sure you indent your code, there's > nothing worse than trying to read code that's not indented, or > indented all > over the place!

[PHP] PHP editor for windows

2002-04-22 Thread .ben
Other than notepad, interdev, ultraedit, etc (which i currently use for editing), does anyone know of a good editor for PHP for Windows, ideally with syntax colouring, etc? Cheers, .ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP editor for windows

2002-04-22 Thread .ben
--Original Message- > From: Scott St. John [mailto:[EMAIL PROTECTED]] > Sent: 22 April 2002 06:26 > To: .ben > Cc: PHP > Subject: Re: [PHP] PHP editor for windows > > > Macromedia/Allaire Home Site 5.0 has PHP color coding, not auto-complete, > but you can customize

RE: [PHP] PHP editor for windows

2002-04-22 Thread .ben
> On Monday, April 22, 2002, at 09:36 AM, .ben wrote: > > > Other than notepad, interdev, ultraedit, etc (which i currently use for > > editing), does anyone know of a good editor for PHP for Windows, ideally > > with syntax colouring, etc? > > > > Cheer

RE: [PHP] PHP editor for windows

2002-04-22 Thread .ben
> > >>> Other than notepad, interdev, ultraedit, etc (which i currently > use > > >>> for > > >>> editing), does anyone know of a good editor for PHP for Windows, > > >>> ideally > > >>> with syntax colouring, etc? > > > >> You use etc for editing? Sounds pretty cool. > > This is a new product Er

RE: [PHP] file download in IE

2002-04-23 Thread .ben
I think this is only an issue with an un-patched IE5.01, anything higher than that should work fine. .b > -Original Message- > From: Negrea Mihai [mailto:[EMAIL PROTECTED]] > Sent: 23 April 2002 12:26 > To: [EMAIL PROTECTED] > Subject: [PHP] file download in IE > > > Hi! > > How on eart

RE: [PHP] ASP to PHP

2002-04-23 Thread .ben
I am in the process of porting an ASP site to PHP and am really chuffed with how easy it is so far. I am slightly worried that doing a straight conversion may not be the best idea, but I plan to go through the site again when i'm done, and optimise for PHP where possible. .b > -Original Me

RE: [PHP] Upload

2002-04-24 Thread .ben
http://uk.php.net/manual/en/features.file-upload.php hth, .b > -Original Message- > From: Neil Highley [mailto:[EMAIL PROTECTED]] > Sent: 24 April 2002 15:53 > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Upload > > > Now this IS lazy programming. > > ;-) > > [EMAIL PROTECTED] >

RE: [PHP] Re: PHP with MySQL

2002-05-03 Thread .ben
Just out of interest, what's the standard/best/tried&tested method for handling errors in relation to connecting to DB's? i.e. how to check that the connection was a success, and if not then display why. any pointers appreciated. .b > -Original Message- > From: Mike Eheler [mailto:[EM

RE: [PHP] Re: PHP with MySQL

2002-05-03 Thread .ben
> -Original Message- > From: Jon Haworth [mailto:[EMAIL PROTECTED]] > Sent: 03 May 2002 11:34 > To: '[EMAIL PROTECTED]'; PHP > Subject: RE: [PHP] Re: PHP with MySQL > > > Hi .ben, > > > Just out of interest, what's the standard/best/tried >

RE: [PHP] Re: PHP with MySQL

2002-05-03 Thread .ben
PROTECTED]'; PHP > Subject: RE: [PHP] Re: PHP with MySQL > > > Hi Ben, > > > John, presumably I can leave the error reporting on - > > but pipe it into a file if i wanted, rather than > > displaying on screen, and then redirect the user to > > another pag

RE: [PHP] Re: PHP with MySQL

2002-05-03 Thread .ben
rror() or > errorlog() function that'll write your errors to a file of your > choosing. > > ---John Holmes... > > > -Original Message- > > From: .ben [mailto:[EMAIL PROTECTED]] > > Sent: Friday, May 03, 2002 4:04 AM > > To: PHP > > Subject

RE: [PHP] Tailing a log file {!?}

2002-05-05 Thread .ben
Is there a tail util for NT/W2K? .b > -Original Message- > From: Dave Raven [mailto:[EMAIL PROTECTED]] > Sent: 05 May 2002 10:33 > To: Liam MacKenzie; [EMAIL PROTECTED]; Tom Rogers > Subject: Re: [PHP] Tailing a log file {!?} > > > check directory rights. > > If need be, passwd the user

RE: [PHP] Re: help!!!

2002-05-07 Thread .ben
Hi, I've locked myself out of my flat and left the oven on, could someone write me a PHP script to let me in, thanks. .b > -Original Message- > From: John Holmes [mailto:[EMAIL PROTECTED]] > Sent: 05 May 2002 23:39 > To: 'George Nicolae'; [EMAIL PROTECTED] > Subject: RE: [PHP] Re: help!

RE: [PHP] Tailing a log file {!?}

2002-05-07 Thread .ben
IIS produced plain-text log files, this is what i'd like to tail ideally. cheers. .ben > -Original Message- > From: David Freeman [mailto:[EMAIL PROTECTED]] > Sent: 06 May 2002 02:01 > To: [EMAIL PROTECTED] > Subject: RE: [PHP] Tailing a log file {!?} > >

RE: [PHP] Re: Making a Client-side HTTPS Request

2002-05-07 Thread .ben
> Jonathan Rosenberg wrote: > > I would like to be able to make a client side HTTPS request from > > one of my pages. From searching around, I see that I can do > > everything I want using the CURL library. But the ISP I am using > > does not have the CURL library installed. > > > > I'll ask the

[PHP] issue with PHP_XSLT?

2002-03-21 Thread Ben
PHPROOT! so, when i put the files in "c:\apache\php", it works. why does php_xslt.dll expect the files to be in PHP root? how can i change this to be able to pick up files from the document root itself? thanks, ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

[PHP] Referring Page

2004-10-14 Thread Ben
I am trying to set up a script that will do different things based on the reffering page, without having to include the information in the URL. Does PHP have a built in variable or function that would tell the rest of the script what page the user came from? Any help is much appreciated. Ben

[PHP] Re: Referring Page

2004-10-22 Thread Ben
marketing stand point, not sharing any marketing information keeps me employed. Thanks in advance all. Ben "Ben" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I am trying to set up a script that will do different things based on the >reffering pag

[PHP] this has got me baffled: imagesx() and imagesy() reporting the wrong size?

2009-11-15 Thread Ben
On my site I have a web form for users to upload graphics, however there are constraints on the size allowed. Recently, a user has been having problems, because the code is reporting the wrong size - a size too small to be allowed! They sent me a copy of the image so I could confirm the error

Re: [PHP] this has got me baffled: imagesx() and imagesy()reporting the wrong size?

2009-11-15 Thread Ben
Ashley Sheridan wrote: On Sun, 2009-11-15 at 15:07 -0500, Ben wrote: On my site I have a web form for users to upload graphics, however there are constraints on the size allowed. Recently, a user has been having problems, because the code is reporting the wrong size - a size too small to be

[PHP] Re: Help needed with calculation

2009-11-15 Thread Ben
Chris Payne wrote: Hi everyone, I'm not sure of the correct formula for this, if I have a file - just for example, that is 10245458756 bytes long and the download speed is 60KB a second, what formula would I use to calculate how many seconds/minutes/hours it would take to download the file? Mat

Re: [PHP] this has got me baffled: imagesx() andimagesy()reporting the wrong size?

2009-11-15 Thread Ben
Ashley Sheridan wrote: On Sun, 2009-11-15 at 16:25 -0500, Ben wrote: Ashley Sheridan wrote: On Sun, 2009-11-15 at 15:07 -0500, Ben wrote: On my site I have a web form for users to upload graphics, however there are constraints on the size allowed. Recently, a user has been having problems

[PHP] Re: Can I get the IP address from a visitor?

2009-12-01 Thread Ben
I happen to have grabbed this function from php.net a while back, and have been using it since: // by "fr600 at hotmail dot com" at http://us2.php.net/getenv function getip() { if(getenv('HTTP_CLIENT_IP') && strcasecmp(getenv('HTTP_CLIENT_IP'), 'unknown')) $ip = getenv('HTTP_CLIENT_IP');

[PHP] After calling a Function the Script aborts without any error :-\

2004-04-12 Thread Ben
have no idea what that could be. tia. Ben --- __ Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.656 / Virus Database: 421 - Release Date: 09.04.2004

AW: [PHP] After calling a Function the Script aborts without anyerror :-\

2004-04-12 Thread Ben
IL PROTECTED] Betreff: Re: [PHP] After calling a Function the Script aborts without anyerror :-\ Hi, El lun, 12-04-2004 a las 09:27, John W. Holmes escribió: > From: "Ben" <[EMAIL PROTECTED]> > > > i got a big problem. I have a script which includes some other > >

AW: [PHP] After calling a Function the Script aborts without anyerror :-\

2004-04-12 Thread Ben
But what if the function you are callign doesn't need any passed variable like $bar = foo(); ??? the more strange thing is, on a lamp environment (SUSE 9.0, PHP 4.3.5), the scripts worked, on a wamp (win2k, same PHP) and on a LAMP RH9 same PHP it didn't work. -Ursprüngliche Nachricht-

AW: AW: [PHP] After calling a Function the Script aborts withoutanyerror :-\

2004-04-13 Thread Ben
the function ua_getConnect(); if you need more source code, just tell me, because i still don't have any idea what that strange beahviour could caused by. thanks a lot. Ben -Ursprüngliche Nachricht- Von: William Lovaton [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 13. April

AW: [PHP] smarty

2004-04-16 Thread Ben
But i don't see an alternative in your "Example 3". I hate that coding mixed up with the rest of HTML/CSS. It may be fact, that the perfomance could get worse a bit when using smarty* but since your not coding sth. for a high traffic site the usability of code is more important than that little pea

Re: [PHP] Page Numbering

2007-09-19 Thread Ben
I found the easiest solution is to use the 'Pager' package in pear http://pear.php.net/package/Pager Ben On Wednesday 19 Sep 2007 15:45, T.Lensselink wrote: > On Wed, 19 Sep 2007 10:23:58 -0400, "Dan Shirah" <[EMAIL PROTECTED]> > wrote: > > Becase I am using

Re: [PHP] Upgrade

2007-09-21 Thread Ben
only an example. So upgrading to 5 is not an option for us. -- Ben Web Design Shropshire, Software programing http://www.sparkcomputing.co.uk On Friday 21 Sep 2007 13:43, Zoltán Németh wrote: > 2007. 09. 21, péntek keltezéssel 08.16-kor Ed Curtis ezt írta: > > I'm currently running

[PHP] Redirection

2008-05-07 Thread Ben
Is there a way to take all the variables, no matter what their names and values are, from the parameters in a url and POST them to another URL so that they don't show up in the address bar? I've noticed a huge increase in my bounce rate since I added some tracking parameters to my urls, but I n

[PHP] Arrays

2004-11-08 Thread Ben
al in replies. Thanks so much for help. ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Please save me from insanity - PHP4 / OO

2004-12-05 Thread Ben
t is my problem here? Please help! Thanks, Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Please save me from insanity - PHP4 / OO

2004-12-05 Thread Ben
Thanks a lot for your responses guys. Unfortunately it still isn't working for me. I've tried both : $ob->prop = &$this and $ob->prop &= $this (just in case) Neither produce a "PHP is OK". I'm using version 4.2.2 btw. (If ONLY I was on 5) T

[PHP] Re: Please save me from insanity - PHP4 / OO

2004-12-05 Thread Ben
Thanks a lot Greg - those pesky &s! Code now all working... Greg Beaver wrote: Ben wrote: class Ob { var $prop; } class Test { function setMe(&$ob) { $ob->prop = $this; } } $ob = new Ob(); $test = new Test(); $test->setMe($ob); if ($ob->prop) error_log("PH

[PHP] 4.3.10 breaking things?

2004-12-17 Thread Ben
? - Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: 4.3.10 breaking things? Back working after reverting to 4.3.9

2004-12-17 Thread Ben
Ben wrote: Hi All, I just upgraded to 4.3.10 and have found a number of scripts have broken including: phpMyAdmin-2.6.1-rc1 squirrelmail-1.4.3a + the xss patch I know, bad form replying to one's own message... Reverting back to 4.3.9 with the same build configuration options used in 4.3.1

[PHP] Re: PHP + MSSQL Problem

2004-12-18 Thread Ben
this may not be necessary, I have never tried on windows. - Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: 4.3.10 breaking things? Back working after reverting to 4.3.9

2004-12-18 Thread Ben
Michael Sims wrote: Ben wrote: Reverting back to 4.3.9 with the same build configuration options used in 4.3.10 has fixed the problems with the various scripts. Do you use Zend Optimizer? No, but thanks for the suggestion! Turning off php accelerator in my php.ini seems to have solved the

Re: [PHP] Using encrypted passwords

2004-12-20 Thread Ben
ed to decrypt the file came from the web site user over an SSL encrypted session, otherwise you are simply moving your plain text information to a different file. - Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Newbie, easy question...

2004-12-21 Thread Ben
ST as $key => $value) { $_POST[$key]=strip_tags($value); } print("".$_POST['fusername']." ".$_POST['lusername'].""); ?> - Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Exploit via phpBB?

2004-12-22 Thread Ben
Ashley M. Kirchner wrote: You're missing the fact that you need to read phpBB's web site from time to time. And subscribe to BugTraq. It would have given you a month's warning. - Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: 4.3.10 failure

2004-12-29 Thread Ben
likely find a solution. - Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to argue with ASP people...

2004-12-30 Thread Ben
g locked into a particular OS or web server allows for much more flexibility as you go forward. - Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] sending multiple headers (session_start() and setcookie() )

2005-01-08 Thread Ben
ther function inside my "ycphpfunc.php" file. Can someone show me a way to include both session_start() and setcookie() before ? Thanks for your time! Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Checking a date for validity

2005-09-07 Thread Ben
r to put the year, month, and day. Once the info has been submitted you can check them against the checkdate function (http://ca3.php.net/manual/en/function.checkdate.php) to make sure they're valid (ie February 31st, etc.). - Ben -- PHP General Mailing List (http://www.php.net/) To u

Re: [PHP] trying to figure out the best/efficient way to tell who is logged into a site..

2005-09-13 Thread Ben
letes or marks as stale records for users who haven't requested a new page within a set period of time. - Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] trying to figure out the best/efficient way to tell whois logged into a site..

2005-09-13 Thread Ben
d, i can't find any code sample/articles that get to this point.. any code/thoughts/comments/etc... Most forums have some type of "who is online" functionality, have a look at how they do it. - Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Quick Poll: PHP 4 / 5

2005-09-13 Thread Ben
ns, are pretty conservative. Personally, SimpleXML was all I needed to switch after a particularly frustrating bought with php4 and xml parsing. - Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] trying to figure out the best/efficient way to tell who is logged into a site..

2005-09-14 Thread Ben
tto with cookies. You really need to know where your variables are coming from if you want a measure of security. - Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: trying to figure out the best/efficient way to tell whois logged into a site..

2005-09-14 Thread Ben
lems. And the lazy guy answer... typing $_POST and $_GET is faster than typing $_REQUEST ;-). - Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: trying to figure out the best/efficient way to tell whois loggedinto a site..

2005-09-14 Thread Ben
your functions they won't care where you got the values from. Deal with the post or get values in whatever script handles your form submissions and have it pass the values on to your functions. IE In your post handling script: $result=doSomething($_POST['this'],$_POST['t

[PHP] Re: help out a noob w/ include & switch?

2005-09-20 Thread Ben
r variables are being passed in the url you should be referencing them with $_GET[''], so for instance at the top of navigate.php you should have: switch ($_GET['nav']) - Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: SUCCESS! Re: help out a noob w/ include & switch?

2005-09-20 Thread Ben
jay thompson said the following on 09/20/05 17:35: > Thank you all for the kind help. I have The site working now (once i move it > from the test loc. I'll post a link here. It's for a performance art > festival here in vancouver). The was actually with $_GET in the switch as

Re: [PHP] Re: email validation (no regex)

2005-09-21 Thread Ben
(especially qmail) do not, by default or without patching, block messages from being sent to non-existant email addresses. Instead the message is accepted and bounced. Your method will not detect this. - Ben function isValidEmail($address, $checkMX = false) { // Return true or false dependi

[PHP] Re: session and cookie by javascript

2005-09-22 Thread Ben
;] http://ca3.php.net/manual/en/features.cookies.php - Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Problem with Internet Explorer when downloading / viewing dynamically generated PDF files

2005-09-22 Thread Ben
} header("Content-type: application/pdf"); header("Content-Length: $len"); header("Content-Disposition: inline; filename=".$filename); print $reportPDF; Let me know if this doesn't solve your problem. - Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Trying to install PHP

2005-09-27 Thread Ben
cycle that may make it unacceptable for server use). At the very least you should check out the fedora legacy project (http://www.fedoralegacy.org/) which releases security fixes for RH9 and older Fedora versions. If you have any more questions on this feel free to email me off list since th

Re: [PHP] PHP & SOAP for production

2005-10-03 Thread Ben
)" in the docs. So is this already in the released version of PHP 5 or > not ? Yes, already in the release version: http://ca3.php.net/manual/en/ref.soap.php For php4 try nusoap: http://sourceforge.net/projects/nusoap/ - Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: How can I connect a remote server from phpmyadmin?

2005-10-12 Thread Ben
course the mysql server has to be configured to allow remote access for the user(s) involved. - Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] prevent user from getting scripts outside the web folder [this better?]

2005-10-13 Thread Ben
g is that mysql_real_escape_string will only work while you are connected to mysql. Not sure if that is the case in your situation. - Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: fckeditor and PDF and pesky users

2005-10-14 Thread Ben
uch every platform. http://jeff.cs.mcgill.ca/~luc/PSto.html You could convert the file to jpeg or gif and then make the graphic available for using in fckeditor. - Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Still struggeling with my first script...

2005-10-14 Thread Ben
he tutorials I have tried seems to fail. How can I learn when I'm apparently given the wrong information. Are you 100% certain that your php install is working properly? What error messages are you receiving? Make a page with only the following: What do you see when you open it? - Ben

Re: [PHP] RE: php-general Digest 17 Oct 2005 10:35:46 -0000 Issue 3742

2005-10-17 Thread Ben
ence under the Installation heading. You want to install the pdflib extension using PEAR with the command: pear install pdflib Once you've done that edit your php.ini and make sure it includes the line: extension=pdf.so Then restart your web server. - Ben -- PHP General Mailing L

[PHP] Re: php, expect and screen

2005-10-18 Thread Ben
to be run interactively or are there other non-interactive ways to get your status information? - Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: moving website from windows to linux hosting

2005-10-24 Thread Ben
m than the other so I was getting errors about undeclared variables (bad habit) on one platform that I wasn't getting on the other. Otherwise I think you will find the move to be relatively painless. That said, I'd start testing on the Linux server as soon as possible just in case. -

[PHP] Re: Decompress a zlib'd string in PHP

2005-10-26 Thread Ben
manual is your friend :-). - Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: str_split() and errors?

2005-10-26 Thread Ben
? Errors: PHP Fatal error: Call to undefined function: str_split() in file.php on line 21 Did you read the second comment on the str_split manual page? I suspect you're using php4. http://ca.php.net/manual/en/function.str-split.php - Ben -- PHP General Mailing List (http://w

Re: [PHP] Using PHP for accsess control, preventing access to staticfiles

2005-10-27 Thread Ben
ion to run on IIS, as well. Move the files outside the document root so that they aren't available via a direct URL, then create a 'file access page' in php that will check for the session variable and either send or not send the file based on whether the user has access. - Be

  1   2   3   4   5   6   7   8   9   10   >