Re: [PHP] File uploading?

2001-01-31 Thread Ben
al/en/features.file-upload.php Drop me a line if you are still stuck, Ben Lauri Vain wrote: Hello everybody, I'm trying to do a file upload from the users computer via HTML file form element to a Linux server running Apache. The file is selected by the user from her or his computer, they hit

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 Committee, n.: A group of men

[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, visit: http

[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
] 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. -- jon -Original Message- From: .ben [mailto:[EMAIL

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:36 PM, .ben wrote: Hi. Does anyone

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] Subject: RE: [PHP

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

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

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 they return an empty script. Until

RE: [PHP] MySQL question

2002-04-21 Thread .ben
; } echo /table\n; ? hth, .ben -Original Message- From: Mantas Kriauciunas [mailto:[EMAIL PROTECTED]] Sent: 22 April 2002 01:07 To: PHP General List Subject: [PHP] MySQL question Hey PHP General List, Amm... can anybody point me to some good tutorial that talks about

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 April

RE: [PHP] Better standards in PHP-coding

2002-04-21 Thread .ben
From: Martin Towell [mailto:[EMAIL PROTECTED]] snip 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
. 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 it for auto-complete if you want. You can also make it tab 2 instead of 4

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? Cheers, .ben You use etc for editing? Sounds pretty

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 Erik, only released at the

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 earth do I

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

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/triedtested 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

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 tested method for handling errors in relation to connecting to DB's

RE: [PHP] Re: PHP with MySQL

2002-05-03 Thread .ben
: [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 page? Of course you can - I generally have my pages send me email when they throw

RE: [PHP] Re: PHP with MySQL

2002-05-03 Thread .ben
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] Re: PHP with MySQL Oh, i agree entirely. Ok, i'll look into the logging/mailing solution

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 {!?} Is there a tail util for NT

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 them if they'll

[PHP] Sorting a multi-dimensional array

2002-08-20 Thread Ben
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

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 MSSQL not MYSQL. MSSQL does not have anything

Re: [PHP] Upgrade

2007-09-21 Thread Ben
. -- 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 Debian Woody with PHP 4.1.2 installed by default. It's really stable and I

[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

Re: [PHP] Checking a date for validity

2005-09-07 Thread Ben
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 unsubscribe

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

2005-09-13 Thread Ben
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
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
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
a get look for a $_GET. Ditto 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
. 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
submissions and have it pass the values on to your functions. IE In your post handling script: $result=doSomething($_POST['this'],$_POST['that']); In your get handling script: $result=doSomething($_GET['this'],$_GET['that']); - Ben -- PHP General Mailing List (http://www.php.net

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

2005-09-20 Thread Ben
are being passed in the url you should be referencing them with $_GET['variablename'], 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 suggested by Ben. Thnks

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

2005-09-21 Thread Ben
the message is accepted and bounced. Your method will not detect this. - Ben function isValidEmail($address, $checkMX = false) { // Return true or false depending on whether the email address is valid $valid_tlds = array(arpa, biz, com, edu, gov, int, mil, net, org, aero, ad, ae

[PHP] Re: newbie questionsession and cookie by javascript

2005-09-22 Thread Ben
.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
; 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
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 this is not really php related. - Ben -- PHP General Mailing List (http://www.php.net

Re: [PHP] PHP SOAP for production

2005-10-03 Thread Ben
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
. And of 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
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
://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
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: ?php phpinfo(); ? 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
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 List (http

[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
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. - Ben -- PHP General

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

2005-10-26 Thread Ben
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
: 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://www.php.net

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

2005-10-27 Thread Ben
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. - Ben -- PHP General

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

2005-10-27 Thread Ben
Dan Trainor said the following on 10/27/2005 01:34 PM: Ben wrote: 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

Re: [PHP] PHP and MSSQL on Linux

2005-11-02 Thread Ben
to start looking. - Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] a code question..??

2005-11-10 Thread Ben
explained. - Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] a code question..??

2005-11-10 Thread Ben
.. As Richard suggested, curl ought to work or what ever web services flavour you prefer. - Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] a code question..??

2005-11-10 Thread Ben
server'. Request the file with curl and voila, you're done. - Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Install problem

2005-11-14 Thread Ben
--r-- which will give your web server's user (and ever other user account on the machine - which may not be what you want) permission to read the file. - Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: checkng if string is a number

2005-11-17 Thread Ben
work, intval converts ten to a number so that doesn't work is_numeric http://ca.php.net/is_numeric - Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: php error message

2005-11-17 Thread Ben
and only output it to the browser after any header() function use. - Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Variables in Variables?

2005-11-18 Thread Ben
.;; eval($eval); echo $temp; } - Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Can't execute external program

2005-11-21 Thread Ben
into whether you are running in safe mode or not, and if you are whether you have your program in the safe_mode_exec_dir or not. Also check disable_functions to see if any of the ones you are having trouble with are listed. - Ben -- PHP General Mailing List (http://www.php.net

Re: [PHP] Is there an alternative for $_FILES['guildimage']['type'] == image/jpeg

2005-11-23 Thread Ben
It seems to work well for me and there's no need to trust whatever the browser claims a file is or having to worry about different browsers inconsistently describing a mime type. - Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: page duration tracking

2005-11-30 Thread Ben
page. There is no reliable way to record if they leave your stie for another site or close their browser. - Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: problem in installing php5

2005-12-01 Thread Ben
development package installed?... Please provide more information about what you have done and what error messages you are receiving so that other readers are able to help you. - Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PDF Generator

2005-12-02 Thread Ben
would of course have to provide your code to your client, but then you have to do that with PHP anyway. - Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What software do you use for writing PHP?

2005-12-06 Thread Ben
) so that you can resize your shell window horizontally as well as vertically. - Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What software do you use for writing PHP?

2005-12-06 Thread Ben
Jay Blanchard said the following on 12/06/2005 11:24 AM: [snip] FlameBateAnd for those interested in using a real computer/FlameBate, it's GUI also runs under MacOSX. [/snip] If they are real why aren't there more of them? 'cause it's real expensive ;-). - Ben -- PHP General Mailing List

Re: [PHP] What software do you use for writing PHP?

2005-12-07 Thread Ben
drawn, What, can't you use punch cards? - Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] sessions

2001-04-18 Thread Ben
(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
(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

[PHP] Re: Lots of Variables

2003-01-29 Thread Ben
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 need all the help I can to get started. This can be a long e-mail so please be patient and read all of it

[PHP] Email being blocked

2003-01-29 Thread Ben
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.php.net

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 Lowell Allen

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) Web Application Consulting e-mail

[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:

[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 am

[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: ?php if(!$page) { include (http://www.site.com/home.php;); } else{ include (http://www.site.com/; . $page

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 like this: blah?page=pagename It looks something

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 unauthorized attempt to decrypt it will be prosecuted to the full extent

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'); -- The above message is encrypted with double rot13 encoding

[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

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: ?Php $val = \t test \n; if(ereg([^ \t\n],$val)) { echo 'In here!!'; } echo 'BR' . nl2br($val); ? Anyone has an idea? Bronislav kluèka [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]

Re: [PHP] Regular expression help

2003-11-25 Thread Ben
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 job ... } Regards, Matthias Ben wrote: I need someone to tell me exactly what this regular

[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 = ' A

[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 = 'A

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

2004-04-12 Thread Ben
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
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 script i tried include, require and require once. The problem is, if i do

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
list are just some, but not all the functions, that are really in some files, for example in the file ua_index.php 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

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

[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
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 page, without having to include the information

[PHP] Arrays

2004-11-08 Thread Ben
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
, 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) Thanks again, Ben Greg Beaver wrote: Ben wrote

  1   2   3   4   5   6   7   8   9   10   >