Re: [PHP] how do i give optional arguments to functions??

2001-10-24 Thread Richard S. Crawford
Hm, is the default attribute necessary? I've used this sort of approach without the default attribute just fine in the past. Though I admit that the default attribute would make me feel more secure. At 10:30 AM 10/24/2001, Arpad Tamas wrote: On Wednesday 24 October 2001 19:14, Richard S

Re: [PHP] how do i give optional arguments to functions??

2001-10-24 Thread Richard S. Crawford
(without the default value). Arpi Sliante, Richard S. Crawford http://www.mossroot.com mailto:[EMAIL PROTECTED] AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford It is only with the heart that we see rightly; what is essential is invisible to the eye. --Antoine de Saint Exupéry Push

Re: [PHP] Can PHP do what this javascript does...

2001-10-24 Thread Richard S. Crawford
(-- Then why do I have nine? Somebody help me!) -- 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] Sliante, Richard S. Crawford

[PHP] passing a multi dimensional associative array...

2001-10-25 Thread Spunk S. Spunk III
Pardon me if I've been smoking too much crack but I can't seem to figure this one out... How do I pass an argument to a function that contains a value from multi dimensional associative array? or... How do I pass an variable as an argument that contains value taken from an array? or... Why

Re: [PHP] how can I do this !!

2001-10-25 Thread Richard S. Crawford
.. How I can do that Sliante, Richard S. Crawford http://www.mossroot.com mailto:[EMAIL PROTECTED] AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford It is only with the heart that we see rightly; what is essential is invisible to the eye. --Antoine de Saint Exupéry Push the button, Max! -- PHP

[PHP] argument variable gets lost in function

2001-10-25 Thread Spunk S. Spunk III
I'm assigning a variable a value from an associative array. $variable = $array[key][value]; Then passing the $variable to a function. SomeFunction($variable) The variable exists (can be printed) until a built-in function (within the original function) is called. echo $variable;

Re: [PHP] Re: argument variable gets lost in function

2001-10-25 Thread Spunk S. Spunk III
hmm...weird! is that the code? if you show us your real code...maybe you're missing a small detail... Sorry about the variable names... I can print the variable inside the function until it goes through ereg_replace. Then it's gone. The code works fine if I replace the line '$song =

[PHP] variable gets lost in function problem again...

2001-10-26 Thread Spunk S. Spunk III
Sorry all but I really need to figure this out. Here's a recap of my problem: I have an two dimensional array that is returned from code from an included file. I'm assigning parts of the array to variables ( $variable = $array[key][value]; ). This works fine and can be printed until I send it

Re: [PHP] Best [non-PHP] way to redirect a browser

2001-10-26 Thread Richard S. Crawford
] To contact the list administrators, e-mail: [EMAIL PROTECTED] Sliante, Richard S. Crawford http://www.mossroot.com mailto:[EMAIL PROTECTED] AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford It is only with the heart that we see rightly; what is essential is invisible to the eye. --Antoine de Saint

Re: [PHP] downloading images

2001-10-29 Thread Richard S. Crawford
ideas?! Thanks, Heidi Sliante, Richard S. Crawford http://www.mossroot.com mailto:[EMAIL PROTECTED] AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford It is only with the heart that we see rightly; what is essential is invisible to the eye. --Antoine de Saint Exupéry Push the button, Max

Re: [PHP] spaces vs nbsp; in form fields

2001-10-29 Thread Richard S. Crawford
doesn't render that way in IE/Opera. Sliante, Richard S. Crawford http://www.mossroot.com mailto:[EMAIL PROTECTED] AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford It is only with the heart that we see rightly; what is essential is invisible to the eye. --Antoine de Saint Exupéry Push the button

Re: [PHP] close windows

2001-10-30 Thread Richard S. Crawford
Engenharia S.A. +55 21 3891-2200 r; 2325 -- 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] Sliante, Richard S. Crawford http://www.mossroot.com

[PHP] PHP General Archive

2001-10-30 Thread John S. Huggins
Hello folks. I am yet another person having difficulty with 4.0.6 and GD graphic support. It has been a while since I have been on this list so I want to search the archives of this group. Where are the archives? I remember some archive last year with a black background. Thanks.

[PHP] Append to STDIN

