[PHP] Re: Server Map Path

2004-01-19 Thread Ben Ramsey
Is there an equivalent to Server.MapPath("MyDir\MyLocation") in php? I've looked in the docs and don't seem to find it. I did find a reference to; I believe what you're looking for is: realpath('./') That should do the same trick as Server.MapPath(). -Ben

Re: [PHP] Is this code right?

2004-01-19 Thread Ben Ramsey
need to only do the following: $Serial = $_GET['Serial']; $UserSerial = $row[0]; if ($Serial == $UserSerial) Then, that should at least compare the serial field from the database with the serial variable in $_GET. -Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Generating an Excel file?

2004-01-19 Thread Ben Ramsey
I'm pretty sure I know how to use header() create a CSV file for a client to download data from a database, but I think it would really impress this client if I could generate a Microsoft Excel file instead of a CSV file. Anyone know how to do this? -Ben -- PHP General Mailing List

[PHP] Re: Generating an Excel file?

2004-01-19 Thread Ben Ramsey
lename.csv.php". The code to right my headers is: header("Content-Type: text/comma-separated-values"); header("Content-Disposition: attachment; filename=$name.csv"); Do I need to add another header? -Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Generating an Excel file?

2004-01-19 Thread Ben Ramsey
Adding any of those headers still does not remove the ".php" from the end of the file when I am prompted for the download. I have a client that will be downloading this file, and I do not wish to instruct them to first remove the ".php" extension before they can vi

Re: FW: [PHP] Re: Generating an Excel file?

2004-01-20 Thread Ben Ramsey
e extensions in IIS. At any rate, I tried it in IE6, and it prompts me to download it correctly and without the ".php" extension on the end. I had been trying it in Mozilla Firebird 0.7 prior to that. Since the client uses IE rather than Mozilla, then I won't worry about it f

Re: FW: [PHP] Re: Generating an Excel file?

2004-01-20 Thread Ben Ramsey
[EMAIL PROTECTED] wrote: > or download the file without the php-script and analyse the > http-headers with a network-sniffer There is no way to download the "file" without the PHP script. It is being generated by the PHP script from data in a database. The "file" doe

Re: [PHP] $_SESSION

2004-01-20 Thread Ben Ramsey
Alex Hogan wrote: I got back an error that read; Warning: session_start(): Cannot send session cookie - headers already sent by Warning: session_start(): Cannot send session cache limiter - headers already sent. You need to use session_start() before any headers are written. -Ben -- PHP

[PHP] Re: connecting PHP to MS Access

2004-01-20 Thread Ben Ramsey
ODBC function reference is at: http://us3.php.net/manual/en/ref.odbc.php -Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Flash-PHP Socket Connection

2004-01-20 Thread Ben Ramsey
rials/html/loadtextfile.htm Also, from what I understand, Flash now has a great XML parser, so you could use PHP to generate XML and Flash could read in the XML as variables. You might want to look into that, but I think it's only available in the newest version. -Ben Eric Bolikowski

[PHP] Re: Flash-PHP Socket Connection

2004-01-20 Thread Ben Ramsey
and Flash can read that in just fine without needing to connect via a socket. -Ben Ben Ramsey wrote: Flash has the ability to read in text files, so you could use PHP to output data in the correct format and use Flash to read the PHP script like it reads a text file. We did this in ASP once u

[PHP] Re: Flash-PHP Socket Connection

2004-01-20 Thread Ben Ramsey
ds at Macromedia.com may be the best place to ask. Then again, I could be absolutely wrong. ;-) -Ben Eric Bolikowski wrote: Hey Ben I know it may sound nuts, but I really want to make a socket connection between a Flash and a PHP file. Normally I would simply read in a text file/read XML/send

[PHP] Re: PHP FuseBox

2004-01-21 Thread Ben Ramsey
ed in helping create this standard. Nonetheless, some good coding practices for PHP are in the PEAR manual (as this is the standard way that PEAR developers request that you code PEAR packages). These standards may be found at: http://pear.php.net/manual/en/standards.php -Ben Alex Pilson

Re: [PHP] PHP 5 Book

