[PHP] variables passed through URL

2003-10-09 Thread Frank Tudor
If I have have set a url to be displayed like this: www.mysite.com/some_page.php?value=this and wanted to tag on another value what would I seperate the dtwo with/ Also since it is now displayed in the url and I need the value in some area on my form. How would I populate the value in a form tag

[PHP] Pulling variables from a URL

2003-10-14 Thread Frank Tudor
_GET['$username']; echo $_POST['$username']; This page sumbits with PHP_SELF if that helps with this puzzle. Can someone tell me what I'm doing wrong? Also I do have an include file that looks for session information but Ihave disabled it to see if I can pass variables.

Re: [PHP] Re: Pulling variables from a URL(thanks)

2003-10-14 Thread Frank Tudor
Thanks eveyone for all the info. I got it working! :) Frank --- Gabriel Peugnet <[EMAIL PROTECTED]> wrote: > Every body have already gave you the answers. > Just one more thing: > > the method you are useing is GET because you are passing > variables in the > URL

[PHP] session question

2003-10-14 Thread Frank Tudor
How do you make a session time out? and how do you make a session end if a person leaves your site? Frank __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com -- PHP General Mailing List (http://www.php.net/) To

[PHP] Error Handling

2003-10-17 Thread Frank Tudor
then post the selection back to the form if the form is not complet? Thanks, Frank __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Error Handling

2003-10-17 Thread Frank Tudor
would really be interested in quickforms or interjinn or something easy that can get this form under control. Any other suggestions? Besides a brain transplant... :) Frank --- Robert Cummings <[EMAIL PROTECTED]> wrote: > On Fri, 2003-10-17 at 23:14, John Nichel wrote: > > >

[PHP] .htaccess question protect my php test environment

2003-10-24 Thread Frank Tudor
I have to apologies about this posting in advance so please don't flame me too bad for being off topic. Question: I want to create an .htaccess file to protect my files I did the passwrd -c /directory/file frank the set a password and then confirmed the password I created a .htaccess

[PHP] function problem (simple redirect)

2003-10-27 Thread Frank Tudor
. I get a t_string error or t_varialbe but I don't know what to do to fix it. Frank code -- $payment = 1; echo $payment; function $payment{ if ($payment == "0"); header ("location:test_page.html"); }else{ ($payment == &quo

[PHP] RE: function help redirect help

2003-10-27 Thread Frank Tudor
$payment = "1"; function payment(){ global $payment; if ($payment == "0"); header ("location:test_page.html"); } global $payment; elseif ($payment == "1") { header ("location:test_page2.html"); } __ Do you Yahoo!? The New Yahoo! Shopping - with improved product se

[PHP] RE: function help redirect help

2003-10-27 Thread Frank Tudor
Here is what Ihave I am getting a elseif parse error. Is there something I'm leaving out? Frank code --- $payment = "1"; function payment(){ global $payment; if ($payment == "0"); header ("location:test_page.html"); } global $payment

[PHP] RE: function help simple redirect

2003-10-27 Thread Frank Tudor
Sorry I'm getting this error message Parse error: parse error, unexpected T_ELSEIF __ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: h

Re: [PHP] RE: function help redirect help

2003-10-27 Thread Frank Tudor
I made the changes but I am getting: Parse error: parse error, unexpected T_ELSEIF I did take the second global statement out after I cut and pasted your code and modified the urls so now here is what it looks like (the whole thing). Frank http://ftudor/test/test_page.html

Re: [PHP] Re: function help simple redirect

2003-10-27 Thread Frank Tudor
ocking this? I know don't need the quotes around the "1" because it's a number vaule and not a string. Can anyone think of any other reason why it might not work? Frank http://ftudor/test/test_page.html'); } elseif ($payment == "1") { hea

Re: [PHP] Re: function help simple redirect

