[PHP] RE: templating question

2003-03-20 Thread Dan Rossi
i would like to know what good ones out there, fast template uses ereg and is slow , itx screws with the source layout and the output looks shit , smarty wants control of the code , is there anything better than these guys ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: SPAM: Re: [PHP] Sessions question

2003-03-20 Thread Justin French
on 21/03/03 6:20 PM, Beauford.2002 ([EMAIL PROTECTED]) wrote: > What about HTTP_REFERER - is there someway I could incorporate it to so if > the user didn't come from xxx (a page on my site) then kill the session and > redirect him to the login page... The referrer can maybe *help* (not sure how

[PHP] How to send a form automatically?

2003-03-20 Thread Vicente Valero
Hello, I have a form and I have to check the username and password on my DB. If all is ok, then, I have to send by another form this usernma and password to a CGI on a gateway. But this second part I would want to be automatically, I mean, I want to create the structure of the form that the CGI i

Re: [PHP] Sessions question

2003-03-20 Thread Justin French
on 21/03/03 4:57 PM, Beauford.2002 ([EMAIL PROTECTED]) wrote: > I have read some posts to this list on sessions and have read as much as I > can find on them, but one problem still exists which I can't figure out. How > do I kill the session when the user leaves my site. So if a user is on > www.

Re: [PHP] Sessions question

2003-03-20 Thread Beauford.2002
What about HTTP_REFERER - is there someway I could incorporate it to so if the user didn't come from xxx (a page on my site) then kill the session and redirect him to the login page... - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March

[PHP] Select email addresses from MySQL

2003-03-20 Thread Tim Thorburn
Hi, A few days ago I posted a question about sending mass emails through PHP - the good news is I've got my script sending an email to each address stored in my MySQL database. Now my client would like the ability to individually select the email addresses that are sent out. Has anyone done s

Re: [PHP] echo

2003-03-20 Thread Sebastian
thank you. now we're talking, Works great :) cheers, - Sebastian - Original Message - From: "Martin Towell" <[EMAIL PROTECTED]> | sorry - sleep(5); | | -Original Message- | From: Sebastian [mailto:[EMAIL PROTECTED] | | php has a wait function? I didn't know that... But i get:

Re: [PHP] Sessions question

2003-03-20 Thread Jason Wong
On Friday 21 March 2003 13:57, Beauford.2002 wrote: > I have read some posts to this list on sessions and have read as much as I > can find on them, but one problem still exists which I can't figure out. > How do I kill the session when the user leaves my site. There is simply no way to tell whe

[PHP] Sessions question

2003-03-20 Thread Beauford.2002
I have read some posts to this list on sessions and have read as much as I can find on them, but one problem still exists which I can't figure out. How do I kill the session when the user leaves my site. So if a user is on www.mine.com and logs in successfully, then goes to www.hers.com - the user

Re: [PHP] Re: Creating graphs with PHP?

2003-03-20 Thread Nikunj Virani
This articles in PHPBuilder are really good starts on the topic: http://phpbuilder.com/columns/wiesendanger20001218.php3 http://phpbuilder.com/columns/allan2830.php3 http://phpbuilder.com/columns/nasser20030219.php3 Regards, Nikunj Virani -- PHP General Mailing List (http://www.php.net/)

RE: [PHP] echo

