[PHP] Retaining data across multiple sites

2002-02-20 Thread Ben Sinclair
I want to retain some data across my sites, which have different domain names. I can't use cookies because they rely on the domain name, and I'd rather not pass the information on every link Any suggestions? -- Ben Sinclair -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Retaining data across multiple sites

2002-02-20 Thread Ben Sinclair
I could do that, but how would I keep track of the users? I don't think IP addresses are reliable. I would also prefer to limit my database access. -- Ben Sinclair - Original Message - From: Chris Boget [EMAIL PROTECTED] To: Ben Sinclair [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent

Re: [PHP] Retaining data across multiple sites

2002-02-20 Thread Ben Sinclair
These are all workable solutions, but I also have to worry about https sites. If I link to hidden images on non-secure servers, the browser will display a warning. I'm also trying to avoid buying multiple certificates when all I want to do is brand a site. -- Ben Sinclair - Original Message

[PHP] Large File Uploads

2002-02-04 Thread Ben Sinclair
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/) To unsubscribe

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 inclusion (.) in Unknown on line 0

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

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, January 23, 2002 4:11 PM Subject

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 BR'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 - From: Scott

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 PROTECTED] To: [EMAIL PROTECTED] Sent

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 need to pass a variable e.g. $var1

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 PROTECTED] Sent: Wednesday, January 16, 2002 10:01 AM

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

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] Cc: [EMAIL PROTECTED] Sent

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: [EMAIL PROTECTED] Sent

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 PROTECTED

Re: [PHP] PHP Errors?

2002-01-15 Thread Ben Sinclair
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 recently when one of my PHP scripts has a problem

[PHP] Padding with mcrypt_generic

2002-01-14 Thread Ben Sinclair
);, 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 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL