php-general Digest 6 Mar 2006 08:20:37 -0000 Issue 4000

2006-03-06 Thread php-general-digest-help
php-general Digest 6 Mar 2006 08:20:37 - Issue 4000 Topics (messages 231475 through 231494): Re: output Today's date 231475 by: jblanchard.pocket.com 231484 by: Curt Zirzow Re: Mysql Rows 231476 by: jblanchard.pocket.com 231480 by: Curt Zirzow 231492

RE: [PHP] highlight_string()

2006-03-06 Thread Weber Sites LTD
The only way I could work around this was to put empty ?? at the Beginning of the text and now highlight_string() highlights only what Is inside ? ? You can see an example of the problematic text in the example Area of this page : http://www.weberdev.com/get_example-4345.html Notice the empty ?

Re: [PHP] highlight_string()

2006-03-06 Thread chris smith
On 3/6/06, Weber Sites LTD [EMAIL PROTECTED] wrote: The only way I could work around this was to put empty ?? at the Beginning of the text and now highlight_string() highlights only what Is inside ? ? You can see an example of the problematic text in the example Area of this page :

RE: [PHP] highlight_string()

2006-03-06 Thread gustav
The only way I could work around this was to put empty ?? at the Beginning of the text and now highlight_string() highlights only what Is inside ? ? You can see an example of the problematic text in the example Area of this page : http://www.weberdev.com/get_example-4345.html Notice the

RE: [PHP] highlight_string()

2006-03-06 Thread Weber Sites LTD
I was afraid of that... I need to do HTML manipulations on the text that is outside the ??. After I run highlight_string the original text is messed up. If I run the manipulations before then they will look like HTML And not act as HTML... Any ideas? -Original Message- From: chris smith

RE: [PHP] output Today's date

2006-03-06 Thread Jared Williams
On Sat, Mar 04, 2006 at 07:01:55PM -0700, Paul Goepfert wrote: Hi all, ls there anyway I can set the date to the timezone of the clients timezone? For example, if a person opens the web page at 3/6 12:01 EST and another person opens the same page at 3/5 10:01 MST I would like

[PHP] Convert all named entities into numeric character references

2006-03-06 Thread Jacob Friis Saxberg
Does anyone know of a Php funtion that can do this: http://golem.ph.utexas.edu/~distler/blog/NumericEntities.html Thanks, Jacob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Convert all named entities into numeric character references

2006-03-06 Thread gustav
Hi there! http://se.php.net/manual/en/function.htmlentities.php ? Best regards Gustav Wiberg Does anyone know of a Php funtion that can do this: http://golem.ph.utexas.edu/~distler/blog/NumericEntities.html Thanks, Jacob -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] output Today's date

2006-03-06 Thread gustav
On Sat, Mar 04, 2006 at 07:01:55PM -0700, Paul Goepfert wrote: Hi all, ls there anyway I can set the date to the timezone of the clients timezone? For example, if a person opens the web page at 3/6 12:01 EST and another person opens the same page at 3/5 10:01 MST I would like the

Re: [PHP] output Today's date

2006-03-06 Thread Barry
[EMAIL PROTECTED] wrote: On Sat, Mar 04, 2006 at 07:01:55PM -0700, Paul Goepfert wrote: Hi all, ls there anyway I can set the date to the timezone of the clients timezone? For example, if a person opens the web page at 3/6 12:01 EST and another person opens the same page at 3/5 10:01 MST I

[PHP] Re: simplify DOM api

2006-03-06 Thread Rob Richards
Andreas Korthaus wrote: I think this should be OK, or shouldn't I do it this way? Both ways are perfectly acceptable and all up to personal preference. In fact, to support the way you are doing it was one of the reasons why DOM classes were allowed to be extended. Perhaps you have seen that

[PHP] Re: create xml root-element with xmlns and xsd link (using DOM)

2006-03-06 Thread Rob
Andreas Korthaus wrote: Hi! The XML-Code I have to create (http://news.php.net/php.general/231486), needs a root-element, with xmlns and XML schema link, something like that: Test xmlns=http://example.com/test; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

RE: [PHP] Mysql Rows

2006-03-06 Thread jblanchard
[snip] You must have a column that is sequential in some way. An auto-incremented column, timestamp, or some other device that will allow you to step through regardless of gaps in sequence. If you do not have such a column then you could add one. You see, now that's the problem. If you have a

[PHP] PHP4, domxml and xpath with Namespaces

2006-03-06 Thread Markus Fischer
Hi, I haven't yet worked with namespaces in XML before when it comes to DOM related methods. My source is an Office 2003 Excel XML and it contains XML like: ?xml version=1.0? ?mso-application progid=Excel.Sheet? Workbook xmlns=urn:schemas-microsoft-com:office:spreadsheet

Re: [PHP] help with this error message please

2006-03-06 Thread Angelo Zanetti
Mark wrote: Can anyone tell me why i am getting this message when trying to login to the admin section, i am running the script off my local machine. Warning: session_register() [function.session-register]: Cannot send session cookie - headers already sent by (output started at

RE: [PHP] Mysql Rows

2006-03-06 Thread tedd
As such, if you don't renumber, then the only thing left is to use a timestamp, I guess. [/snip] No, if you have gaps you can still step through sequentially, like 14, 15, 18, 19, 20... It's the gaps that are the problem. I have no problem understanding why there are gaps in a dB and dealing

Re: [PHP] Mysql Rows

2006-03-06 Thread Ray Hauge
On Monday 06 March 2006 07:56, tedd wrote: So, I'm still trying to find a simple way around this problem. Either I renumber the id field OR provide an external counter to present to the user. I don't see any other solutions, does anyone? Thanks. tedd I haven't followed this thread very

Re: [PHP] Mysql Rows

2006-03-06 Thread Barry
tedd wrote: As such, if you don't renumber, then the only thing left is to use a timestamp, I guess. [/snip] No, if you have gaps you can still step through sequentially, like 14, 15, 18, 19, 20... It's the gaps that are the problem. I have no problem understanding why there are gaps in a

[PHP] Re: PHP4, domxml and xpath with Namespaces

2006-03-06 Thread Rob
Markus Fischer wrote: Hi, I haven't yet worked with namespaces in XML before when it comes to DOM related methods. My source is an Office 2003 Excel XML and it contains XML like: ?xml version=1.0? ?mso-application progid=Excel.Sheet? Workbook xmlns=urn:schemas-microsoft-com:office:spreadsheet

[PHP] Re: PHP4, domxml and xpath with Namespaces

2006-03-06 Thread Markus Fischer
Thanks Rob, that's it! I really appreciate your help, because I know that my initial question had very little to do with PHP but with XML .. again, thank you! - Markus Rob wrote: Markus Fischer wrote: Hi, I haven't yet worked with namespaces in XML before when it comes to DOM related

Re: [PHP] Convert all named entities into numeric character references

2006-03-06 Thread Jacob Friis Saxberg
Does anyone know of a Php funtion that can do this: http://golem.ph.utexas.edu/~distler/blog/NumericEntities.html Hi there! http://se.php.net/manual/en/function.htmlentities.php ? htmlentities converts to named entitites. I want it to numeric entities. -- PHP General Mailing List

Re: [PHP] Mailto members..?

2006-03-06 Thread Leif Gregory
Hello John, Wednesday, March 1, 2006, 11:38:15 AM, you wrote: Outside of being a major spam flag, and possibly reaching the limits of your smtp server. Agreed... Sending mass mail via BCC is going to be nothing but headaches. I've been down that road a number of times. --

Re: [PHP] Convert all named entities into numeric character references

2006-03-06 Thread Kevin Kinsey
Jacob Friis Saxberg wrote: Does anyone know of a Php funtion that can do this: http://golem.ph.utexas.edu/~distler/blog/NumericEntities.html Hi there! http://se.php.net/manual/en/function.htmlentities.php ? htmlentities converts to named entitites. I want it to numeric

[PHP] Detect where someone comes from

2006-03-06 Thread Benjamin Adams
I was wondering if there was a way I can see where people are linking to me from. Can I find this in php? --Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Detect where someone comes from

2006-03-06 Thread Barry
Benjamin Adams wrote: I was wondering if there was a way I can see where people are linking to me from. Can I find this in php? --Ben $_SERVER[HTTP_REFERER]; It's an Apache server variable. -- Smileys rule (cX.x)C --o(^_^o) Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o) -- PHP General

RE: [PHP] Detect where someone comes from

2006-03-06 Thread jblanchard
[snip] I was wondering if there was a way I can see where people are linking to me from. Can I find this in php? [/snip] HTTP_REFERRER is good to see where people are coming from, if it is set. Are you wanting to see if people have links to your site? If so, you're going to need a spider. --

Re: [PHP] Re: Detect where someone comes from

2006-03-06 Thread Russell Jones
If you want to find out who is actually linking to you altogether (such as for search engine optimization, etc.) you are going to want to use the following search query in Yahoo... linksite:yoursite.com -site:yoursite.com This will tell you everyone who is linking to you minus the links coming

Re: [PHP] Detect where someone comes from

2006-03-06 Thread Benjamin Adams
I have banners on other websites. I'm trying to detect who is clicking on what banners. I can have the company that has the banners throw a ? bannercompany='companyname' and do a query on that but I would like to do it just by auto detecting Ben On Mar 6, 2006, at 11:21 AM, [EMAIL PROTECTED]

[PHP] Is this possible with php

2006-03-06 Thread Mace Eliason
Hi, I really don't think this is possible from what I know of php, but I thought I would as the experts. Is it possible to have php create directories and move files on a local machine. I have created a web portal for a

Re: [PHP] Mysql Rows

2006-03-06 Thread tedd
Well it seems you output it via PHP so count it extern in PHP. And changing ID values is a no-go! You will never have any relation possibilities if you alter the ID fields. In short. You mess everthing up with it. There are count functions in MySQL that gives you the counted rows or output it

Re: [PHP] Detect where someone comes from

2006-03-06 Thread Benjamin Adams
Currently I have an ini file that has the list of banner websites I can make it count problem is: $_SERVER['REFERER'] will give me the full link http://www.domain.com/dir/location/file.php where I just want the http://www.domain.com/ Ben On Mar 6, 2006, at 11:39 AM, Benjamin Adams wrote: I

[PHP] X Tiger 10.4.5 + phpBB2 + MySQL 5 + Can't Connect Issue!

2006-03-06 Thread m i l e s
Hi, Im getting the following: Warning: mysql_connect(): Can't connect to local MySQL server through socket...etc. NOTES: 1.) MySQL 5 is running fine. 2.) Im able to connect to it via Navicat. 3.) I run Lasso on the same host, I know that I can pull and post data to and from MySQL. So its

Re: [PHP] Mysql Rows [and whats the difference between Navigational and Relational DBs]

2006-03-06 Thread Jochem Maas
Miles Thompson wrote: I hope the following will be helpful, and it is a bit of a rant .. thank god someone ranted on this already :-) I wasn't feeling up to it but it's also one of those cases that you can't help but speak out. ;-) -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] Mysql Rows

2006-03-06 Thread jblanchard
[snip] That's the reason when I started this thread I made it clear that I was NOT talking about a relational dB but rather a simple flat file. What I find interesting in all of this exchange -- however -- is that everyone agree's renumbering the id of a dB is something you don't do, but no

Re: [PHP] Detect where someone comes from

2006-03-06 Thread Stut
Benjamin Adams wrote: Currently I have an ini file that has the list of banner websites I can make it count problem is: $_SERVER['REFERER'] will give me the full link http://www.domain.com/dir/location/file.php where I just want the http://www.domain.com/ Look at http://php.net/parse_url

Re: [PHP] Detect where someone comes from

2006-03-06 Thread Benjamin Adams
Got it Thanks!! Ben On Mar 6, 2006, at 12:13 PM, Stut wrote: Benjamin Adams wrote: Currently I have an ini file that has the list of banner websites I can make it count problem is: $_SERVER['REFERER'] will give me the full link http://www.domain.com/dir/location/file.php where I just want

Re: [PHP] Mysql Rows

2006-03-06 Thread Jochem Maas
tedd wrote: Well it seems you output it via PHP so count it extern in PHP. And changing ID values is a no-go! You will never have any relation possibilities if you alter the ID fields. In short. You mess everthing up with it. There are count functions in MySQL that gives you the counted rows

Re: [PHP] Convert all named entities into numeric character references

2006-03-06 Thread tedd
Jacob Friis Saxberg wrote: Does anyone know of a Php funtion that can do this: http://golem.ph.utexas.edu/~distler/blog/NumericEntities.html http://se.php.net/manual/en/function.htmlentities.php htmlentities converts to named entitites. I want it to numeric entities. Yes; 'tis true.

[PHP] X Tiger 10.4.5 + phpBB2 + MySQL 5 + Can't Connect Issue! - SOLVED!

2006-03-06 Thread m i l e s
Hi, Figured it out: Apple wiped out the location of the socket. they wanted '/var/mysql/mysql.sock' it should be: '/tmp/mysql.sock' Problem solved. M i l e s. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Mysql Rows

2006-03-06 Thread Dusty Bin
Another point to consider, is that Tedds method of renumbering the rows, *may* not preserve the original sequence. I have not checked the mysql source, but if some delete activity has occurred in the table, then there will be holes in the data, in some circumstances, inserting further records to

Re: [PHP] Mysql Rows

2006-03-06 Thread Anthony Ettinger
On 3/6/06, Dusty Bin [EMAIL PROTECTED] wrote: Another point to consider, is that Tedds method of renumbering the rows, *may* not preserve the original sequence. I have not checked the mysql source, but if some delete activity has occurred in the table, then there will be holes in the data, in

[PHP] Re: Converting HTML to BBCode

2006-03-06 Thread Al
Here is an example for you. First make an array like this: $translate_array= array( ' ' = ' amp; ', '' = 'amp;', 'WOD' = 'Wamp;OD', 'O'= 'amp;O', 'MF' = 'Mamp;F', ); Then use: $find_array= array_keys($translate_array); $replace_array=

[PHP] Re: Is this possible with php

2006-03-06 Thread Al
Mace Eliason wrote: Hi, I really don't think this is possible from what I know of php, but I thought I would as the experts. Is it possible to have php create directories and move files on a local machine. I have

[PHP] Re: Converting HTML to BBCode

2006-03-06 Thread J_K9
Hi Al, Thank you for your reply. I have changed my code to the following: ---CODE--- ?php $text = $_REQUEST['text']; echo 'br /br /'; $translate_array = array( 'strong' = '[b]', '/strong' = '[/b]', 'b' = '[b]', '/b' = '[/b]', 'em' = '[i]', '/em' = '[/i]', 'i' = '[i]', '/i' = '[/i]',

RE: [PHP] Mysql Rows

2006-03-06 Thread Jim Moseby
What I find interesting in all of this exchange -- however -- is that everyone agree's renumbering the id of a dB is something you don't do, but no one can come up with a concrete (other than relational) reason why. If you don't care that a given record may have a different,

[PHP] PHP4 with MYSQL5

2006-03-06 Thread João Cândido de Souza Neto
Hello everyone. I'm trying to use my php4 conecting to a mysql5 server, and then executing some command lines to create a stored procedure but it's not working. When a tried to execute delimiter |, my php gets de follow error: You have an error in your SQL syntax; check the manual that

RE: [PHP] Mysql Rows

2006-03-06 Thread Miles Thompson
At 10:56 AM 3/6/2006, tedd wrote: As such, if you don't renumber, then the only thing left is to use a timestamp, I guess. [/snip] No, if you have gaps you can still step through sequentially, like 14, 15, 18, 19, 20... It's the gaps that are the problem. I have no problem understanding why

Re: [PHP] Mysql Rows

2006-03-06 Thread Anthony Ettinger
On 3/6/06, Jim Moseby [EMAIL PROTECTED] wrote: What I find interesting in all of this exchange -- however -- is that everyone agree's renumbering the id of a dB is something you don't do, but no one can come up with a concrete (other than relational) reason why. If you don't care

[PHP] Backing up emails and then forwarding them

2006-03-06 Thread IG
Hi. I want to have a script that when run backs up all emails in a pop3 mailbox that are from email addresses not in a database. The person who has sent the email will receive an email that asks them to verify the email by clicking a link and then the email is sent. I need to know how to

Re: [PHP] Mysql Rows

2006-03-06 Thread Paul Novitski
At 08:57 AM 3/6/2006, tedd wrote: What I find interesting in all of this exchange -- however -- is that everyone agree's renumbering the id of a dB is something you don't do, but no one can come up with a concrete (other than relational) reason why. It's simply -- concretely -- inefficient

Re: [PHP] Re: Is this possible with php

2006-03-06 Thread Austin Denyer
(Re-sending as I accidentally sent my original post directly to Al) Al wrote: Mace Eliason wrote: I really don't think this is possible from what I know of php, but I thought I would as the experts. Is it possible to have php create directories and move files on a local machine. I have

[PHP] Re: Is this possible with php

2006-03-06 Thread João Cândido de Souza Neto
PHP don't do this. The user must select a file to upload and then the PHP can work with this. PHP has no access to local files, think with me, how can PHP discover which machine in internet he has to access to get files. Mace Eliason wrote:

Re: [PHP] Re: Is this possible with php

2006-03-06 Thread Robert Cummings
PHP can do this, but you'd need it set up on each of the client computers and periodically run to check the temp folder and perform the upload. That's what any other application that can do similar does. Cheers, Rob. On Mon, 2006-03-06 at 15:30, João Cândido de Souza Neto wrote: PHP don't do

Re: [PHP] Re: Is this possible with php

2006-03-06 Thread João Cândido de Souza Neto
Ok, but you're telling that the client will be doing upload to server. Not the server doing a dounload from client. I was understood as a wrong way. I'm sorry. Robert Cummings wrote: PHP can do this, but you'd need it set up on each of the client computers and periodically run to check the

Re: [PHP] Re: Is this possible with php

2006-03-06 Thread tg-php
Yeah, you can't do the local computer file moving and all that with the same script as your server side component, but if you'd rather not learn C# or another language like that, but you're comfortable with PHP, I'd highly recommend checking out Winbinder (http://www.winbinder.com). Assuming

Re: [PHP] Prepared statements

2006-03-06 Thread Julius Hacker
Curt Zirzow wrote: I assume your loop is something like: while(condition) { $auction_parts['id'] = 'some value'; $auction_parts['name'] = 'some value'; ... $insert-execute(); } Yes, thats it. My first guess would be, if not aleady done, initialize $auction_parts

[PHP] Regexp matching in SQL

2006-03-06 Thread Brian Anderson
I am trying to simplify an SQL query that is pretty much like below: $sql = SELECT * FROM table WHERE keyword RLIKE '$expression1' OR keyword RLIKE '$expression2' ; The different terms '$expression1' and '$expression1' come from an array. Is there any way to within one regular expression to

RE: [PHP] Regexp matching in SQL

2006-03-06 Thread jblanchard
[snip] I am trying to simplify an SQL query that is pretty much like below: $sql = SELECT * FROM table WHERE keyword RLIKE '$expression1' OR keyword RLIKE '$expression2' ; The different terms '$expression1' and '$expression1' come from an array. Is there any way to within one regular

[PHP] PHP4 with MYSQL5

2006-03-06 Thread João Cândido de Souza Neto
Hello everyone. I'm trying to use my php4 conecting to a mysql5 server, and then executing some command lines to create a stored procedure but it's not working. When a tried to execute delimiter |, my php gets de follow error: You have an error in your SQL syntax; check the manual that

[PHP] Re: PHP4 with MYSQL5

2006-03-06 Thread João Cândido de Souza Neto
I receive aa answer by e-mail in order this telling me that i must upgrade my php4 to php5. It means that a php4 server don't works fine with mysql5 server? João Cândido de Souza Neto wrote: Hello everyone. I'm trying to use my php4 conecting to a mysql5 server, and then executing some

RE: [PHP] Re: PHP4 with MYSQL5

2006-03-06 Thread jblanchard
[snip] I receive aa answer by e-mail in order this telling me that i must upgrade my php4 to php5. It means that a php4 server don't works fine with mysql5 server? [/snip] http://www.php.net/mysqli is designed to work with versions of MySQL 4.1.n and above. It requires PHP5 -- PHP General

Re: [PHP] Regexp matching in SQL

2006-03-06 Thread Brian Anderson
IN ( exp1, exp2) didn't seem to work for me. I've seen that used before for including a subquery, but somehow it didn't like the comma separated list. I think this below is doing it for me. $separated = implode(|, (explode( , (AddSlashes($_REQUEST['terms']);

[PHP] Re: create xml root-element with xmlns and xsd link (using DOM)

2006-03-06 Thread Andreas Korthaus
Rob wrote: That's how namespaced attributes, which is nothing more than you are creating, are supposed to be created in DOM. OK, thank you! best regards Andreas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Mysql Rows

2006-03-06 Thread Chris
Barry: I realize that relational dB's are out if one does this -- and -- I fully understand why. That's the reason when I started this thread I made it clear that I was NOT talking about a relational dB but rather a simple flat file. What I find interesting in all of this exchange --

Re: [PHP] Regexp matching in SQL

2006-03-06 Thread Chris
Brian Anderson wrote: IN ( exp1, exp2) didn't seem to work for me. I've seen that used before for including a subquery, but somehow it didn't like the comma separated list. I think this below is doing it for me. $separated = implode(|, (explode( , (AddSlashes($_REQUEST['terms']);

Re: [PHP] Re: PHP4 with MYSQL5

2006-03-06 Thread Chris
João Cândido de Souza Neto wrote: I receive aa answer by e-mail in order this telling me that i must upgrade my php4 to php5. It means that a php4 server don't works fine with mysql5 server? João Cândido de Souza Neto wrote: Hello everyone. I'm trying to use my php4 conecting to a mysql5

Re: [PHP] PHP with FTP

2006-03-06 Thread Chris
_-=MealstroM=-_ wrote: Hello php-general, Hi. I ve got some trabl with this commands ftp_pwd() and ftp_chdir() They work correctly with some ftp servers, but i ve got some problems with warftp server. This server doesn't recognize them. If the server doesn't recognise them we can't do much.

[PHP] Re: simplify DOM api

2006-03-06 Thread Andreas Korthaus
Rob Richards wrote: You can also look at using xmlwriter, when creating serialized trees, that automatically does escaping for you. Hm, AFAIK latest xmlwriter versions provide an OO API. Do you know about any documentation for it? The only code I've seen so far is:

[PHP] RE: [PHP-DB] Re: PHP4 with MYSQL5

2006-03-06 Thread Bastien Koert
it does, you need the updated mysql library that comes with the php 5 files (libmysql.dll for windows) bastien From: João Cândido de Souza Neto [EMAIL PROTECTED] To: php-db@lists.php.net,php-general@lists.php.net Subject: [PHP-DB] Re: PHP4 with MYSQL5 Date: Mon, 06 Mar 2006 18:38:56 -0300 I

RE: [PHP] Mysql Rows [END of thread]

2006-03-06 Thread tedd
Hi gang: ?php echo str_repeat(Okay, I give up! , 100); ? Miles said: Why are we still chasing this thread? No need to pursue this thread anymore -- I'll just address the statements put to me. Why does he even have to see gaps? Just present the info, unless he wants to see the ID.

Re: [PHP] highlight_string()

2006-03-06 Thread Chris
Weber Sites LTD wrote: I was afraid of that... I need to do HTML manipulations on the text that is outside the ??. After I run highlight_string the original text is messed up. If I run the manipulations before then they will look like HTML And not act as HTML... Any ideas? You could get the

[PHP] Generating License Codes for Distribution

2006-03-06 Thread Bruce
I am looking for some PHP code that will allow me to do something like take a string name, an expiration date, and a 16-byte key and generate an 8-byte license code in the form of --- I have some Windows code that I've used for years, and I successfully ported it to PHP, only to

Re: [PHP] PHP with FTP

2006-03-06 Thread Chris
_-=MealstroM=-_ wrote: Hello Chris, Tuesday, March 7, 2006, 1:36:54 AM, you wrote: _-=MealstroM=-_ wrote: Hello php-general, Hi. I ve got some trabl with this commands ftp_pwd() and ftp_chdir() They work correctly with some ftp servers, but i ve got some problems with warftp server. This

[PHP] OpenSSL error:0E06D06C:configuration file routines:func(109):reason(108) ??!

2006-03-06 Thread Daevid Vincent
I copied and pasted the example found here: http://www.php.net/openssl_csr_new And this one too: http://www.php.net/manual/en/function.openssl-pkey-new.php And I get the output that looks like valid 'gibberish' for all three (CSR, Cert, PK), except what concerns me is that I get fifteen of the

[PHP] PHP Post to other Servers

2006-03-06 Thread Robert Sandie
Want to load balance a server and send image uploads to a different box with PHP installed. What would the correct method to authenticate on the second machine and send without ruining user experience by sending them to a second page? Initial thought was to keep the box address inside of the

Re: [PHP] PHP Post to other Servers

2006-03-06 Thread Chris
Robert Sandie wrote: Want to load balance a server and send image uploads to a different box with PHP installed. What would the correct method to authenticate on the second machine and send without ruining user experience by sending them to a second page? For what purpose are you sending the

[PHP] Mathematical CAPTCHA

2006-03-06 Thread Louie Miranda
Is there a pear package or class for PHP? -- Louie Miranda ([EMAIL PROTECTED]) http://www.axishift.com //JSM-W

RE: [PHP] PHP Post to other Servers

2006-03-06 Thread Robert Sandie
For what purpose are you sending the uploads to a different box? There will also be Video uploads as well so I had to nix the database idea. Am running a media server as well of this box so there is considerable processing already going on. Now I may be looking at this from the wrong perspective

[PHP] Re: Converting HTML to BBCode [medium]

2006-03-06 Thread Rafael
First of all, the back-slashes added before a character is probably because of the gpc_magic_quotes directive in PHP, wich tries to escape the quotes (pretty stupid, if you ask me), so you must have to use strip_slashes() on the string you received, e.g: $text = ''; if (