2003-03-20 Thread Martin Towell
sorry - sleep(5); -Original Message- From: Sebastian [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2003 3:58 PM To: Martin Towell; php list Subject: Re: [PHP] echo php has a wait function? I didn't know that... But i get: Fatal error: Call to undefined function: wait() I just wan

Re: [PHP] echo

2003-03-20 Thread Chris Shiflett
--- Sebastian <[EMAIL PROTECTED]> wrote: > is it possible to delay an echo say by 5 seconds after the page loads? This sounds similar to a little script I wrote a while back to demonstrate flush() for someone. Maybe it will help you: http://shiflett.org/tutorials/php_flush.php Chris = Becom

Re: [PHP] PHP and file extensions

2003-03-20 Thread Nikunj Virani
>>What about IIS. This is what the customer is usingand I know d*** about >>IIS. I would assume that there is a similar thing for IIS, but have no idea >>where to even look. If you are using IIS 3.0 Check out install.txt file which comes with PHP Win32 Binary. It says: > Run Regedit. > Nav

Re: [PHP] Re: Missing session vars when doing var_dump()

2003-03-20 Thread Bobby Patel
If you it's either ALL or Nothing then I would think it has something to do with retrieving sessions from the client (in the form of the cookie) or on the server (in the form of the session file, default is /tmp on *nix systems). I ran your script on my server where I have session varaibles and I

Re: [PHP] echo

2003-03-20 Thread Sebastian
php has a wait function? I didn't know that... But i get: Fatal error: Call to undefined function: wait() I just want to delay some text from loading too quick. i am sure is can be done in java but i don't have any experience in it :s cheers, - Sebastian - Original Message - From: "

Re: [PHP] Super Globals

2003-03-20 Thread Oscar F
Hello, Yep, I just upgraded to 4.3.2-RC1 and now it works fine, thanks!. #Of. Adrian Portsmouth wrote: Hi Oscar, The super globals don't exist in the version of PHP you are using, they were only introduced PHP => 4.1.0 Kind Regards Ade www.phpscriptsearch.com -- PHP General Mailing List (http

RE: [PHP] echo

2003-03-20 Thread Martin Towell
is this what you're after ? flush(); wait(5); // I think wait() is in seconds echo "blah"; -Original Message- From: Sebastian [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2003 2:54 PM To: php list Subject: [PHP] echo hello all, is it possible to delay an echo say by 5 seconds

[PHP] Super Globals

2003-03-20 Thread Oscar F
Hello, I installed Apache/PHP in my local machine for testing purposes, but I'm trying to run a script that uses super global vars ($_SERVER['QUERY_STRING'], etc) and for some reason it does not seem to be working.. Can super globals be off like register_global on php.ini? if so what is the li

[PHP] echo

2003-03-20 Thread Sebastian
hello all, is it possible to delay an echo say by 5 seconds after the page loads? cheers, - Sebastian

[PHP] $siteGalleryUserPath when it is made by PHP dose not give 0777 access for $destination to be made.

2003-03-20 Thread Philip J. Newman
MY ERROR: Warning: mkdir(/home/newmanpj/public_html/galleries/philip/20030320223553) [function.mkdir]: Permission denied in /home/crushme/public_html/siteadmin/upload_set_step3.php on line 72 MY PROBLEM: $siteGalleryUserPath when it is made by PHP dose not give 0777 access for $destination to

RE: [PHP] Re: Missing session vars when doing var_dump()

2003-03-20 Thread Gavin Jackson
Hi Bobby The following is a copy and paste of the page I'm using to generate the problem. I have 18 keys in the $_SESSION variable and just by simply refreshing the page with the following code, it returns either array(0){} or session info and array(18){ will all the correct variables }. I must be

Re: [PHP] Session Question

2003-03-20 Thread Justin French
Hi, A session is meant to exist on one domain... You could pass the session to another domain to *hold* for you: secure checkout Then the secure domain would be responsible for remembering the old session id, and passing it back to your site when finished... Essentially, I think that each dom

Re: [PHP] Re: Missing session vars when doing var_dump()

2003-03-20 Thread Bobby Patel
Are the queries the exact same every time you refresh them? This seems just to be programming logic (I guess). Post some code and maybe someone (or I) will be able to help you out. "Gavin Jackson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Thanks for your input Bobby > > I was u

Re: [PHP] Increase a month

2003-03-20 Thread Justin French
For this exact instance (ie, trying to get the current month, and next month) then all you need is: Justin on 21/03/03 1:00 AM, shaun ([EMAIL PROTECTED]) wrote: > Hi, > > could someone tell me why this: > > $month = date(m); > echo "\$month: ".date(F,strtotime($month)).""; > $month = $mon

[PHP] Re: Validation of Numeric string sent in a form

2003-03-20 Thread Manuel Lemos
Hello, On 03/20/2003 10:32 PM, Orlando pozo wrote: How could I verify if a variable is a "Numeric string"? , I need help in this; for example when I submit a form, all texts fields are sent in strings, if you need to verify that the string is all numeric, How could I verify?, thanks for your help.

RE: [PHP] multiple foreach

2003-03-20 Thread Richard Whitney
Thank you, Martin - you're a certifiable genius! It's just that $size needed to be $size_id - I fixed that, though. Thanks! Richard Quoting Martin Towell <[EMAIL PROTECTED]>: ### try this... ### ### for ($i = 0; $i < count($charge); $i++) ### { ### $c = $charge[$i]; ### $s = $size[$i]; ###

RE: [PHP] php, mysql, and method question

2003-03-20 Thread John W. Holmes
> i have a table that contains articles. i have another table which > contains the order 1 - 9 that i would like to display them in. > > this part is done, and is not a problem. here is where I am not sure > how to proceed. > > 1. tbl_display_order - can only have 9 records in it (or do i just >

RE: [PHP] Cleaning user data

2003-03-20 Thread John W. Holmes
> I still fail to see how BB code helps in any way, since you have to make > these > same considerations. But, like I said, maybe I'm missing something. :-) I agree pretty much. The only way it helps is that it's easier for people to pick up, however slightly. Instead of explaining to people to us

[PHP] Re: credit card validations..

2003-03-20 Thread Manuel Lemos
Hello, On 03/20/2003 03:50 PM, Edward Peloke wrote: The owner of the php site I am working on just told me he want to do credit card validations on the site. Currently, we aren't doing anything with credit cards. I have no idea as to where to even start with this. Should I simply go the paypal

RE: [PHP] multiple foreach

2003-03-20 Thread Martin Towell
try this... for ($i = 0; $i < count($charge); $i++) { $c = $charge[$i]; $s = $size[$i]; $sql = "UPDATE products_to_sizes SET surcharge = '$c' WHERE product_id = '$products_id' AND size_id = '$s'"; mysql_query($sql) or die ("Couldn't update rows".MYSQL_ERROR()); print $sql.''; } -Origi

[PHP] Informix

2003-03-20 Thread Foong
Hello any idea how can i fix this problem when I compile php with informix ERROR: /opt/informix/lib/esql/libifos.so: the use of `mktemp' is dangerous, better use `mkstemp' Foong -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] multiple foreach

2003-03-20 Thread Richard Whitney
Maybe someone can see what I'm trying to do with this: foreach($charge as $c){ foreach($size_id as $s){$sql = "UPDATE products_to_sizes SET surcharge = '$c' WHERE product_id = '$products_id' AND size_id = '$s'"; mysql_query($sql) or die ("Couldn't update rows".MYSQL_ERROR()); print $sql.'';} } I

Re: [PHP] Validation of Numeric string sent in a form

2003-03-20 Thread Leif K-Brooks
www.php.net/is-numeric Orlando Pozo wrote: Hello all, I am Orlando Pozo How could I verify if a variable is a "Numeric string"? , I need help in this; for example when I submit a form, all texts fields are sent in strings, if you need to verify that the string is all numeric, How could I verify?

RES: RES: [PHP] XML Problems

2003-03-20 Thread Piero B. Contezini
So ask the administrator to install it, without it kidding with XML will be a hell! Piero -Mensagem original- De: Burhan Khalid [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 20 de março de 2003 22:15 Para: Piero B. Contezini Assunto: Re: RES: [PHP] XML Problems Hello Piero, Thur

Re: [PHP] Validation of Numeric string sent in a form

2003-03-20 Thread Charles Kline
is_numeric(yoursting); this returns true if string is a number On Thursday, March 20, 2003, at 08:32 PM, Orlando Pozo wrote: Hello all, I am Orlando Pozo How could I verify if a variable is a "Numeric string"? , I need help in this; for example when I submit a form, all texts fields are sent

[PHP] Validation of Numeric string sent in a form

2003-03-20 Thread Orlando Pozo
Hello all, I am Orlando Pozo How could I verify if a variable is a "Numeric string"? , I need help in this; for example when I submit a form, all texts fields are sent in strings, if you need to verify that the string is all numeric, How could I verify?, thanks for your help. -

Re: [PHP] lurker awakes

2003-03-20 Thread steve
Mike/Matt, thanks for the promp response for reference our system: Slackware 8.1, mySQL 3.23.51, apache 1.37 all the passwords look like they are kept in the mysql.users table and the passwords are encrypted (at least in phpMyAdmin 2.4) Steve - Original Message - From: "Mike" <[EMAIL PR

RES: [PHP] XML Problems

2003-03-20 Thread Piero B. Contezini
Another thing, very cool that site, weather thru XML, i'll make some scripts myself for it ;P If you want to open it directly from the web, use fopen() and domxml_open_mem, instaed of domxml_open_file, it will make you use the web service without downloading any stumb file. Just do $obj = load_xm

Re: [PHP] Q. How to remove new line/CrLf in string??

2003-03-20 Thread Jack Schroeder
Thank you very much. Jack André cupini wrote: > >Part 1.1Type: Plain Text (text/plain) >Encoding: quoted-printable -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RES: [PHP] XML Problems

2003-03-20 Thread Piero B. Contezini
I had the same problem a week ago, so i wrote a little function to convert xml files into usable objects (the dom_xmltree function sucks a lot), Basicly it converts the XML data into a object and make arrays for multi nodes, i also have done another function to write the object on disk, may be very

[PHP] [php]: Loading from array

2003-03-20 Thread Gavin Jackson
Hi there Is there anything I'm doing wrong in the following: $Database = mysql_connect( "host", "user", "password" ) or die("Could not connect to database"); mysql_select_db( "dbname", $Database ) or die("Database does not exist"); $Login = strtolower($_POST["Person"]);

[PHP] XML Problems

2003-03-20 Thread Burhan Khalid
Hello List, Having some serious headaches trying to fix XML integration into a PHP class. Am new to XML, but have been comfortable with PHP for quite a while so please reply accordingly. Here is the problem : * Data handing functions are being called multiple t

Re: [PHP] Saving a file as ASCII?

2003-03-20 Thread David T-G
Jay -- Quick chastisement: don't hijack threads. This has nothing to do with sessions. When starting a new topic and asking a fresh question, please start a fresh email rather than replying to any old thing in your mailbox. ...and then Jay Paulson said... % % Quick question... when saving a fi

Fw: [PHP] function for $array

2003-03-20 Thread Kevin Stone
- Original Message - From: "pei_world" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 20, 2003 4:30 PM Subject: [PHP] function for $array > I want to use the following function the test the array elements, > if all element is number return true, otherwise false; > but

[PHP] Saving a file as ASCII?

2003-03-20 Thread Jay Paulson
Quick question... when saving a file using the fwrite() function in a Unix enviroment as a text file does it get saved as ASCII??? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Missing session vars when doing var_dump()

2003-03-20 Thread Gavin Jackson
Thanks for your input Bobby I was using mysql_fetch_array() but changed to mysql_fetch_assoc() The funny thing is, I have a page that does the var_dump() and all I'm doing is refreshing the page and sometimes I get 18 other times 16 variables Gavin Auckland, New Zealand > -Original Message-

[PHP] function for $array

2003-03-20 Thread pei_world
I want to use the following function the test the array elements, if all element is number return true, otherwise false; but the command marked, it print out only the first char of every strings in the array; can help? ie: ++0++ for 0.234 function check_int_float($array){ $result=true;

RE: [PHP] lurker awakes

2003-03-20 Thread Matt Giddings
I don't know of any script that does this, but that’s not saying that one doesn't exist. I don't know what software your using, but all passwords should be stored in encrypted format to help deter the use of scripts like this. They may be able to view the contents of the password field bu

[PHP] Re: Missing session vars when doing var_dump()

2003-03-20 Thread Bobby Patel
I would think that they are 16 key/value pairs when the MySQL (TEXT) fields are null thus the session variables are NOT set thus NOT present. Hypothsis: I believe that your are using mysql_fetch_array($query_resource), try using the second parameter as well ie. mysql_fetch_array($query_resource, T

[PHP] Call another program from withing a program

2003-03-20 Thread Kevin
I need to know if I am doing this the right way or if there is a better way to do this. Scenario, two programs. program_1.php and program_2.php. Based on case statement, program_1 could possibly call program 2. Example: switch ($page) { case '1': break; case '2':

[PHP] Missing session vars when doing var_dump()

2003-03-20 Thread Gavin Jackson
Hi I have come across a strange problem. I have an application that a user logs into and when I find the user in the database I load all the custom info for that use which I store. By the time I'm done, the session array has 18 key's. When I do a var_dump($_SESSION) I sometimes get 18 variables an

Re: [PHP] Re: number function

2003-03-20 Thread Kevin Waterson
This one time, at band camp, "pei_world" <[EMAIL PROTECTED]> wrote: hi > thx for the last question > I have following function, I use it the check all the elements in the array > whether numeric or not. but I get the output : ++l++* and ++0++, the first > char in the string >

Re: [PHP] number function

2003-03-20 Thread Chris Shiflett
--- Leif K-Brooks <[EMAIL PROTECTED]> wrote: > http://www.php.net/manual/en/function.is-numeric.php Also, make sure you read that manual page Leif is giving. Some people are confused at the outcome of tests like these: is_numeric('3,333.33') is_numeric('3e3') is_numeric(' -3e-3') Chris = Be

[PHP] Re: number function

2003-03-20 Thread pei_world
hi thx for the last question I have following function, I use it the check all the elements in the array whether numeric or not. but I get the output : ++l++* and ++0++, the first char in the string === function check_int_float($array){

Re: [PHP] number function

2003-03-20 Thread Leif K-Brooks
http://www.php.net/manual/en/function.is-numeric.php pei_world wrote: anyone how to write a good number valid function? regonise numbers like: real int -- Sincerely your; pei_world ( .::IT::. ) -- The above message is encrypted with double rot13 encoding. Any unauthorized attempt

Re: [PHP] Cleaning user data

2003-03-20 Thread Chris Shiflett
--- Leif K-Brooks <[EMAIL PROTECTED]> wrote: > My BBCode class takes care of unended tags, and much more. Have a look > at http://www.phpclasses.org/browse.html/package/951.html. You have to log in to view any source on that site (or so it seems), so no thanks. Unended tags are easy enough to h

RE: [PHP] Zero Fill -> Number Format

2003-03-20 Thread Martin Towell
oops, sorry - try this instead sprintf/printf("%07d", $num) -Original Message- From: Boaz Yahav [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2003 8:23 AM To: Martin Towell; Harry.de; [EMAIL PROTECTED] Subject: RE: [PHP] Zero Fill -> Number Format wouldn't this just print empty spac

[PHP] lurker awakes

2003-03-20 Thread steve
Hi guys, we have been silent observers to this list over the last few weeks. most of our web-app development is done in cold fusion, and i am still coming to terms with php, our involvement with the language to date has been via phpnuke. a while ago one of our tech guys showed me the output of a

[PHP] Re: [SOAP] web services

2003-03-20 Thread Tony Bibbs
That seems network intensive to me. Offering web services for some basic tasks makes sense but not making an entire application that does all functionality over the web will be slow and impractical. Also, consider XML-RPC. Some people insist on hammering a nail with a sledgehammer (soap) when

[PHP] RE: [SOAP] web services

2003-03-20 Thread Paul Miller
You could also check into a RSS implementation. Take the standardized approach to XML-RPC. http://backend.userland.com/rss - Paul -Original Message- From: Tony Bibbs [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 4:23 PM To: Merlin Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subje

[PHP] number function

2003-03-20 Thread pei_world
anyone how to write a good number valid function? regonise numbers like: real int -- Sincerely your; pei_world ( .::IT::. ) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] web services

2003-03-20 Thread Merlin
Hi everybody, I am currently trying to understand how to place content on a different site without giving away my code. SOAP seems to be the solution. I am absolutly new to web services. What I did understand so far is that it is basicly pritty simple to transfer some data like a currency exchange

RE: [PHP] PHP Devel Environments???

2003-03-20 Thread Dan Rossi
The boss wants to lose the dependancy on the 2 "programmers" (myself and another person) for every little piece of PHP code. does that mean your job ? why look into it for them dont do it man ! -Original Message- From: Henrik Hudson [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2003

RE: [PHP] To use PEAR::DB or the PHP database functions

2003-03-20 Thread Dan Rossi
i have been using the pear db for a long time , although , portability =slower abstraction , aparantly the DB is not continuing, and MDB is its predecessor, anyway i've had a bit of trouble getting the MDB to work , in fact i got DB to work pretty much straight away thanks to thoms howto page, MDB

Re: [PHP] internally stored binary image

2003-03-20 Thread speedfreak
Ernest E Vogelsinger wrote: > At 15:57 20.03.2003, [EMAIL PROTECTED] spoke out and said: > [snip] > >In order to distribute a single script I would like to store a small > >image internally. Is this at all possible with PHP? How would I go about > >it? Pleas

Re: [PHP] Cleaning user data

2003-03-20 Thread Leif K-Brooks
My BBCode class takes care of unended tags, and much more. Have a look at http://www.phpclasses.org/browse.html/package/951.html. Chris Shiflett wrote: I still fail to see how BB code helps in any way, since you have to make these same considerations. But, like I said, maybe I'm missing somethi

Re: [PHP] Banner ad solution?

2003-03-20 Thread Jason k Larson
I use phpAdsNew in a production environment and it has been rock solid stable. I am hugely impressed with phpAdsNew and would recommend it to anyone for a real banner ad solution. But then again, I'm only serving maybe 5 million views in a month with it. -- Jason k Larson Boaz Yahav wrote: Prov

RE: [PHP] Zero Fill -> Number Format

2003-03-20 Thread Chris Shiflett
> $something = 26; > $something = sprintf('%7d', $something); > $something = str_replace(' ', '0', $something); > echo $something; This is a bit more direct: $something = 26; echo str_pad($something, 7, '0', STR_PAD_LEFT); Chris = Become a better Web developer with the HTTP Developer's Hand

RE: [PHP] Zero Fill -> Number Format

2003-03-20 Thread Chris Shiflett
--- Boaz Yahav <[EMAIL PROTECTED]> wrote: > wouldn't this just print empty spaces before the number instead of the > needed Zeros? Yes, you are correct. > -Original Message- > From: Martin Towell [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 20, 2003 1:11 AM > To: 'Harry.de'; [EMAIL

RE: [PHP] Banner ad solution?

2003-03-20 Thread Boaz Yahav
Proved to be very stable for me :) -Original Message- From: MIKE YRABEDRA [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 7:00 PM To: PHP List Subject: [PHP] Banner ad solution? Can someone suggest a 'good' banner ad solution that is done in php. Please do not suggest phpAdN

RE: [PHP] Zero Fill -> Number Format

2003-03-20 Thread Boaz Yahav
wouldn't this just print empty spaces before the number instead of the needed Zeros? -Original Message- From: Martin Towell [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 1:11 AM To: 'Harry.de'; [EMAIL PROTECTED] Subject: RE: [PHP] Zero Fill -> Number Format sprintf/printf("%7

[PHP] Visitor Counter

2003-03-20 Thread Ludi Sasnita
I want to make a Visitor Counter on my page. Not a Hit Counter. How to make it? Give me a sample script with PHP. Especially with command SESSION_ID Thanks, Ikuti polling TELKOM Memo 166 di www.plasa.com dan menangkan h

[PHP] HPUX 11 and PHP4 build - Unresolved symbol __udivdi3 (NIGTHMARE)

2003-03-20 Thread Harring Figueiredo
I am trying -- for the past day - to build php4.3.1 against apache1.3.27 as a DSO module on HPUX11 using gcc. I build everythigng and I can get apache running without the php module. Once I add the php module, I get the following errors: /usr/lib/dld.sl: Unresolved symbol: __udivdi3 (code) f

Re: [PHP] php and forms

2003-03-20 Thread Chris Shiflett
--- b b <[EMAIL PROTECTED]> wrote: > This could be a silly mistake or it could be a sign > of configuratin problems. Is register_globals on? If not, your code assumes it is, so that is your problem. Chris = Become a better Web developer with the HTTP Developer's Handbook http://httphandbook.

Re: [PHP] Cleaning user data

2003-03-20 Thread Chris Shiflett
--- "CPT John W. Holmes" <[EMAIL PROTECTED]> wrote: > You don't want to do matching like you've shown, though. If I put a on > my page with no , then it's going to make everything on the entire page > following my post bold. Well, my example was simplified. If the user's data is contained in a ta

RE: [PHP] credit card validations..

2003-03-20 Thread Chris Shiflett
--- Edward Peloke <[EMAIL PROTECTED]> wrote: > Forgive my ignorance of the subject but would this just say the card was > valid? How do you go about actually charging the users card and get the > funds? I think (without looking) Kevin's advice was to help you determine whether a credit card numbe

[PHP] Anyone connect to a FileMaker DB?

2003-03-20 Thread Joshua Groboski
I know, FileMaker is not a real database. I have taken over some legacy systems and while I am redesigning the system, I need to be able to connect to a FileMaker DB. If you've done it, or know how I can do it, please let me know. Joshua Groboski Programmer Analyst / Webmaster SAVVIS Communicati

[PHP] Finding UserName of HTTP Server

2003-03-20 Thread Michael Smith
Hi, Is there an environment variable for the user (like apache or nobody) that is used by the server for http serving? -Michael -- Michael Smith <[EMAIL PROTECTED]> Custom87.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php and forms

2003-03-20 Thread b b
Hi, This could be a silly mistake or it could be a sign of configuratin problems. Simply put, my submitted form variables are not reaching the recieving end: A form: A recieving file testForm.php: testVar is : %s", $testVar); ?> When entering value like testtest in the form e

[PHP] Is there a way to access all the variables in my script?

2003-03-20 Thread Daevid Vincent
Is there some global array or something that contains all the variable names (not even values per se) that are used in my script. Here's the scenario. Like most of you, I do a lot of mySQL db work. So I tend to use this: if (mysql_num_rows($result) > 0) { $row = mysql_fetch_array($result,MYSQL

Re: [PHP] Q. How to remove new line/CrLf in string??

2003-03-20 Thread André Cupini
Jack, I replace the "\n" char by nothing in my scripts of the following form: -- André Cupini - Programador -- [EMAIL PROTECTED] -- NeoBiz - fábrica de internet http://www.neobiz.com.br --

[PHP] Q. How to remove new line/CrLf in string??

2003-03-20 Thread Jack Schroeder
Hello: I am trying to use an ASCII/Txt database for a 'for sale by owner' site. I need to figure out a way to remove any carriage returns entered into a "Comments" string because \n is the record delimiter. I have tried the nl2br() fundtion but that seems to ad the but doesn't remove the \n. Any

Re: [PHP] php, mysql, and method question

2003-03-20 Thread Hugh Danaher
Charles, it sounds like you want the most recent 9 articles ("...order set to 1 so it shows up first when ..."), so why not something like "select * from article_table order by id desc, limit 9" [assumes id is int not null auto_incremented]. You could also increment the value in the field something

Re: [PHP] PHP Devel Environments???

2003-03-20 Thread Larry E. Ullman
The only product I know of that fits your description (I think) is JaneBuilder (http://www.seejanecode.com). It's currently available for Mac and will be on Windows soon. Never used it myself... Larry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/un

RE: [PHP] Zero Fill -> Number Format

2003-03-20 Thread Daevid Vincent
Just an observer, but I love how you each had a different way of accomplishing this task! ;-) And Mike, looks like you have some re-writing to do now that Martin and Kevin showed you a WAY simpler (and faster) way to accomplish what you did. LOL. http://daevid.com > -Original Message- >

RE: [PHP] Zip Way of life.

2003-03-20 Thread Daevid Vincent
> zip file and unzip is not installed by on Unix servers. :-( So either install it on the servers that need it, or distribute the un/zip exe with your package in your projects local directory -- this also saves you having to deal with different versions on different servers that may not always do

Re: [PHP] PHP Devel Environments???

2003-03-20 Thread John Wells
Henrik, Why not use Smarty and create your own functions for your designers to use? That's one of it's purposes, after all. John Henrik Hudson said: > Hey List- > > Any one have some input on some good GUI WYSIWYG devel enviroments for > creating PHP "scriptlets". The boss wants to lose the dep

Re: [PHP] To use PEAR::DB or the PHP database functions

2003-03-20 Thread Charles Kline
Pear is really nice. I am very happy with it. - Charles On Thursday, March 20, 2003, at 02:56 PM, Merritt, Dave wrote: All, I've always used MySQL databases and the MySQL functions in PHP for my code in the past. However, I'm now working on a project that I want the project to be able to be

[PHP] PHP Devel Environments???

2003-03-20 Thread Henrik Hudson
Hey List- Any one have some input on some good GUI WYSIWYG devel enviroments for creating PHP "scriptlets". The boss wants to lose the dependancy on the 2 "programmers" (myself and another person) for every little piece of PHP code. Of course, the graphic designers have no desire to learn sourc

[PHP] To use PEAR::DB or the PHP database functions

2003-03-20 Thread Merritt, Dave
All, I've always used MySQL databases and the MySQL functions in PHP for my code in the past. However, I'm now working on a project that I want the project to be able to be database independent so that the user of the project can use whatever database he/she wishes. I'm looking primarily at prov

[PHP] Re: Running DB on different server

2003-03-20 Thread pinnockio
Hello, I wrote everything down for later scenario's. Hope it'll help you ;). A belgian guy Todd Cary wrote: Can the DB be on a different server than the page server? Todd -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] credit card validations..

2003-03-20 Thread Ernest E Vogelsinger
At 20:00 20.03.2003, Edward Peloke spoke out and said: [snip] >Forgive my ignorance of the subject but would this just say the card was >valid? How do you go about actually charging the users card and get the >funds? [snip]---

Re: [PHP] Running DB on different server

2003-03-20 Thread Leif K-Brooks
Yes. Todd Cary wrote: Can the DB be on a different server than the page server? Todd -- -- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.

Re: [PHP] Running DB on different server

2003-03-20 Thread Larry E. Ullman
Can the DB be on a different server than the page server? Yes. For example, with MySQL, you just need to create a user with permission to connect from a remote computer by setting the appropriate host value. Larry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://w

[PHP] php, mysql, and method question

2003-03-20 Thread Charles Kline
hi all, i have a question about a good method of handling this challenge. i have a table that contains articles. i have another table which contains the order 1 - 9 that i would like to display them in. this part is done, and is not a problem. here is where I am not sure how to proceed. 1. t

[PHP] Running DB on different server

2003-03-20 Thread Todd Cary
Can the DB be on a different server than the page server? Todd --

RE: [PHP] credit card validations..

2003-03-20 Thread Edward Peloke
Thanks Kevin! Forgive my ignorance of the subject but would this just say the card was valid? How do you go about actually charging the users card and get the funds? Thanks, Eddie -Original Message- From: Kevin Stone [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 1:58 PM To: E

Re: [PHP] credit card validations..

2003-03-20 Thread Kevin Stone
- Original Message - From: "Edward Peloke" <[EMAIL PROTECTED]> To: "[EMAIL PROTECTED] Php. Net" <[EMAIL PROTECTED]> Sent: Thursday, March 20, 2003 11:50 AM Subject: [PHP] credit card validations.. > The owner of the php site I am working on just told me he want to do credit > card valida

[PHP] credit card validations..

2003-03-20 Thread Edward Peloke
The owner of the php site I am working on just told me he want to do credit card validations on the site. Currently, we aren't doing anything with credit cards. I have no idea as to where to even start with this. Should I simply go the paypal route? Thanks, Eddie -- PHP General Mailing List

[PHP] Session Question

2003-03-20 Thread PHP List
Hi All, I have a question about sessions. I need to pass session data from one domain to a secure domain. (www.mydomain.com to www.securedomain.com). I would like to preserve the session data in case the visitor goes back to www.mydomain.com. I thought about just passing the session ID to www.sec

  1   2   >