2004-01-21 Thread Ben Ramsey
Speaking of MySQL, I heard tale that 5.0 would include VIEWS, but I can't find that in any of the new features logs. Anyone know about this? It'd be a great feature to have. Unless, of course, anyone knows how to do this without a "CREATE VIEW" statement. -Ben [EM

Re: [PHP] PHP FuseBox

2004-01-21 Thread Ben Ramsey
If you checked out the PHP Community site announcement on the php.net site, you'd notice that the site may involve some coding standards creation. I find this very interesting and perhaps exciting. http://shiflett.org/archive/19 [EMAIL PROTECTED] wrote: I've developed my own methodology and cod

Re: [PHP] PHP 5 Book

2004-01-22 Thread Ben Ramsey
VIEWs are those nice things that PostgreSQL includes that MySQL doesn't yet. ;P Jay Blanchard wrote: [snip] Speaking of MySQL, I heard tale that 5.0 would include VIEWS, but I can't find that in any of the new features logs. Anyone know about this? It'd be a great feature to have. Unless,

Re: [PHP] MSSQL connection

2004-01-22 Thread Ben Ramsey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 If your Web server is running on a machine that is separate from your database server, then you'll also need to copy the file ntwdblib.dll from the database server to your C:\WINDOWS\system32 folder. PHP needs that DLL for the mssql functions to work c

[PHP] Access Violation at 77FCC61F?

2004-01-23 Thread Ben Ramsey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Anyone know what this error means: PHP has encountered an Access Violation at 77FCC61F I'm running PHP 5.0 beta 3 on IIS 5.0 on a Win2K machine. I received the above error message multiple times after changing addslashes($value) to str_replace("'", "

Re: [PHP] Why we love Microsoft (0t)

2004-01-23 Thread Ben Ramsey
exclusively. This just means that the company has excellent brand recognition. Other brands that have this same level of recognition include Coke, Tylenol, Tupperware, etc. - -Ben Tim Thorburn wrote: | Well there's also the small fact that under US copyright law if a | company doesn't e

Re: [PHP] Why we love Microsoft (0t) - JELLO

2004-01-23 Thread Ben Ramsey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 As a humorous sidenote, I meant to say: let's hope that Windows (a registered trademark brand of Microsoft) doesn't get to the level of name recognition where the consumer refers to all graphical desktops as "Windows." ;-) Roger Spears wrote: | Anothe

[PHP] Re: PHP integration with ASP