2003-10-27 Thread Frank Tudor
I get my ugly purple test page :) Frank --- Chris Shiflett <[EMAIL PROTECTED]> wrote: > --- Frank Tudor <[EMAIL PROTECTED]> wrote: > > I am putting in the $payment="1"; so it will automatically > go to > > test_page2.html but it just sits there. >

RE: [PHP] Re: function help simple redirect

2003-10-27 Thread Frank Tudor
Oh?!?! Sweet! thanks... let me try that and get back to the group :) --- Pablo Gosse <[EMAIL PROTECTED]> wrote: > On Monday, October 27, 2003 11:26 AM, Frank Tudor wrote: > > > This one worked (kinda) > > I have no more errors but it doesn't do the redire

RE: [PHP] Re: function help simple redirect

2003-10-27 Thread Frank Tudor
Shit! payment(); WORKS! Thank for teach me how to do a function guys!!! Frank --- Frank Tudor <[EMAIL PROTECTED]> wrote: > Oh?!?! > > Sweet! thanks... let me try that and get back to the group > > :) > > > --- Pablo Gosse <[EMAIL PROTECTED]> wrote: &

[PHP] Possible query problem

2003-10-28 Thread Frank Tudor
dln='".$_POST["dln"]."' and users.password='".$_POST["password"]."'"; then it should return a 0 or a 1 and that will go into the function and route a user to the right page. Since I don't have a payment processing tool in place I

[PHP] revised query problem (sorry)

2003-10-28 Thread Frank Tudor
$query="SELECT payment FROM payment WHERE payment.dln='".$_POST["dln"]."' = users.dln='".$_POST["dln"]."' and payment.payment='".$_POST["payment"]."'"; Will this work? Frank ___

[PHP] Posting variable in url

2003-10-29 Thread Frank Tudor
form is posts to itself. The url holds the same variables that were pass through the redirect. My concern is that if a variable got altered in the URL by misstake or on purpose it would post to the refreshed page and screw everything up. Anyone run into something like this? Frank _

[PHP] Put output of mysql into an Array

2003-11-01 Thread Frank Keessen
for example); array( "January 12" => 52, "August 4" => 45 ); Thanks for your help! Regards, Frank

Re: [PHP] Put output of mysql into an Array

2003-11-01 Thread Frank Keessen
O.K. When i do this: To: "Frank Keessen" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, November 01, 2003 11:59 AM Subject: Re: [PHP] Put output of mysql into an Array > Frank Keessen wrote: > > > Hi, > > > > Can somebody help me

[PHP] Parse error?

2003-11-15 Thread Frank Keessen
se { $query = 'INSERT INTO ttra(reisid, accomodatieid) VALUES ('$id2', '.$_POST['accomodatieid'].')';<- THIS IS LINE 42 $result = mysql_query($query) or die ("Error in query: $query. " . mysql_error()); } Thanks for the help! Regards, Frank

Re: [PHP] Parse error?

2003-11-15 Thread Frank Keessen
Thanks for the help, and pointing out the security risk, Chris & David! Regards, Frank - Original Message - From: "Chris Shiflett" <[EMAIL PROTECTED]> To: "David Otton" <[EMAIL PROTECTED]>; "Frank Keessen" <[EMAIL PROTECTED]> Cc: <

[PHP] Question about video (PHP unrealted)

2003-11-19 Thread Frank Tudor
distraction. Frank __ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Timer and submit button

2003-11-21 Thread Frank Tudor
I am trying to create a timer tha would prevent someone from clicking submit until the timer reaches zero. THe reason is to keep an individual on a page for a certain amount of time. Does anyone know the best way to do this? PHP? Javascript? Any examples? Frank

[PHP] random question generation

2003-12-01 Thread Frank Tudor
r not. Anybody been down this road before? Frank __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Caps or No caps

2004-01-11 Thread Frank Keessen
lo world". I googled and looked at the php.net site but i'm not seeing it. Regards, Frank

[PHP] Missing function virtual () ???