2001-11-08 Thread Cleber S. Mori
! Cleber S. Mori Monitor Lab Linux 2o Ano - Bacharelado em Ciências da Computação ICMC - Instituto de Ciências Matemáticas e de Computação USP - Universidade de São Paulo - São Carlos HPage: http://grad.icmc.sc.usp.br/~cleber/ E-mail: [EMAIL PROTECTED] ICQ/UIN:1409389 -- PHP

[PHP] Append to STDIN

2001-11-08 Thread Cleber S. Mori
Hi again... I had already RTFM... Neither in exec or ``'s I found any thing about STDIN... I just wondered if some one have any tips. thanks again! Cleber S. Mori Monitor Lab Linux 2o Ano - Bacharelado em Ciências da Computação ICMC - Instituto de Ciências Matemáticas e de Computação USP

[PHP] What is the PATH...

2001-11-09 Thread Cleber S. Mori
? Thanks! Cleber S. Mori Monitor Lab Linux 2o Ano - Bacharelado em Ciências da Computação ICMC - Instituto de Ciências Matemáticas e de Computação USP - Universidade de São Paulo - São Carlos HPage: http://grad.icmc.sc.usp.br/~cleber/ E-mail: [EMAIL PROTECTED] ICQ/UIN

Re: [PHP] HTTP Headers

2001-11-09 Thread Richard S. Crawford
-mail: [EMAIL PROTECTED] Sliante, Richard S. Crawford http://www.mossroot.com mailto:[EMAIL PROTECTED] AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford It is only with the heart that we see rightly; what is essential is invisible to the eye. --Antoine de Saint Exupéry Push the button, Max

Re: [PHP] executing another php.script

2001-11-11 Thread Richard S. Crawford
and clicking is not the answer .. one script loops through all the 'selected' rows and I want to 'execute' another script for each row .. can this be done? thanks DSig David Sliante, Richard S. Crawford http://www.mossroot.com mailto:[EMAIL PROTECTED] AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford

[PHP] is_null misses spaces... another solution?

2001-11-13 Thread Spunk S. Spunk III
I need to check variables for blank values but it appears that is_null and == return true if there is a space. Any other suggestions? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: [PHP] javascript to php ???????

2001-11-13 Thread Richard S. Crawford
I populated an array but now I need to pass this array to the same starting php page again. can I do this? --Patricio (I apology because my english is not good enough.. I hope that you can understand me.. ) Sliante, Richard S. Crawford http://www.mossroot.com mailto:[EMAIL PROTECTED] AIM

Re: [PHP] is_null misses spaces... SOLUTION!

2001-11-13 Thread Spunk S. Spunk III
Ahh... and the winner is empty(). Thanks Christian for this elusive answer and everyone else for their input. Spunk I need to check variables for blank values but it appears that is_null and == return true if there is a space. Any other suggestions? Thanks -- PHP General

[PHP] array_unique() workaround?

2001-11-14 Thread Spunk S. Spunk III
I'm working on a script that needs array_unique() but my host is using 4.0.4 and it's broken in that build. Does anyone have a good workaround for this? I can wait for my host to upgrade but if I release this code, it would be better to have the workaround... I just need a good way to check for

Re: [PHP] array_unique() workaround? SOLUTION!

2001-11-14 Thread Spunk S. Spunk III
Thanks everyone for the ideas, Here's what I came up with... I forgot to mention that I needed to preserve the original array's keys. Here is a replacement I wrote that seems to work. Let me know if you see errors in it or have improvements. function my_array_unique($somearray) {

[PHP] I suck at regular expressions!

2001-11-14 Thread Richard S. Crawford
suspect I'm doing something fundamentally wrong. Can anyone set me straight? Sliante, Richard S. Crawford http://www.mossroot.com mailto:[EMAIL PROTECTED] AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford It is only with the heart that we see rightly; what is essential is invisible to the eye

Re: [PHP] Re: I suck at regular expressions!

2001-11-15 Thread Richard S. Crawford
Not quite. I have the same problem. At 11:36 PM 11/14/2001, Johan Holst Nielsen wrote: Richard S. Crawford wrote: I am trying to get the title of an html file... you know, the string between the title and /title tags... Here is the function I've got so far: function fileTitle

Re: [PHP] Re: I suck at regular expressions!

2001-11-15 Thread Richard S. Crawford
Actually, that does work when I'm using a string with that content. The only thing I can figure is that there is a problem with the way the the file is being read. Hmm. Ah, well. I'll make it work. Where's my hammer? At 12:18 AM 11/15/2001, Johan Holst Nielsen wrote: Richard S. Crawford

RE: [PHP] I suck at regular expressions! -- not as bad, now

2001-11-15 Thread Richard S. Crawford
; but what I was trying to find was: title BLAH BLAH BLAH /title It's all good now. Sliante, Richard S. Crawford http://www.mossroot.com mailto:[EMAIL PROTECTED] AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford It is only with the heart that we see rightly; what is essential

[PHP] Anyone ever done this - sort a multi-dimensional array

2001-11-15 Thread Richard S. Crawford
up as: +--+--+ | row of a's | | | a row of b's | | | !row of c's | | +--+--+ Strange that I've been working with PHP this long and have never come across this problem. Sliante, Richard S. Crawford

Re: [PHP] Transfer variable to next web-page

2001-11-17 Thread Richard S. Crawford
PROTECTED] Sliante, Richard S. Crawford http://www.mossroot.com mailto:[EMAIL PROTECTED] AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford It is only with the heart that we see rightly; what is essential is invisible to the eye. --Antoine de Saint Exupéry Push the button, Max! -- PHP General Mailing

Re: [PHP] Version Contol for PHP site

2001-11-19 Thread John S. Huggins
On 19 Nov 2001, Jeff Bearer wrote: -Is anybody doing something like this with their PHP development? Any -direction from a working implementation would be great. And what do you -think about the VNC idea that I just came up with? - VNC in a fine tool, but I think not needed for this. Here is

[PHP] Testing for the presence of HTML

2001-11-20 Thread Richard S. Crawford
the best way to check and see if HTML is present in the field? Sliante, Richard S. Crawford http://www.mossroot.com AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford MSN: [EMAIL PROTECTED] It is only with the heart that we see rightly; what is essential is invisible to the eye. --Antoine de Saint

[PHP] Cookies and Variables

2001-11-20 Thread Richard S. Crawford
the value of the cookie? Sliante, Richard S. Crawford http://www.mossroot.com AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford MSN: [EMAIL PROTECTED] It is only with the heart that we see rightly; what is essential is invisible to the eye. --Antoine de Saint Exupéry Push the button, Max! -- PHP

RE: [PHP] Re: auto form submit

2001-11-20 Thread Richard S. Crawford
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] Sliante, Richard S. Crawford http://www.mossroot.com AIM: Buffalo2K ICQ: 11646404 Y!: rscraw

Re: [PHP] Deleting from MySQL with more than one 'where' variable?

2001-11-21 Thread Richard S. Crawford
delete_one_sub($sel, $field, $update) { $query = delete from usr_stats where sel='$sel' and spec='$field'; $result = mysql_db_query(f6, $query); } However, that doesn't work. Help? Thanks. Sliante, Richard S. Crawford http://www.mossroot.com AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford MSN: [EMAIL

Re: [PHP] Installing PHP with windows

2001-11-21 Thread Richard S. Crawford
and much, much more secure than PWS. At 12:55 PM 11/21/2001, Rob Bennion wrote: Hi I want to try out PHP and wanted to know if it is possible to install it on a windows machine and use it with personal web server. Any help would be appreciated. thanks Rob Sliante, Richard S. Crawford http

Re: [PHP] pipe email to php?

2001-11-24 Thread John S. Huggins
The forum PHP program package Phorum has something like this available. I believe it is a file called phorummail.php. I remember using it as a basis for another program and it really does a good job of indentifying and splitting headers and body of emails into assorted variables. On Sun, 25

Re: [PHP] call php with javascript

2001-11-27 Thread Richard S. Crawford
PROTECTED] Sliante, Richard S. Crawford http://www.mossroot.com AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford MSN: [EMAIL PROTECTED] It is only with the heart that we see rightly; what is essential is invisible to the eye. --Antoine de Saint Exupéry Push the button, Max! -- PHP General Mailing

Re: [PHP] getting a user's ip address

2001-11-29 Thread John S. Huggins
On Thu, 29 Nov 2001, Ken Savage wrote: -Super new to PHP but I'm putting in the effort to learn quickly. -How would I output the user's IP address in a php file. - -I want the webpage to say... - -Your IP address is xx.xx.xx.xx Try finding it in these variables:

Re: [PHP] Good host needed

2001-11-29 Thread Richard S. Crawford
to be able to manage the server from home,and not phone in every I need to do something. And I'm looking for good bandwidth. Any recommendation will do, as I'll be looking at all the companies, and see who offers the best. Sliante, Richard S. Crawford http://www.mossroot.com AIM: Buffalo2K ICQ

Re: [PHP] generating text file from php

2001-11-30 Thread John S. Huggins
On Fri, 30 Nov 2001, David Tod Sigafoos wrote: -I have a script which generates html and writes out for users to -download. The script works and the html file works. - -I build strings of html then writeout with fwrite. - -My question is how can i add linefeeds to the strings? \n or maybe

RE: [PHP] header(Location:blah...) - passing variables

2001-12-04 Thread Richard S. Crawford
: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] Sliante, Richard S. Crawford http://www.mossroot.com AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford MSN: [EMAIL PROTECTED] It is only with the heart that we see rightly; what is essential is invisible to the eye

Re: [PHP] PHP newbie alert

2001-12-04 Thread Richard S. Crawford
worthwhile for a purchase. Sliante, Richard S. Crawford http://www.mossroot.com AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford MSN: [EMAIL PROTECTED] It is only with the heart that we see rightly; what is essential is invisible to the eye. --Antoine de Saint Exupéry Push the button, Max

Re: [PHP] Logic

2001-12-04 Thread Richard S. Crawford
if a certain piece of code should be run. Here is an example. if ($type != add) || ($type != edit) || ($type != delete) {//if this or this or this then then run this code } else { then run this } Is this correct, for some reason this isn't working. Sliante, Richard S. Crawford http://www.mossroot.com

Re: [PHP] mysql update query

2001-12-04 Thread Richard S. Crawford
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] Sliante, Richard S. Crawford http://www.mossroot.com AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford MSN

Re: [PHP] md5 decrypt

2001-12-05 Thread John S. Huggins
On Wed, 5 Dec 2001, Dan McCullough wrote: -Is there away to take a md5 encrypted password and decrypt it and give that to the client, if they -fogot their password. No. - -= -dan mccullough - -Theres no such thing as a problem unless

[PHP] Problems producing an image

2001-12-05 Thread Harshdeep S Jawanda
? = Please send all emails to my automatically redirecting address: [EMAIL PROTECTED] Regards, Harshdeep S Jawanda [[EMAIL PROTECTED]] __ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com -- PHP General Mailing List (http

Re: [PHP] forms PHP

2001-12-06 Thread Richard S. Crawford
the list administrators, e-mail: [EMAIL PROTECTED] Sliante, Richard S. Crawford http://www.mossroot.com AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford MSN: [EMAIL PROTECTED] It is only with the heart that we see rightly; what is essential is invisible to the eye. --Antoine de Saint Exupéry Push

Re: [PHP] Extending classes multiple times

2001-12-06 Thread Harshdeep S Jawanda
S Jawanda [[EMAIL PROTECTED]] __ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] Problems producing an image

2001-12-06 Thread Harshdeep S Jawanda
an image, the first two characters in the file should be the php start tag. = Please send all emails to my automatically redirecting address: [EMAIL PROTECTED] Regards, Harshdeep S Jawanda [[EMAIL PROTECTED]] __ Do You Yahoo!? Send your FREE

Re: [PHP] intergration?

2001-12-13 Thread John S. Huggins
I have these issues too and the only thing I knew to do was develop my own user management system with a simple interface to other programs. My other programs are custom too. I used Tim Perdue's user system as a code base so I am duty bound to distribute my changes to the open source crowd

Re: [PHP] Re: Form POST problem with Netscape 6

2001-08-09 Thread Peter S. Fekkes
Richard, Tanks for your thinking, I have used the register_shutdown_function to test the reason for the break. This result in a normal shutdown, i.e. nothing wrong at the server side, the output is completely parsed. When I replace the form method POST into a GET everything works fine. With

Re: [PHP] About the $allowed problem

2001-08-27 Thread Antonio S. Martins Jr.
] . Antonio. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Antonio S. Martins Jr. - System Analist | Only The Shadow Knows | | WorldNet Internet Maringa - PR - Brasil | what evil lurks in the | | E-Mail: [EMAIL PROTECTED

Re: [PHP] How to let PHP cgi find oracle TNS?

2001-05-15 Thread Brian S. Dunworth
calling the OCI8 functions? - Brian S. Dunworth Sr. Software Development Engineer Oracle Database Administrator The Printing House, Ltd. (850) 875-1500 x225 [EMAIL PROTECTED] - -- PHP General

RE: [PHP] Netscape 6, What a piece of s$#@ , anyone else had problems with php and Netscape 6?

2001-05-18 Thread Brian S. Dunworth
At 11:37 AM 5/18/01 -0400, scott [gts] wrote: yes. netscape is incredibly anal about tables. Actually, it's incredibly anal about following the HTML specification(s). An incomplete tag pair (ie: TABLE /TABLE) is to be _ignored_ ...similarly, unrecognized parameters inside certain tags

Re: [PHP] Accesing Oracle

2001-05-21 Thread Brian S. Dunworth
that the Net8 client software can connect to the database when executed as the 'nobody' user... Next, compile PHP again, including the OCI8 functions, and restart apache. - Brian S. Dunworth Sr. Software Development Engineer Oracle Database

RE: [PHP] email templates and str_replace

2001-06-20 Thread Brian S. Dunworth
Richard, The problem is with the str_replace()s. Consider the following: ?php $myvar = 'this is a var.'; $mytext = str_replace('is', 'is not', $myvar); ? At this point $myvar still equals 'this is a var.' but $mytext is 'this is not a var.' $myvar hasn't been modfified

Re: [PHP] Pricing Advice Needed

2001-07-01 Thread Jesse S. Williams
There's several ways to look at this too. Currently I'm doing some work for a small/home business owner. She needed some work done with some shopping cart stuff, a little MySQL DB and some smart forms. Not a lot of work, but then some of the stuff I've not worked with before. We ended up

RE: [PHP] PHP for NetWare?

2001-07-04 Thread Jesse S. Williams
Actually, Netware isn't specifically a direct competitor of Microsloth. Netware is strictly a NOS (network operating System), where as Windows is a network, server and client OS. Now, this certainly isn't meant to make it look as if I like M$, but I used to work on my company's General Motors

RE: [PHP] How to prevent people from downloading images

2001-07-04 Thread Jesse S. Williams
Well- The best form of protection against this that I have seen is on Microsoft's satellite imaging server (can't remember the name off hand, if someone else can, post it please!) Basically it uses Java to display a satellite snapshot and it's broken in pieces (so it's easy to navigate west or

RE: [PHP] Speed of loding PHP pages