2004-01-25 Thread Ben Ramsey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Since the action of your form is the ASP script, it will always take your user to the ASP script and not return results to the PHP application, which I think it what you want to do, if I am not mistaken. I found a link in the manual (http://us4.php.net/

[PHP] Re: question PHP - HTML

2004-01-26 Thread Ben Ramsey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 If you "View Source" in IE, you'll see it printed in the expected way. The browser, though, will not show it as you expect it. This is because the browser needs a tag for a newline and will not read a \n as a . So, use instead of \n. Viviane Hu wrot

[PHP] Re: send a POST to a URL from within PHP code

2004-01-26 Thread Ben Ramsey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I answered a question similar to this yesterday. There is a user-submitted function listed in the PHP manual under HTTP functions that will POST to another page from within a PHP script and return the value of the POST back to the PHP script without ev

[PHP-CVS] cvs: php4 / README.Zeus /sapi/isapi php4isapi.c

2001-01-16 Thread Ben Mansell
joostersTue Jan 16 02:44:52 2001 EDT Modified files: /php4 README.Zeus /php4/sapi/isapiphp4isapi.c Log: @ Support Zeus 3.3.8 Added changes to environment variable manipulations, to support Zeus 3.3.8 and increase compatibility between Ze

Re: [PHP] zend ide & debugger

2001-01-23 Thread Ben Gollmer
e's not an evaluation version available for download. Ben At 03:15 PM 1/23/2001, you wrote: >ola all, > >has anyone used the zend ide+debugger? > >before I slap down $800, I'd like to know if people who have think it's >groovy.. > >:) > >_alex > >

[PHP-CVS] cvs: php4 / README.Zeus

2001-01-24 Thread Ben Mansell
joostersWed Jan 24 10:20:36 2001 EDT Modified files: /php4 README.Zeus Log: Added 'you must use gcc' comment to build instructions. Index: php4/README.Zeus diff -u php4/README.Zeus:1.7 php4/README.Zeus:1.8 --- php4/README.Zeus:1.7Tue Ja

[PHP] Troubleshooting Strange Problem

2001-02-22 Thread Ben Ocean
Hi, I moved my server, changed the IP addresses, etc., and now I'm having strange problems with PHP. Not on all scripts, just some. Scripts that worked just fine before I moved it. Most notably, I'm working with Phorm < http://holotech.net > and I can no longer pass certain variables. Again: t

[PHP] Temporarily turning off magic quotes?

2001-02-24 Thread Ben Cheng
data entry to the preview page since all quotes keep getting backslashed. Is there a way to do this? -Ben -- 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: [

[PHP] Escaping double quotes?

2001-02-24 Thread Ben Cheng
How do you escape double quotes? I have the following which is supposed to make any " in a string into \" but it doesn't seem to work. What's wrong with it? $tmp_string = str_replace ("\"", "\\\"", $tmp_string); -Ben -- PHP General Mailing

Re: [PHP] Can't find php.ini on my Linux/Apache module install

2001-02-26 Thread Ben Peter
Ken, if PHP is 'built in' to apache (--with-apxs, besides other ways to achieve this), it is configured through Apache. This is either httpd.conf, or .htaccess files within your web tree. The 'configuration' section in the manual is more specific on that. Cheers, Ben Ken

[PHP] Re: Can't find php.ini on my Linux/Apache module install

2001-02-26 Thread Ben Peter
Hi Ken, that looks like both are being read, which I wasn't aware of. Thanks for pointing out. Setting things within the apache configuration is quite useful if you want to set them on a per-directory basis, or have different settings for .php and .phtml files, etc, etc. Cheers, Ben Ken

[PHP-CVS] cvs: php4 /sapi/isapi php4isapi.c

2001-02-27 Thread Ben Mansell
joostersTue Feb 27 05:29:22 2001 EDT Modified files: /php4/sapi/isapiphp4isapi.c Log: Added PHP_AUTH_USER, PHP_AUTH_PW and PHP_AUTH_TYPE environment variables for Zeus/ISAPI, so basic authenication works. Submitted by: [EMAIL PROTECTED] In

Re: [PHP] passing variables

2001-03-03 Thread Ben Weinberger
You could still use a form, but just have a very small one... something like: This would then pass any variables you wanted to the next page... -Ben At 03:49 PM 3/3/2001 +0100, Ernest E Vogelsinger wrote: >At 15:41 03.03.2001, george said: >---

Re: [PHP] passing variables

2001-03-03 Thread Ben Weinberger
You could make them on the same page with a PHP statement something like: if ($Reply) { //put your reply script here } elseif ($Delete) { //put your delete script here } Just make sure the name and value of the input tags on the previous page are called Reply and Delete. Best, -Ben At 03

[PHP-CVS] cvs: php4 /sapi/isapi php4isapi.c

2001-03-06 Thread Ben Mansell
joostersTue Mar 6 07:09:15 2001 EDT Modified files: /php4/sapi/isapiphp4isapi.c Log: Thread hashtable was being initialized with a size of 1! Changed to 128 as a more sensible number. # Also could change the 'expected resources' parameter from 1,

[PHP-CVS] cvs: php4 /sapi/isapi php4isapi.c

2001-03-07 Thread Ben Mansell
joostersWed Mar 7 02:28:00 2001 EDT Modified files: /php4/sapi/isapiphp4isapi.c Log: Added support for Zeus SSL client certificate information. Added SERVER_SIGNATURE to the environment. Submitted by: [EMAIL PROTECTED] Index: php4/sapi/is

[PHP] Retrieving data from multiple select list

2001-03-10 Thread Ben Cheng
of the selected items. How do I see all the values that have been selected? -Ben -- 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]

Re: [PHP] Retrieving data from multiple select list

2001-03-11 Thread Ben Cheng
cause it's looking for a CategoryID[] array instead of a select box named CategoryID[]. -Ben P.S. Please send responses directly to my email address as well since I'm in digest mode. Thanks. At 10:05 AM +0100 3/11/01, Edi Murfy wrote: >try this: > >in the form: > >Ite

[PHP-CVS] cvs: php4 / Makefile.in configure.in /sapi/fastcgi CREDITS Makefile.in README.FastCGI config.m4 fastcgi.c php.sym php_fastcgi.h

2001-03-19 Thread Ben Mansell
| | http://www.php.net/license/2_02.txt. | | If you did not receive a copy of the PHP license and are unable to | | obtain it through the world-wide-web, please send a note to | | [EMAIL PROTECTED] so we can mail you a copy immedia

[PHP-CVS] cvs: php4 / README.Zeus /sapi/isapi config.m4

2001-03-19 Thread Ben Mansell
joostersMon Mar 19 03:23:57 2001 EDT Modified files: /php4 README.Zeus /php4/sapi/isapiconfig.m4 Log: Altered README.Zeus to give instructions on building FastCGI. Changed --with-zeus configure option into --with-isapi, since its more de

Re: [PHP] Netscape 4.77 and PHP

2001-04-15 Thread Ben Quick
Do you use tables? If so, check all , , and tags have a closing tag to go with them -Original Message- From: Jason Caldwell <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: 15 April 2001 06:55 Subject: [PHP] Netscape 4.77 and PHP >I've created a test.php file that

[PHP] Linux, Apache, PHP and Sendmail

2001-04-20 Thread Ben Cairns
I am having a problem getting Sendmail to work on RH Linux 6.0 I am trying to get it to relay messages through our mail server. But it is not even attempting to connect to the mail server. The Mail functions worked when the scripts were on a Winnt box. -- Ben Cairns - Head Of Technical

[PHP] Transfering an image

2001-04-25 Thread Ben Quinn
Hi all, I am trying to copy an image from an external server and save it to my own. I have the following script to do this for a txt file and it works great! ?> $page = "../temp/yep.txt"; $date = date("http:/www.example.com/yep.txt"); $cartFile = fopen("$page","a"); fwrite($cartFile,$date,st

[PHP] Links

2001-04-28 Thread Ben Quinn
Hi all, I've been trying for many hours to find information on this, but not having much luck. What i want to do is have an index.php page, and then each link on that page has a URL like index.php?linkidie. index.php?links etc Can anyone point me in the right direction? -- PHP Genera

[PHP] PHP 4.0.5 Parse Problems

2001-05-06 Thread Ben Gollmer
w, PHP 4.0.5 isn't a must-have upgrade, so I went back to 4.0.4pl1. Is this a bug, or some change in PHP that is causing it to ignore alternative (non-UNIX) line endings? If there is a problem with PHP, I want to make sure everyone is aware of it so it can be fixed in 4.0.6. Ben Gollmer --

RE: [PHP] remotely include file

2001-05-09 Thread Ben Cairns
file for output. Therefore, you cannot remotely include (via http) a php file. If you could, this would be a massive security loophole. -- Ben Cairns - Head Of Technical Operations intasept.COM Tel: 01332 365333 Fax: 01332 346010 E-Mail: [EMAIL PROTECTED] Web: http://www.intasept.com "MAKING

[PHP] email_valid function not working??

2001-05-09 Thread Ben Rigby
hi. thanks in advance for any help! i'm trying to make the email_valid function that i found on php.net work. i can get it to validate the email formatting, but it always fails on the MX check and the DNS check. any ideas??? thanks! please cc [EMAIL PROTECTED] with any answers function valid_ema

RE: [PHP] Hi!

2001-05-11 Thread Ben Cairns
You can so this with JavaScript: Go back Two Pages -- Ben Cairns - Head Of Technical Operations intasept.COM Tel: 01332 365333 Fax: 01332 346010 E-Mail: [EMAIL PROTECTED] Web: http://www.intasept.com "MAKING sense of the INFORMATION TECHNOLOGY age @ WORK.." -- PHP General Ma

Re: [PHP] PHP priviledges

2001-05-14 Thread Ben Gollmer
to just reading the files. Also, starting so many instances of Apache seems unnecessarily resource-intensive. I'm by no means a security expert - this email merely reflects the results of experimentation on my own boxen. If anyone has any suggestions on how to improve this situation, please

Re: [PHP] need some ideas here...

2001-05-14 Thread Ben Gollmer
commands. This would require some reading of the relevant mail RFCs...but is definitely feasible. Ben Gollmer On Monday, May 14, 2001, at 07:04 PM, Christian Dechery wrote: > My free-web-hosting (www.f2s.com) does not allow PHP to send emails... > I've tried everything... the

Re: [PHP] need some ideas here...

2001-05-14 Thread Ben Gollmer
On Monday, May 14, 2001, at 10:00 PM, Chris Adams wrote: > On 14 May 2001 19:04:43 -0700, Ben Gollmer <[EMAIL PROTECTED]> wrote: >> If you have an account on a remote host, you can always do something >> like this: >> >> > include("http://www.r

RE: [PHP] Uptime script?

2001-05-16 Thread Ben Cairns
>I know I've seen one before, and before I go write my own version, does >anyone know of a PHP script that echoes the uptime of a server (Linux) in >days,hour,minutes, etc? Does anyone know a script to do this under WinNT? -- Ben Cairns - Head Of Technical Operations intasept.

Re: [PHP] Uptime script?

2001-05-16 Thread Ben Gollmer
Uptime.exe is available on the WinNT / Win2k resource kit. You can also download it here: http://www.microsoft.com/ntserver/nts/downloads/management/uptime/default. asp On NT, you need at least Service Pack 4 to run it. Ben On Wednesday, May 16, 2001, at 01:55 PM, Ryan Christensen wrote

[PHP] Problem installing extension

2001-05-21 Thread Ben Curtis
I'm having problems loading an extension I just compiled into PHP 4.0.5 on linux. On startup I get this... PHP Warning: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20001222/myextension.so' - cannot open shared object file: cannot load shared object file: No

[PHP] Mailling Lists

2001-12-26 Thread Ben Clumeck
I am creating a mail list and need something that does not require MySQL or any other databases is there a good one? What is the best one even if it's with MySQL? Thanks, Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

[PHP] Temp File missing Win2k

2001-12-28 Thread Ben Edwards
I am ruining PHP with IIS on Win2k. I am using a PHP app which was working fine but when the app douse a file/upload/submit in the page posted to the temporary file seems not to exist. This was working fine on my Win98 setup. Any idea what is wrong? Ben -- PHP General Mailing List (http

[PHP] Windows 2000 Browse/upload problem

2001-12-29 Thread Ben Edwards
where the session data is held). Any idea what is wrong. Regards, Ben ** * Ben Edwards+44 (0)7970 269 522 * * Homepagehttp://www.gifford.co.uk/~bedwards * * i-Contact Progressive Videohttp

Re: [PHP] protecting your php code from other peeping toms?

2001-12-29 Thread Ben Edwards
On this front douse anyone know of any companies who will compile an app as I cant afford the compiler but will need to do this in the future. Is it a stand alone and is it easy to install? Ben At 14:10 15/10/2001, ~~~i LeoNid ~~ wrote: >On Sat, 13 Oct 2001 16:14:39 -0400 impersonator

[PHP] XML Parsing Problem

2001-12-31 Thread Ben Gollmer
ML parser should not be interpreting HTML...right? Also, I don't get an error code or error string from xml_parse(). Anyone have any ideas? This is a subtle bug - in fact I had been satisfied with my XML parsing code, and was well into the rest of my application when I happened to notice thi

Re: [PHP] XML Parsing Problem

2002-01-02 Thread Ben Gollmer
Ok, I can understand the predefined entity replacement. But why does it break the string up into 3 parts? I think it should just return "Follow-up To Critique of BeOS & Mac OS X". Ben On Wednesday, January 2, 2002, at 02:05 PM, Matthew Clark wrote: > Hi there, > > T

Re: [PHP] XML Parsing Problem

2002-01-03 Thread Ben Gollmer
the previous tag to the current tag. If they are the same, the data gets stuffed into a buffer; if they are different, the buffer is returned, cleared, and the new data stuffed into it...and $previousTag is set to the current tag. Ben On Wednesday, January 2, 2002, at 06:41 PM, Matthew Clark

[PHP] Maybe OT but I was wondering....

2002-01-08 Thread Ben Turner
ustom 404 pages done in php. So I was thinking, if anyone knows some information on this topic, might you have a url or maybe a book title that I could check out to research this a bit further? thanks for your help Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [

[PHP] Newbie - PHP & MySQL

2002-01-10 Thread Ben Clumeck
uery a row in a table can how would it know to only let a specific user(s) have access to the information? Any help you can give me would be greatly appreciated. Thanks, Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

[PHP] system () exec() problem

2002-01-13 Thread Ben Franske
om the sendmail file. PERL snippits that accomplish this are included below. Thanks for your help! --Ben The PERL code (for adding) is below: sub createNewList { if ($_[2] eq "") { error($text{erArgs}); } $listName = $_[0]; $adminEmail = $_[1]; $listPassword = $_[2]; #this comm

[PHP] Authentication Question

2002-01-13 Thread Ben Clumeck
account? I am looking to create a system similar to online banking. I appreciate your help. Thanks, Ben -- 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

[PHP] Padding with mcrypt_generic

2002-01-14 Thread Ben Sinclair
ot;^@","",$string);", but it doesn't seem to work right (^@ is a single character, not just "^" . "@"). Has anyone had to do this before and found a solution? -- Ben Sinclair [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Padding with mcrypt_generic

2002-01-15 Thread Ben Sinclair
That would work for me, but I have to deal with many files that I have already encrypted and no longer know the correct sizes of. My search and replace for the padding characters doesn't work because the files sometimes contain those padding characters. -- Ben Sinclair [EMAIL PROT

Re: [PHP] PHP Errors?

2002-01-15 Thread Ben Sinclair
ht be in there. -- Ben Sinclair [EMAIL PROTECTED] - Original Message - From: "Devin Atencio" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 15, 2002 11:14 AM Subject: [PHP] PHP Errors? > > Dear PHP Group, > > I noticed that rece

Re: [PHP] quit me off the php list

2002-01-15 Thread Ben Turner
/Quit Thyago Consort :D Hey I tried! - Original Message - From: "Thyago Consort" <[EMAIL PROTECTED]> To: "Adam Baratz" <[EMAIL PROTECTED]>; "PHP List" <[EMAIL PROTECTED]> Sent: Tuesday, January 15, 2002 12:00 PM Subject: [PHP] quit me off the php list > > > -Original Message-

Re: [PHP] Redirect?

2002-01-16 Thread Ben Sinclair
header("Location: http://www.blah.com";); Just be sure that output hasn't already started before you send the header. -- Ben Sinclair [EMAIL PROTECTED] - Original Message - From: "Henrik Johansson" <[EMAIL PROTECTED]> To: "PHP" <[EMAIL PROT

[PHP] Mail() Timeout

2002-01-16 Thread Ben Sinclair
Is there a way to shorten the timeout for the mail() function? Currently it will wait too long when it is unable to send mail, causing the browser to appear to hang. -- Ben Sinclair [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] Mail() Timeout

2002-01-16 Thread Ben Sinclair
I changed my sendmail line to: sendmail_path = /usr/sbin/sendmail -t -i -O DeliveryMode=q That should place it in the queue instead of trying to send it immediately, right? It doesn't seem to work though... It still just sits there when it can't send the mail. -- Ben Sinclair [EMAIL

Re: [PHP] Mail() Timeout

2002-01-16 Thread Ben Sinclair
I just noticed from phpinfo() that sendmail_path reads: /usr/sbin/sendmail -t -i -O DeliveryMode Did it really drop the "=a" or is it just a problem with phpinfo()? -- Ben Sinclair [EMAIL PROTECTED] - Original Message ----- From: "Ben Sinclair" <[EMAIL PROTECTED]

Re: [PHP] Mail() Timeout

2002-01-16 Thread Ben Sinclair
Placing it in quotes made it show up correctly in phpinfo(), however it still sits there if the email address is bad. For example, a domain that doesn't resolve. -- Ben Sinclair [EMAIL PROTECTED] - Original Message - From: "Ben Sinclair" <[EMAIL PROTECTED]> Cc: <

Re: [PHP] Passing PHP Variables

2002-01-17 Thread Ben Sinclair
Either use sessions or pass it via POST in using a form. -- Ben Sinclair [EMAIL PROTECTED] - Original Message - From: "John (News)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 17, 2002 4:48 PM Subject: [PHP] Passing PHP Variables > I ne

Re: [PHP] function arguments

2002-01-18 Thread Ben Sinclair
You can do something like this: function myFunction($a = "hello", $b = "world") { } Both arguments are optional and have default values. This is in the documentation. -- Ben Sinclair [EMAIL PROTECTED] - Original Message - From: "Malte Fucks" <[EMAIL

[PHP] Re: PHP 4 on OSX 10.1.2

2002-01-18 Thread Ben Richardson
this should give me "Friday in Danish is Fredag" but no matter > what I set the languagecode to it always returns "Friday" > > Why? I don't know, but I thought that I'd quickly try it out on my machine, and I found the same problem. Cheers, Ben -- ~

Re: [PHP] That one doesn't work!

2002-01-23 Thread Ben Sinclair
So you want to know how to justify text? This is not a PHP question. HTML documentation: http://www.idocs.com/tags/ -- Ben Sinclair [EMAIL PROTECTED] - Original Message - From: "Scott Fletcher" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, Ja

Re: [PHP] What do you mean?

2002-01-23 Thread Ben Sinclair
Yes, there is a function that "cleans up" carriage returns and line feeds by changing them to 's. There is no function to magically justifty text. Find some HTML documentation and output the HTML to justify your text. -- Ben Sinclair [EMAIL PROTECTED] - Original Message ---

Re: [PHP] Warning: Failed opening '....' for inclusion (.....) in Unknown on line 0

2002-01-24 Thread Ben Sinclair
Maybe there was a permissions problem? -- Ben Sinclair [EMAIL PROTECTED] - Original Message - From: "Scott Fletcher" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 24, 2002 9:34 AM Subject: [PHP] Warning: Failed opening '' for

Re: [PHP] getting a LAMP job in this economy

2002-01-24 Thread Ben Sinclair
You could switch to Java. At least with Java you will learn something that doesn't depend on Windows, but is still needed by Windows users. Not that there is a huge market for Java developers right now either... -- Ben Sinclair [EMAIL PROTECTED] - Original Message - From: &qu

Re: [PHP] Re: getting a LAMP job in this economy

2002-01-24 Thread Ben Turner
LAMP is coming. Heck, it may actually be the thing that can pull the IT industry out of the slump if adopted by more companies. Dollars can better be spent paying bright individuals like all of us to be more creative with less overhead. Just my 2 cents anyways :P Ben - Original Message

[PHP] Classes for PUP & MySQL in Southern California

2002-01-25 Thread Ben Clumeck
Is there any classes that anyone knows of for PHP & MySQL? I am just learning PHP and have bought a couple of books that have helped. However, I need to become proficient quickly. Thanks for your help. Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [E

[PHP] Got a problem I cant figure out

2002-01-27 Thread Ben Turner
Parse error: parse error in /var/www/docs/tacklebox/404handler.php on line 47 I am receiving this error on my page but the problem is that line 47 is the ?> and last line of the page. Is their something Im missing here?? Thanks, Ben

[PHP] MySQL Newbie

2002-01-28 Thread Ben Clumeck
How do I use MySQL through the web. I currently have MySQL running on my personal PC on WinXP. I use a command prompt to add tables, add records, and so forth. How do I create tables and records when my database is on the web? Thanks, Ben -- PHP General Mailing List (http://www.php.net

[PHP] Sending an e-mail to 1,000 people

2002-01-29 Thread Ben Clumeck
d. Thanks, Ben -- 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] Installing Apache on WinXP

2002-01-29 Thread Ben Clumeck
Does anyone know of any conflicts or problems? I am installing it and went to the conf file and changed the setting to localhost. But it says that there is an Error 1067. Any help would be greatly appreciated. Thanks, Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e

[PHP] Redirect problem.... UGH!!

2002-01-30 Thread Ben Turner
) I receive "The specified CGI application misbehaved by not returning a complete set of HTTP headers. " I am guessing this is a bu with PHP and IIS but does anyone know how to circumvent it? Thanks! Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] PHP4.0 & Apache with WinXP

2002-01-30 Thread Ben Clumeck
I am trying to install Apache and PHP4.0 on WinXP. Does anyone know of any conflicts? Thanks, Ben -- 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

[PHP] Large File Uploads

2002-02-04 Thread Ben Sinclair
nyone have suggestions? I need for my users to have the ability to upload large files over a SSL connection using common browsers. I can't make them run applets or use an insecure method for doing these transfers. -- Ben Sinclair [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/)

[PHP] Re: Newbie: Question about filesize()

2002-02-06 Thread Ben Crawford
You also seem to have an extra equals. Your loop should read: while (false != ($file=readdir($handle))){ It should come up as an error, but I'm not sure. Ben Manuel Ritsch wrote: > Hello There > > I'm new to PHP and trying to code a function that reads all teh files out o

[PHP] File Uploads

2002-02-06 Thread Ben Crawford
PHP thing and I haven't been able to figure it out. Is there some sort of login that I should be doing. I have tried the basic login just to check if that will work but it doesn't. Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Create Mysql Records From a Comma separated Values String

2002-02-06 Thread Ben Crawford
t;, $pizza_toppings); then you will have an array $toppings with entries for each of the toppings. Hope this helps. Ben Simos Varelakis wrote: > Hi to everyone > > i have the following problem > > i have a string $foo which contains (n variable) comma separated values > (exa

[PHP] Differences between PHP, ASP, JSP

2002-02-06 Thread Ben Clumeck
don't banks use PHP? Is there security issues? Thanks, Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] MySQL Install Problem

2002-02-06 Thread Ben Clumeck
I am trying to install MySQL on WinXP, I get the following error message: Microsoft(R) Windows DOS (C)Copyright Microsoft Corp 1990-2001. C:\DOCUME~1\BEN>cd c:\mysql\bin C:\MYSQL\BIN>mysqld--standalone 'MYSQLD--STANDALONE' is not recognized as an internal or external command,

RE: [PHP] MySQL Install Problem

2002-02-07 Thread Ben Clumeck
Dave, I tried it and got the following message: Microsoft(R) Windows DOS (C)Copyright Microsoft Corp 1990-2001. C:\DOCUME~1\BEN>cd c:\mysql\bin C:\MYSQL\BIN>mysqld --standalone 'MYSQLD' is not recognized as an internal or external command, operable program or batch file.

[PHP] Math librarys

2002-02-07 Thread Ben Edwards
Getting error 'Call to undefined function: bcmod() ' cos ISP I am using douse not have maths support enabled. Has anyone got a PHP function that will do mod function so I can use this instead. Ben **** * B

[PHP] got some advice.... need to know the lingo

2002-02-10 Thread Ben Turner
cant even find the correct keywords to use to search for anything like this. Anyone got some advice on what to search by or maybe a link to get some more information?? Thanks! Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: got some advice.... need to know the lingo

2002-02-10 Thread Ben Turner
Well not so much processing XML but rather grabbing HTML input and parsing it for certain values. I use this approach very heavily for inputing a DB table with information that needs to be displayed back to the web users. Ben - Original Message - From: "Michael Kimsal&quo

[PHP] Webhosts

2002-02-13 Thread Ben Clumeck
I have found 2 webhosts that provide PHP and MySQL: www.aletiahosting.com www.rackspace.net Does anybody have experience with either one (good or bad)? Or does anyone use a good low price host? Thanks, Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

<    1   2   3   4   5   6   7   8   9   10   >