2001-01-15 Thread Frank Gadegast
Hi, compiled PHP3/PHP4 as external CGI under Apache. Calling results in a Fatal error: Call to undefined function: virtual() in "local-path" on line 4 Does this funktion need to be activated ? Does is not work in a CGI-PHP ? MfG, Frank Gadegast -- PHADE Software

Re: [PHP] Ethics question...

2001-01-18 Thread Frank Joerdens
ct that they do? If so, how? That'd be a very cool tidbit of information to share . . . Cheers, Frank -- 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] flash and php

2001-01-18 Thread Frank Joerdens
ntegrates nicely with any server-side scripting method. It's not open source but still rather inexpensive (unlike Macromedia Generator). - Frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[PHP] Persistent connections and transactions

2001-01-25 Thread Frank Joerdens
g for output from the script and that that means that everything is fine and hunky-dory . . . I'm not sure though, and there is nagging trace of murkiness. Cheers, Frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

Re: [PHP] Persistent connections and transactions

2001-01-25 Thread Frank Joerdens
(because it contains php code that does). This takes a while. In the meantime, while the SQL server is chugging away running the query, will the Apache child not accept further http requests? How does the Apache child know that it is waiting for the query to complete? This is what I don't

Re: [PHP] Persistent connections and transactions

2001-01-25 Thread Frank Joerdens
owsers. So if Apache/PHP allows a 2nd browser to connect to a particular Apache process while it's waiting for a query to complete that would generate information to be sent back to the first browser, then you're in trouble. But I think it would be pretty silly for Apache/PHP to allow that

Re: [PHP] Persistent connections and transactions

2001-01-25 Thread Frank Joerdens
Adams thoughts, wouldn't it be the best > optimization configuration of php.ini to have only one persistent conection? > Wouldn't there be one per-child? Any way, you can't have two connections to > the same httpd child. Those where my thoughts too (or, rather, Adams t

Re: [PHP] Persistent connections and transactions

2001-01-26 Thread Frank Joerdens
multiple "ROLLBACK WORK;" queries :-) Ah. Very cool. What I _still_ don't quite understand, though, is _how_ exactly this situation could come about. And what the worst case would be. What if you don't kill the transaction in ABORT STATE? Ta, Frank -- PHP General Mailing Li

Re: [PHP] Using PHP as a shell script

2001-03-09 Thread Frank Joerdens
On Fri, Mar 09, 2001 at 03:07:34PM -0300, Alexandre Hautequest wrote: > Hi all. > > Can i use PHP as a shell script, like bash? Or this is inviable, impossible > and/or out of question? There's a good tutorial at phpbuilder.com - check the archives there. Regards, Frank

Re: [PHP] mail() implementation problem

2001-03-16 Thread Tim Frank
ed this on my servers and it works great. You do have to add the one line to the scripts that use the mail function, but that is really it after sendmail is configured. Hope that was what you were looking for. Tim Frank >>>>>>>>>>>>>>>>>&

Re: [PHP] php under Oracle Web server pleaaaaaaaaaase!

2001-03-19 Thread Frank Joerdens
tly. You can always use the CGI or servlet options though. All the stuff for other web servers besides Apache is in the source tree under: /usr/src/php-4.0.4/sapi/ Regards, Frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

Re: [PHP] parse error is always on line 1 == error ?

2001-04-27 Thread Frank Joerdens
wer Tools page to convert the Mac files to Unix format, and the problem went away: http://language.perl.com/ppt/src/nlcvt/index.html Cheers, Frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: [PHP] Re: [PHP-DEV] Fork() in php?

2001-05-20 Thread Frank Joerdens
e of this. What is the ticks feature and where can I read about it? The only reference I could find was in the PHP-DEV archives back in September about something you call by doing register_tick_function() . . . but nothing substantial in the way of documentation. Thanks, Frank -- PHP General Mai

Re: [PHP] Re: [PHP-DEV] Fork() in php?