2001-07-11 Thread Brian S. Dunworth
Are IE and Netscape both set the same as far as caching? - Brian S. Dunworth Sr. Software Development Engineer Oracle Database Administrator The Printing House, Ltd. (850) 875-1500 x225 [EMAIL PROTECTED

[PHP] OR Problems

2001-07-24 Thread J S R
Shouldn't this work? I did it because I want the link to change to the top-alt class when the certain link is selected. but when i do this... they if statement is always active even if its not on the page. what am i doing wrong. ?php $name = getenv (SCRIPT_NAME); ? ?php if($name ==

Re: [PHP] OR Problems

2001-07-26 Thread J S R
Thank you s much david. David Robley [EMAIL PROTECTED] wrote in message 01072515394001.32266@www">news:01072515394001.32266@www... On Wed, 25 Jul 2001 13:36, J S R wrote: Shouldn't this work? I did it because I want the link to change to the top-alt class when the cert

[PHP] Order by Date (Newbie)

2001-02-23 Thread Brian S. Drexler
Ok, I must be missing something, but does anyone have a script that will order by the closest date in the future that hasn't been here yet. Did that make sense? Brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[PHP] Newbie: why do I get this error?

2001-02-26 Thread Harshdeep S Jawanda
Hello everybody, I am a newbie, so please help me out with my rather basic question. Please take a look at the following code snippet: class HTMLTable extends HTMLElement { var $attributes; function HTMLTable() { $attributes[] = array("border", "0"); $attributes[] =

Re: [PHP] Newbie: why do I get this error?

2001-02-26 Thread Harshdeep S Jawanda
Hi all, I changed function HTMLTable() { $attributes[] = array("border", "0"); $attributes[] = array("cellpadding", "0"); // and some other things } to $attributes = array(array("border", "0"), array("cellpadding", "0")); but am

[PHP] A small Q

2001-02-28 Thread Harshdeep S Jawanda
Hi, Does the extension of files that are require()-d or include()-d in PHP have to be ".inc"? Can it be ".php"? All examples seem to show this extension as ".inc". Could there be any problems if the extension is kept ".php"? -- Regards, Harshdeep Singh Jawanda. -- PHP General Mailing List

Re: [PHP] including html

2001-03-01 Thread Harshdeep S Jawanda
Marcos wrote: index.php include ('info.html) I think readfile($inputFileName); would be a better option. -- Regards, Harshdeep Singh Jawanda. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: [PHP] Bitwise solution?

2001-03-01 Thread Harshdeep S Jawanda
Hi, "Boget, Chris" wrote: I have 2 values. The first is a constant while the second is not. Is the first value a numerical value (real/integer?) or a string value? If it is numerical, then one of the things you could do for using a numerical value of (say) less than 100 could be: $finalVar

Re: [PHP] Munging hidden/form variables

2001-03-02 Thread Harshdeep S Jawanda
Hi, How about the following: 1. Assign a session id to the form every time you generate it. 2. Maintain that session id on the server side in a sort of cache for a specific amount of time (say, T) only. Time-out and delete session id entries that haven't been used within time

Re: [PHP] Change the filename sent via html header

2001-04-03 Thread Spunk S. Spunk III
Okay, So here's what it looks like now: header("Content-type: application/x-quicktimeplayer"); header("Content-Disposition: attachment; filename=blah.qtl" ); print(GenerateSMILAlbum($baseURL, $directory, $mp3Array, $albumCover)); This gets me two download dialogs on windows machines if I select

Re: [PHP] help with parse

2001-04-04 Thread Harshdeep S Jawanda
Hi, Renze Munnik wrote: Have you ever checked the $HTTP_USER_AGENT value from IE? IE says: "Mozilla/4.0 (compatible; MSIE 5.01; Windows 95)" (for example) So, you shouldn't be checking for Mozilla. IE says that to. You should first check for the existence of "IE" in $HTTP_USER_AGENT.

Re: [PHP] TheCasino.com: You have been removed!

2001-04-05 Thread Harshdeep S Jawanda
_If_ only subscribers are allowed to post to this list (which it should be) and _if_ [EMAIL PROTECTED] is a subscriber and _if_ this address is setup to re-send this email to any address that replies things might be getting a little circular! Sweet dreams! Can't somebody unsubscribe [EMAIL

Re: [PHP] PHP/MySQL Code

2001-04-06 Thread Brian S. Dunworth
result is "true" and the braced statements run. Try: if ($num == 0) { print "blah blah blah, etc.\n" exit; } - Brian ----- Brian S. Dunworth Sr. Software Development Engineer Oracle Database Administrator

Re: [PHP] Row colors

2001-04-08 Thread Harshdeep S Jawanda
Hi, Just make the modification listed below: while ($row = mysql_fetch_row($result)) { $cell_color = ++$i % 2 ? "#C0C0C0" : "#CC"; echo "TR bgcolor=\"$cell_color\"\n"; for ($i =1;$imysql_num_fields($result);$i++) { echo "td$row[$i]/td"; } } Mike P wrote: I can change the

Re: [PHP] Oracle Connection

2001-04-10 Thread Brian S. Dunworth
. Works with PHP with no hitches. Brian D. yeah, me too. :) Running PHP 4 yeah, me too. :) - Brian - Brian S. Dunworth Sr. Software Development Engineer Oracle Database Administrator The Printing House, Ltd. (850) 875-1500 x225

Re: [PHP] mysql_fetch_array

2007-11-02 Thread Richard S. Crawford
table so I can use it later ? this WHILE sentence seems to only store the last record only That is peculiar; assuming that your query is properly executed and the code you're using to display the contents of $fotos_mostrar is written properly. Can you show us that code? -- Richard S. Crawford

Re: [PHP] PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5)

2007-11-06 Thread Rahul S. Johari
node /etc/rc.d/init.d/winsharemount sudo chmod 755 /etc/rc.d/init.d/windsharemount sudo ln -s /etc/rc.d/init.d/winsharemount /etc/rc.d/rc3.d/S74winsharemount sudo ln -s /etc/rc.d/init.d/winsharemount /etc/rc.d/rc5.d/S74winsharemount That should help automate it on startup

Re: [PHP] PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5)

2007-11-06 Thread Rahul S. Johari
On 11/6/07 12:03 PM, Nathan Nobbe [EMAIL PROTECTED] wrote: On 11/6/07, Rahul S. Johari [EMAIL PROTECTED] wrote: I couldn't find an /etc/rd.d or rc3.d on my system at all. I've been manually mounting after each boot, so still looking for an automated mounting solution. look for /etc

Re: [PHP] PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5)

2007-11-06 Thread Rahul S. Johari
On 11/6/07 12:57 PM, Nathan Nobbe [EMAIL PROTECTED] wrote: On 11/6/07, Rahul S. Johari [EMAIL PROTECTED] wrote: On 11/6/07 12:03 PM, Nathan Nobbe [EMAIL PROTECTED] wrote: On 11/6/07, Rahul S. Johari [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I couldn't find an /etc/rd.d or rc3

Re: [PHP] PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5) *SOLVED*

2007-11-06 Thread Rahul S. Johari
On 11/6/07 12:57 PM, Nathan Nobbe [EMAIL PROTECTED] wrote: perhaps if you google around on something like mac os x /etc/fstab something useful will turn up. im sure there is an alternative mechanism to mount things at boot time on that system. -nathan For whatever reason, when I first

Re: [PHP] PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5) *SOLVED*

2007-11-06 Thread Rahul S. Johari
On 11/6/07 4:07 PM, Daniel Brown [EMAIL PROTECTED] wrote: We are the geniuses that are the core PHP community. Hear us roar! :D You know the funniest thing? As my discussion progressed, and the contributions back forth, the problem became evidently little to do with PHP and a whole lot

Re: [PHP] XSS

2007-12-26 Thread Rahul S. Johari
On Wednesday 26 December 2007 21:03:40 Mad Unix wrote: Am facig problem with XSS cross Site scripting general on our web site, and i think its a coding issue since our dedicated server run Linux with apache mysql and php... any recommendation to resolve this issue Sure! --- Rahul Sitaram

[PHP] Dealing with MSXML2.ServerXMLHTTP objects

2008-01-23 Thread Richard S. Crawford
, but I'm not entirely sure how to deal with the incoming data. Any suggestions would be more than welcome. -- Richard S. Crawford ([EMAIL PROTECTED]) http://www.mossroot.com Publisher and Editor in Chief, Daikaijuzine (http://www.daikaijuzine.com)

[PHP] Getting the name of a function

2008-02-27 Thread Richard S. Crawford
is This is dumb The function that called the error was bad_function I know that I could pass the name of the function as a parameter to the error() function (e.g. error(bad_function,This is dumb)) but I'd rather keep it simpler than that. Is there a way to do this? -- Richard S. Crawford ([EMAIL PROTECTED

[PHP] Making sure an include file works