2001-05-20 Thread Frank Joerdens
hty Rasmus himself! Having worked with M$ stuff mostly up until then if felt, wow, this is like, I post to Microsoft and get an answer from Bill within the half-hour! I was undecided then as to which scriptiong environment to go for. This won me over. Cheers, Frank -- PHP General Mailing List (http:

[PHP] Installing PHP from CVS: `AM_PROG_LIBTOOL' not found in library

2001-05-22 Thread Frank Joerdens
; since my libtool stuff is installed in a non-standard location. This doesn't help though. Does anyone know what this all means? Cheers, Frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

[PHP] emulate a browser

2002-01-23 Thread Frank Benady
? Is ther some http functions in PHP which permit to do this test ? Thanks in advance Frank -- 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

Re: [PHP] emulate a browser

2002-01-24 Thread Frank Benady
Thanks for your help Michael, I'll try it out. Frank > At 01:45 AM 1/24/2002 +0100, Frank Benady wrote: > >Hi All > > > >Can I emulate the first request of a browser when it tries to connect to a > >distant server using a domain name and parse the answer from

Re: [PHP] emulate a browser

2002-01-24 Thread Frank Benady
normal ? Do you know if there is some alternatives so I could check if the domain name is used, even on a frame-forward type redirectection ? Moreover, if the domain has been redirected, is it possible to get the url it has been redirected to ? Thanks again for your help Frank - Original

[PHP] SAPI (Apache 2) question & connection pooling

2002-02-01 Thread Frank Joerdens
sking because connection pooling as it works now with persistent connections is pretty awkward, and leads me to look with envy on the Aolserver/TCL crowd . . . (I like PHP and see no reason to switch to TCL except for the connection pooling issue). Regards, Frank -- PHP General Mailing List

Re: [PHP] SAPI (Apache 2) question & connection pooling

2002-02-01 Thread Frank Joerdens
looks like this at the moment: -- snip -- frank@limedes:~ > ps ax |grep postgres 17954 ? S 0:09 postgres: wwwrun archi 127.0.0.1 idle 20479 ? S 0:00 postgres: wwwrun ip_adressen [local] idle 21576 ? S 0:12 postgres: wwwrun archi 127.0.0.1 idle 21707 ?

[PHP] ssl

2002-02-01 Thread Frank Hertogs
Anyone have experience with authentication on ssl connections, I have a (working) script to authenticate a user but as soon as I put it on my ssl it just stops working. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

RE: [PHP] Email Attachment

2002-02-01 Thread Frank Hertogs
achment; filename=\"attach.pdf\"\n\n"; $enc_pdf = chunk_split(base64_encode($buffer)); $body .= $enc_pdf . "\n"; } $body .= "--Message-Boundary--\n"; //mail actual message mail($email, $subject, $body, $x_headers); } I hope this helps you. Frank. -Oorspr

[PHP] Formatting a MYSQL time

2002-02-07 Thread Frank Miller
all I get is 6:00 pm for all the events. When I print $eventtime I get the correct time that is stored in Mysql. My question is am I doing this correctly or do I need to use another function to format a mysql time. Thanks in advance. Frank Miller Computer Specialist and Webmaster Technology

RE: [PHP] ssl

2002-02-09 Thread Frank Hertogs
guessing my subject was a little off. Maybe a good solution for you is creating a form on the page just before leaving SSL with the variables you want to transfer in hidden fields, and re-registering them in the non SSL environment. Frank. -Oorspronkelijk bericht- Van: James Arthur

[PHP] Where To Find Resources About Programming Style (my bleedin' code is so darn ugly)

2002-02-16 Thread Frank Joerdens
s there are canonical texts on SQL (Codd, Celko), C (Kernigan, Ritchie), Perl (Wall), epistemology (Kant), the laws of motion (Newton), general relativity (Einstein), psychoanlysis (Freud) . . . you name it. Regards, Frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Mysql_num_rows

2002-02-18 Thread Frank Miller
here is something scheduled but when there is nothing scheduled $num shows nothing on the screen. I'm using Mysql 3.23.38 and php 4.06 on a windows test machine but it works the same on php 4.06 and Mysql 3.23.46 on my Linux server. Has anyone else run into this and if so can you tell me w

[PHP] RE: mysql_num_rows

2002-02-19 Thread Frank Miller
ts of $num it would always be blank. The clue came when I deliberately changed the vale of $num right above my code above and it still didn't work. Thanks again to all who replied. It was a good chance to learn about isset(), empty() and other functions. Frank Frank Miller Computer

Re: [PHP] Re: Where To Find Resources About Programming Style (my bleedin' code is so darn ugly)

2002-02-19 Thread Frank Joerdens
ome unreadable which is not a functionality issue but more of a managament question (reinventing everything that I'd figured out at some point over and over again begins to feel kinda silly) . . . Thanks for your suggestions! Regards, Frank -- PHP General Mailing List (http://www.php.net/) To uns

Re: [PHP] Re: Where To Find Resources About Programming Style (my bleedin' code is so darn ugly)

2002-02-19 Thread Frank Joerdens
728144 > > There is also the Indian Hill style guide--for C, but highly > transferrable to PHP: > > http://dogbert.comsc.ucok.edu/~mccann/cstyle.html > > For a whole list of 'em, check out: > > http://www.cs.umd.edu/users/cml/cstyle/ I'll check &#

[PHP] Apache2

2002-05-13 Thread Frank Miller
e MySQL and PHP over again for the second installion of Apache? I know I'll have to change the port number on the second Apache installion. What I'm wondering is has anyone done this and, if so, what steps you used to accomplish this. TIA - Frank Frank Miller Computer Specialis

[PHP] microtime.c build problem mentioned in FAQ

2002-02-28 Thread Frank Joerdens
gets included. My question is: Is this a bug or am I screwing something up by commenting out those 2 lines? Regards, Frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Upgrading PHP

2002-02-28 Thread Frank Miller
to do to get rid of the older version of PHP and upgrade to the new? Thanks in advance - Frank Frank Miller Computer Specialist and Webmaster Technology and Distance Education Texas A&M University-Texarkana 2600 North Robison Rd Texarkana, Texas 75501 Phone: 903-223-3156 Fax: 903-223-

Re: [PHP] Upgrading PHP

2002-02-28 Thread Frank Miller
hen I compiled PHP one of the configure parameters was --with-apache=../apache1.3.14 . Since I didn't do that for this recent compile of PHP will I have to compile PHP over again? TIA - Frank At 03:37 PM 2/28/2002, you wrote: >Frank, > >Using PHP as an Apache module requires y

RE: [PHP] Help me!!!Can I use PHP to send SMS message???

2002-02-28 Thread Frank Hertogs
Another way of doing it is thru an e-mail to sms gateway; free or paid. That way you could make a simple form and use mail(); Just a thought. Frank. -Oorspronkelijk bericht- Van: Simon Willison [mailto:[EMAIL PROTECTED]] Verzonden: donderdag 28 februari 2002 12:30 Aan: hei CC

[PHP] help: setcookie question

2002-03-12 Thread Frank Ramsay
pretty please? I have a situation where I have to have a cookie that is set by one apache server and read by another. They are on the same domain, but different ports. To write this I set up two webserver one on port 81 and one on 90, the port 81 server calles setcookie, but in the DOMAIN argu

[PHP] Re: setcookie problem: Cannot add header information - headers already sent by

2002-03-13 Thread Frank Ramsay
Cookies have to be set before the block begins. -fjr Bob wrote: > here is the example: > > // Beginning php > > // Saving the page header in the variable $head. > $head = << > > > Feedback form > > > > Feedback form > ENDH; > // End of page header > > //

[PHP] PHP-Compiling roxen and apache

2002-03-27 Thread Lothar Frank
hi folks, to compile PHP4 i need apache AND roxen being installed in my development distribution. BUT if i install apache AND roxen the same time it conflicts together and no webserver is running anymore. the building of PHP is working well if i have installed both. does anybody know a workaround

[PHP] April fools day - did anyone notice Thies's fangs on rc1???

2002-04-02 Thread Frank Joerdens
r's system date back to yesterday, as in $ date -s 04/01/02 :)) - Frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Hosting for FREE??

2001-04-02 Thread Frank K
Hi, I am just learning PHP (I was a ASP developer but I switched over) and I need a host that is free and lets me use PHP4 and MySQL? Does anyone know of such a host? If you do please tell me! Thanks, -Frank

[PHP] 1 MySQL Database??

2001-04-04 Thread Frank K
Hi, The host that I am currently at only gives me 1 MySQL Database and I was wondering if I create lots of table will it slow it down at all? I will only be selecting data from 1 or 2 tables on a page...do you think it would slow it down at all? Thanks, -Frank

[PHP] PHP with Win2k or Linux

2001-04-04 Thread Frank K
Does anyone know is there are advantages to running linux while developing php? I just would like to know if there is anything special to installing and developing on linux before I move from Win2k?? Thanks, -Frank

[PHP] HELP...Installation of PHP on Debian Linux!

2001-04-09 Thread Frank K
file...like where it was installed on your machine. I uncompressed it in my home directory /home/username Thanks, -Frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

[PHP] Flash XMLSocket object and the PHP socket functions

2001-04-09 Thread Frank Joerdens
. . . and Flash 5 could fill that gap for the stuff I'd like to do at least. Regards, Frank -- 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] SQL statement for clearing a table

2001-06-22 Thread Balak, Frank
delete from tablename -Original Message- From: Wilbert Enserink [mailto:[EMAIL PROTECTED]] Sent: Friday, June 22, 2001 07:18 To: [EMAIL PROTECTED] Subject: [PHP] SQL statement for clearing a table Hi all, anybody knows the mysql statement for clearing the contents of a table and lievin

[PHP] Re: Export to Excel

2001-07-13 Thread Tim Frank
e advanced than with 97 which we still use. I hope that helps everyone out a little. There are limitations with this method, but to just get a file that someone can safely open in Excel, it is a very convenient way to do it rather than having to muck around with binary files. Have a good we

[PHP] Re: force download in IE

2001-08-21 Thread Tim Frank
pe is always fine, and I haven't tried any others extensively. Fiddle with the various headers for the different IE browsers and you will get it to work. Tim Frank >>>>>>>>>>>>>>>>>> Original Message <<<<<<<

Re: [PHP] Re: force download in IE -- conclusion

2001-08-23 Thread Tim Frank
ss everything through the URL to force a download. Hope that helps too. Tim Frank >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< On 22/08/01, 5:47:26 PM, [EMAIL PROTECTED] (Pierre-Yves

[PHP] Fwd: functions returning arrays

2001-08-24 Thread Frank Loewenthal
ay shows 2 Elements, but they are emty Hm... Where is do mistake? Regards Frank -- SFI Technology Services AG Dr. F. Loewenthal Stettbachstrasse 10 CH-8600 Dübendorf Switzerland [EMAIL PROTECTED] www.sfi.ch +41/1-824 49 00 --- --

[PHP] functions returning arrays II

2001-08-24 Thread Frank Loewenthal
27;); return $ret; } $r = getArray(); for( $i=0;$i < count($r); $i++) echo "$r[ $i ]"; Does not work! The array shows 2 Elements, but they are emty Hm... Where is do mistake? Regards Frank -- SFI Technology Services AG Dr. F. Loewenthal Stettbachstrasse 10 CH-8

[PHP] functions returning arrays II ... Umpf....@!**x@#

2001-08-24 Thread Frank Loewenthal
Hi, > A lot of answers about the typing error > $r[ i ] resp. $r[ $i ] > > Sorry, this was only wrong in my mail. But this is not the solution. Okay this was really the mistake. Hm... it is Friday, sorry for this stupid question. Regards Frank -- SFI Technology Servi

Re: [PHP] Re: Problem using session

2001-08-28 Thread Frank Loewenthal
On Tuesday 28 August 2001 02:20 pm, you wrote: > And one question: > Should I use "session_start()" in every php file on my site ? > > Thanks, > Rosen Yes! -- SFI Technology Services AG Dr. F. Loewenthal Stettbachstrasse 10 CH-8600 Dübendorf Switzerland [EMAIL PROTECTED] www.sfi.ch +41/1-824

[PHP] PWS

2001-08-28 Thread frank clarke
,script privlages. The PHP CGI install prog was supposed to take care of all config stuff, and set up the php.ini file, however in the php.ini file there was no entry for "document root" so I put in inetpup/wwwroot but still the test.php3 page does not work. any ideas? t

[PHP] PHP and PWS

2001-08-29 Thread frank clarke
I downloaded and installed PHP 4.06. The readme file says that the auto install prog setsup PHP to work with PWS and sets up php.ini. However, when I look at php.ini, there are no entries for these two parameters ; The root of the PHP pages, used only if nonempty. doc_root= ; The directory under

Re: [PHP] Using Post like Get

2004-07-23 Thread Frank Munch
Hi, a cookie is path-specific - can that help you? Frank At 10:54 PM 8/23/2004, you wrote: What I'm trying to achieve is to have the same cookie IDENTIFY a user on different (or same) applications (on the same server), but require them to log in for each application, and get a different se

[PHP] Accessing a variable from inside a local function

2004-07-28 Thread Frank Munch
Would anyone know how to resolve this scope problem? Or is this possibly something PHP can't (yet) do? The problem is to access a variable in a function foo from a function local to foo. - - - function foo($var_foo) { $my_foo_local = 10; //How can I reach this from inside function bar(...?

Re: [PHP] Re: Accessing a variable from inside a local function

2004-07-28 Thread Frank Munch
Thanks for the good suggestion, a fully usable workaround if a "cleaner" thing doesn't surface. And for your response time.. well, I have had slower answers in phone-conversations... :-) At 06:37 PM 7/28/2004, Jason Barnett wrote: Something like this is probably better handled by a class. Then

RE: [PHP] Accessing a variable from inside a local function

2004-07-28 Thread Frank Munch
At 07:39 PM 7/28/2004, Ford, Mike [LSS] wrote: Actually, your problem is that the function bar is *not* local to foo. Even though PHP lets you declare functions lexically within the scope of other functions Ouch! Thanks! Got that much wiser! So for keeping the namespace cleaner usi

Re: [PHP] Re: Problem with submit form if type is image

2004-08-14 Thread Frank Keessen
Thanks Torsten Roehr, it works! Frank "Torsten Roehr" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Dear all, > > > > Can you please help me with the following? >

Re: [PHP] Re: dropdown box displays empty rule

2004-08-14 Thread Frank Keessen
Kim, It worked! Thanks, Frank "Kim Steinhaug" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Well, seems you have some confusing logic here, since you > print out the option before you check if it should be checked. > To top it off, when its accually

[PHP] back button doesn't work with sessions?

2004-08-16 Thread Frank Keessen
sion_start(); header("Cache-control: private"); When i'm hitting the back button it's stays on it's page!!! So no browser back for me! Can somebody help? Thanks! Frank

[PHP] Question on if() priorities

2008-12-12 Thread Frank Stanovcak
end code) which is if either of the first set, and either of the second set, and either of the third set is true return true. Thanks in advance! Frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Need a brain to bounce some Mysql/DB thoughts off of!!

2008-12-12 Thread Frank Stanovcak
"Robert Cummings" wrote in message news:1229096146.22284.27.ca...@localhost... > On Fri, 2008-12-12 at 06:34 -0600, Jay Blanchard wrote: >> [snip] >> It's Christmas... the season of giving and tolerance :| >> [/snip] >> >> We will return you to your regularly scheduled Robert Cummings Jan 2nd, >

[PHP] Re: Question on if() priorities

2008-12-12 Thread Frank Stanovcak
Thanks. Don't know how I could have missed that. "Maciek Sokolewicz" wrote in message news:49428d51.3090...@php.net... > Frank Stanovcak wrote: >> I can't seem to find a reference to this in the manual, but is there an >> order of precedence for and or xo

[PHP] Because you guys/gals/girls/women/insert pc term here are a smart lot

2009-01-05 Thread Frank Stanovcak
anks in advance, and have a great day! Frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Because you guys/gals/girls/women/insert pc term here are a smart lot

2009-01-05 Thread Frank Stanovcak
;m old not addled damnit!" :) "Stuart" wrote in message news:a5f019de0901051115ree20159tbbcf5b3cb2633...@mail.gmail.com... > 2009/1/5 Frank Stanovcak : >> It's been a while since I've programed (VB was on version 4) I was >> wondering >> if any one c

Re: [PHP] Because you guys/gals/girls/women/insert pc term hereare a smart lot

2009-01-05 Thread Frank Stanovcak
This would be the winning answer. I've been using text up till now. I'll have to change that. Thank you! "Robert Cummings" wrote in message news:1231185251.4.2.ca...@localhost... > On Mon, 2009-01-05 at 19:15 +, Stuart wrote: >> 2009/1/5 Frank Stano

Re: [PHP] Because you guys/gals/girls/women/insert pc term here are a smart lot

2009-01-06 Thread Frank Stanovcak
So what I'm taking away from this is that I can index a text column, but that is relatively new. Based on experience with technology I'm going to guess it's not a very efficient index or search function yet. CHAR seems to be well entrenched, and the favorite for any column I may need to search

[PHP] Re: Import files from directory

2009-01-06 Thread Frank Stanovcak
I may be mistaken, but it seems to me you would be better served letting it be file uploaded via php and process it as it arrives. This would save the chron run every 5 min, and dir search headaches. Or is there an issue that requires you to use an ftp transport? "Merlin Morgenstern" wrote

[PHP] Logic puzzle. Not a question. Just for fun

2009-01-06 Thread Frank Stanovcak
training in logic structure or DB design, and yes I know the answer. E-mail me if you want it. Frank. the value of a status field is given in the sdk text as such... ...This number is determined by adding the following values together: State a = 0 State b = 1 State c = 2 State d = 3

[PHP] Re: can a session be used in a query?

2009-01-07 Thread Frank Stanovcak
double quote, single quote I wrote that out because I always have a hard time seeing the two types of quotes so close together in code. Frank...let us know if it works! ""Terion Miller"" wrote in message news:37405f850901071146i11d33987ga747ef2e4932f...@mail.gmail.com... >I

[PHP] Re: can a session be used in a query?

2009-01-07 Thread Frank Stanovcak
rking on, load it up, and then upload the page with all the code and refresh. I never really looked into why this was, but it's not that big of a hassle for me. *shrug* Frank ""Terion Miller"" wrote in message news:37405f850901071146i11d33987ga747ef2e4932f...

Re: [PHP] Re: can a session be used in a query?

2009-01-07 Thread Frank Stanovcak
I can echo fields in > the $row and get the results but when I try and use this: > >if ($row['AddEditAdmin'] == 'YES') { >?> > to sort out what menu items to load it just doesn't do its job. > I would say do this to see if what is in the return is what you are expecting foreach($row as $key=>$value){ echo $key , ': ' , $value , ''; }; just to make sure that the value is "yes", and not 1 or true or something like that. Frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: can a session be used in a query?

2009-01-07 Thread Frank Stanovcak
here is a handy little snippet of code I use. Just include it where you want to get a snap shot of all the variables in an app. ta ta for today boys! - Original Message - From: "Chris" To: "Terion Miller" Cc: "Frank Stanovcak" ; Sent: Wednesday, Ja

<    1   2   3   4   5   6   >