2008-02-28 Thread Richard S. Crawford
I'm trying to figure out a way to make sure an included PHP file has no syntax errors before actually including it as a part of project. Is this even possible? I'm running into brick walls. -- Slainte, Richard S. Crawford Editor-in-chief, Daikaijuzine (http://www.daikaijuzine.com) Personal

Re: [PHP] Making sure an include file works

2008-02-29 Thread Richard S. Crawford
and is_readable for some basic checking, and hope that the included files have no syntax errors. On Fri, Feb 29, 2008 at 11:25 AM, Daniel Brown [EMAIL PROTECTED] wrote: On Thu, Feb 28, 2008 at 9:58 PM, Richard S. Crawford [EMAIL PROTECTED] wrote: I'm trying to figure out a way to make sure an included

Re: [PHP] Making sure an include file works

2008-02-29 Thread Richard S. Crawford
* this is: http://www.php.net/ChangeLog-4.php Ah, if only I could. The choice of host was made by my boss, and he loves them. -- Slainte, Richard S. Crawford Editor-in-chief, Daikaijuzine (http://www.daikaijuzine.com) Personal website: http://www.mossroot.com -- PHP General Mailing List (http

Re: [PHP] Strings

2007-06-05 Thread Richard S. Crawford
.\; just to see if the problem is with the string or is some strange interpolation issue. -- Richard S. Crawford (http://www.mossroot.com) Editor In Chief, Daikaijuzine (http://www.daikaijuzine.com) AIM: Buffalo2K / GTalk: [EMAIL PROTECTED] We are here to help each other get through this thing

[PHP] Problem downloading files in IE

2007-08-15 Thread Richard S. Crawford
Firefox, but not all of them are able to do so; and since they pay our bills, we don't have much of an option. If anyone has any ideas, I'd appreciate hearing them. -- Richard S. Crawford Editor-in-chief, Daikaijuzine (http://www.daikaijuzine.com) Personal website: http://www.mossroot.com http

Re: [PHP] Open New URL window

2007-09-19 Thread Richard S. Crawford
, Headers already sent... Try moving it to after the conditional, like this: ?php if ($_POST['pw'] != $password) { ? BODY onLoad=top.window.focus() ...rest of your form... ?php } else { ...and so on. -- Richard S. Crawford Editor-in-chief, Daikaijuzine (http://www.daikaijuzine.com) Personal

[PHP] php 5 soap question

2007-09-28 Thread Hurst, Michael S.
I am trying to find out how to use php 5 to access a wsdl with the following structure. How do you send parameters to the service if the wsdl is like the following. - s:element name=getPayment - s:complexType - s:sequence s:element minOccurs=0 maxOccurs=1 name=pi type=tns:paymentInput /

RE: [PHP] php 5 soap question

2007-09-28 Thread Hurst, Michael S.
, September 28, 2007 2:27 PM To: Hurst, Michael S. Cc: php-general@lists.php.net Subject: Re: [PHP] php 5 soap question can you post the url of the wsdl ? -nathan On 9/28/07, Hurst, Michael S. [EMAIL PROTECTED] wrote: I am trying to find out how to use php 5 to access a wsdl with the following

[PHP] Question about ereg_replace and urlencode...

2007-10-02 Thread Venkatesh M. S.
Hello! i am trying to make links clickable on a page. I would like to urlencode the URL so that it is well passed to a redirect.php file, which would do somethings and then also do a meta http refresh I am trying to use a function like the following, but it doesn't work. I would like to apply

Re: [PHP] Question about ereg_replace and urlencode...

2007-10-02 Thread Venkatesh M. S.
Many thanks Stut The problem is that the rest of the $str is actually a big post from a blog, which will have many other text and info apart from the URL, and i don't want to urlencode everything in there! Venky On 02/10/2007, Stut [EMAIL PROTECTED] wrote: Venkatesh M. S. wrote: Hello! i

Re: [PHP] Please recommend blog script

2007-10-08 Thread Richard S. Crawford
API throughout my site to keep things consistent. -- Richard S. Crawford Editor-in-chief, Daikaijuzine (http://www.daikaijuzine.com) Personal website: http://www.mossroot.com http://www.myspace.com/underpope / underpope.livejournal.com We are here to help each other get through this thing

Re: [PHP] Moodle: Add field to user listing

2007-10-08 Thread Richard S. Crawford
worked with this functionality myself so I don't know much about it, but it's definitely there. Again, query the forums on http://www.moodle.org. -- Richard S. Crawford Editor-in-chief, Daikaijuzine (http://www.daikaijuzine.com) Personal website: http://www.mossroot.com http://www.myspace.com

[PHP] Query DBF records using PHP

2006-09-07 Thread Rahul S. Johari
Ave, Let¹s say I have a DBF file residing on my somewhere. It has 20 fields, and about 100 records. Is it possible for me to Query that DBF file, so I can search that database for a record and Display the row using PHP? Basically what I want to do is pull out a record from that DBF file

[PHP] Open file on a Mounted Share on Mac OS X

2006-09-12 Thread Rahul S. Johari
¹t get the path to work!! I¹ve tried ³/Volumes/Server/file.dbf² . I¹ve tried to create Aliases (shortcuts)... But nothing seems to work! What¹s the trick? How can I get this to work? Any suggestions? Rahul S. Johari Supervisor, Internet Administration Informed Marketing Services Inc. 500

Re: [PHP] Open file on a Mounted Share on Mac OS X

2006-09-12 Thread Rahul S. Johari
In my Windows 2003 Server I've given the Mac OS X user all the permissions possible for that Share. Is there something I have to do in php as far as permissions are concerned? On 9/12/06 5:31 PM, John Nichel [EMAIL PROTECTED] wrote: Rahul S. Johari wrote: Ave, I¹m getting really

Re: [PHP] Open file on a Mounted Share on Mac OS X

2006-09-12 Thread Rahul S. Johari
) { ? On 9/12/06 5:37 PM, Ray Hauge [EMAIL PROTECTED] wrote: On Tuesday 12 September 2006 16:27, Rahul S. Johari wrote: Ave, I¹m getting really frustrated with this. How do I get PHP to open/read a file which is on a Share, mounted on Mac OS X. My Mac OS X is connected to a Windows 2003

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