Re: [PHP] hello to making the php pages

2004-01-20 Thread Dagfinn Reiersøl
echo "Welcome to my homepage Mom. See my brand new wife!": You must echo out what happened to your old wife before you send new wife to the brower. If he kept the old wife, he needs to talk to both wives. If not, replacing the colon with a semicolon might help. I have problem with PHP Codes

[PHP] PHP5: XML to PDF with XSL

2004-01-20 Thread Aidan Lister
Is this possible? I'm purely interested in PHP5 examples of transforming an XML file into PDF using an XSL stylesheet. Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Search Script????

2004-01-20 Thread Manuel Lemos
Hello, On 01/20/2004 11:22 PM, Student wrote: I have my web site with file extensions .php .php3 .html .htm .shtml Now i (am looking for a script or) would like to write a php script so that users can search my web site for information Can anyone help me get started. I want to include a searc

Re: [PHP] Odd Code Error.

2004-01-20 Thread Jason Wong
On Wednesday 21 January 2004 12:27, Luke wrote: > but i think mainly the usual rule, that if an apple and a banana are fruit, > and a pear is the same as a banana, then a pear must be fruit too (AND I > think im fruit loops) > > bah im goin bananas, its time to go to band practise anyways, Al

Re: [PHP] Odd Code Error.

2004-01-20 Thread Luke
i think i got it now :) i wont bother trying to explain my understanding, i think that will confuse the matter hehe but i think mainly the usual rule, that if an apple and a banana are fruit, and a pear is the same as a banana, then a pear must be fruit too (AND I think im fruit loops) bah im

Re: [PHP] Odd Code Error.

2004-01-20 Thread Robert Cummings
On Tue, 2004-01-20 at 23:00, Luke wrote: > ok, i read the section, but even so > > if $a == $b > and $a == $c > then $b should be equal to $c No this is not true, since types conversions can be different between a and b, a and c or between b and c. If you want the above logic to be true then you

Re: [PHP] Email results

2004-01-20 Thread Jason Wong
On Wednesday 21 January 2004 11:46, BigMark wrote: > A: How can i send an email with the contents of a table Assuming a database table: 1) query database 2) format results into a nice string 3) mail() it > B: can it be sent automatically when a certain field has data. Yes. -- Jason Wong -> Gr

Re: [PHP] Odd Code Error.

2004-01-20 Thread Luke
ok, i read the section, but even so if $a == $b and $a == $c then $b should be equal to $c but php is saying otherwise? this sounds confusing i want to try n get my head round it a string equals a integer of zero, and a string equals true, but the reason the bool doesnt equal the int is because

[PHP] Email results

2004-01-20 Thread BigMark
A: How can i send an email with the contents of a table B: can it be sent automatically when a certain field has data. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Odd Code Error.

2004-01-20 Thread Robert Cummings
On Tue, 2004-01-20 at 22:39, Luke wrote: > yeah its strange, > > $test is equal to $test2, > $test is equal to $test3 > but $test2 is not equal to $test3, > > $test = "string"; > $test2 = true; > $test3 = 0; > if($test == $test2){ > echo "hi"; > } > Looks fine to me... $test == $test2: $test

Re: [PHP] Odd Code Error.

2004-01-20 Thread Luke
yeah its strange, $test is equal to $test2, $test is equal to $test3 but $test2 is not equal to $test3, $test = "string"; $test2 = true; $test3 = 0; if($test == $test2){ echo "hi"; } somone tell me im wrong please? else thats seriously weird -- Luke <[EMAIL PROTECTED]> wrote in message news:[

Re: [PHP] authentication problems!

2004-01-20 Thread Luke
Yeah, i think i mentioned the same thing(or was going to :/ ) you should be able to use the local filesystem, and reffer to it relatively! and then you can stream it and you wont need any authentication, and noone will be able to directly link to the file -- Luke "Jason Wong" <[EMAIL PROTECTED]

[PHP] IRCG - php windows extension HELP!

2004-01-20 Thread Marc Greenstock
I'm trying to install IRCG as an extension to my Apache 2 PHP server running on Windows XP. Trouble is IRCG for windows comes as a standalone package, that doesn't seem to load in as an extension to php declaired in php.ini. I've typed in all the extensions but i continue to get an error for each

Re: [PHP] thumbnail

2004-01-20 Thread Chris Edwards
This works like a charm on JPG, haven't tried it on other files types. This came from the www.php.net function image_createThumb($src,$dest,$maxWidth,$maxHeight,$quality=100) { if (file_exists($src) && isset($dest)) { // path info $destInfo = pathInfo($dest); // image s

Re: [PHP] Re: Flash-PHP Socket Connection

2004-01-20 Thread Miles Thompson
Use xmlReceiver to trigger the back end PHP script. Have that script generate XML which you parse in Flash. Plain text will work, but a single quotation mark in the text sends you off to never never land. Here's an example: xmlReceiver.load( "http://"; + host + "feed_xml_article.php"); I know

Re: [PHP] Odd Code Error.

2004-01-20 Thread Tom Rogers
Hi, Wednesday, January 21, 2004, 8:55:01 AM, you wrote: JP> I am so frustrated at the moment with coding. I had an odd error with JP> some PHP coding. And in the process I came across this error. JP> Please try this out!! Because for me on my machine it does the first JP> part of the if stateme

[PHP] Re: Specifying file paths in Windows

2004-01-20 Thread Luke
try removing the dot and / so if (is_file("filedir/test.txt")) echo "Found it!"; else echo "Not found"; that should work on windows and unix platforms, i dont think windows likes the single dot, but you can use relative referencing, by just using the directory name. -- Luke "Todd Cary" <[EMAIL

Re: [PHP] Search Script????

2004-01-20 Thread John Nichel
Student wrote: I have my web site with file extensions .php .php3 .html .htm .shtml Now i (am looking for a script or) would like to write a php script so that users can search my web site for information Can anyone help me get started. I want to include a search in my web site.. Cross post b

[PHP] Search Script????

2004-01-20 Thread Student
I have my web site with file extensions .php .php3 .html .htm .shtml Now i (am looking for a script or) would like to write a php script so that users can search my web site for information Can anyone help me get started. I want to include a search in my web site.. -- PHP General Mailing Lis

Re: [PHP] hello to making the php pages

2004-01-20 Thread Raditha Dissanayake
Hi, I think mr chris w parker you have not read the manual or the list newbie guide. I couldn't resist either :-) Chris W. Parker wrote: hello you, i am here to ask of help from the mailing list. i have PHP Codes like this kind: echo "Welcome to my homepage Mom. See my brand new wife!": I h

Re: [PHP] hello to making the php pages

2004-01-20 Thread John Nichel
Chris W. Parker wrote: hello you, Hello me. i am here to ask of help from the mailing list. I think the mailing list is gone for the day. Try back tomorrow. i have PHP Codes like this kind: What's PHP? echo "Welcome to my homepage Mom. See my brand new wife!": You must echo out what happened t

RE: [PHP] PHPSESSIONID altering each time the page is loaded in IE

2004-01-20 Thread Tarrant Costelloe
Nope, calling it once. For some odd reason as I have detailed here http://bugs.php.net/bug.php?id=26950 IE is loosing all it's cookie data on different clicks around the website. A piece at a time, however MOZ and Opera are fine. In Fellowship, Tarrant -Original Message- From: [EMAIL PRO

Re: [PHP] PHPSESSIONID altering each time the page is loaded in IE

2004-01-20 Thread daniel
> As the subject says, I posted this bug report on the official php bugs > page http://bugs.php.net/bug.php?id=26950 and have now changed my > storing of user information to use cookies as such: > > setcookie("cookie_auth_memberID", $row['id'], time()+604800,'/'); > setcookie("cookie_auth_Username"

[PHP] PHPSESSIONID altering each time the page is loaded in IE

2004-01-20 Thread Tarrant Costelloe
As the subject says, I posted this bug report on the official php bugs page http://bugs.php.net/bug.php?id=26950 and have now changed my storing of user information to use cookies as such: setcookie("cookie_auth_memberID", $row['id'], time()+604800,'/'); setcookie("cookie_auth_Username", $frmUsern

Re: [PHP] Re: Flash-PHP Socket Connection

2004-01-20 Thread daniel
check out http://www.php.net/manual/en/ref.ircg.php and http://www.schumann.cx/ircg/ > I am doing the same thing at the moment, > > I'm building a Flash/PHP/MySQL chat system capable of handling over > 1000 users online at one time. > > GET and POST just doesn't cut it, so I began to explore ot

[PHP] Re: Flash-PHP Socket Connection

2004-01-20 Thread Marc Greenstock
I am doing the same thing at the moment, I'm building a Flash/PHP/MySQL chat system capable of handling over 1000 users online at one time. GET and POST just doesn't cut it, so I began to explore other avenues, and XML Socket's seem like the best and only option. But I expect to burn the midnight

Re: [PHP] "include" working....but confusion

2004-01-20 Thread Robert Cummings
On Tue, 2004-01-20 at 18:07, Justin French wrote: > On Wednesday, January 21, 2004, at 05:11 AM, Ryan A wrote: > > > Do I have to start and end the included files with? > > Did you try it? Then you'd have your answer :) > > Did you read http://www.php.net/include/ ? Because all the exampl

[PHP] Re: Create PDF FIle

2004-01-20 Thread Todd Cary
I use the pdf class from http://www.potentialtech.com Todd Mike Mapsnac wrote: Hello I want to create PDF file from PHP output. So instead of sending output to the browser, I need to insert PHP output into PDF FILE. How that's can be done? Looking for some short example or some documentation

Re: [PHP] Odd Code Error.

2004-01-20 Thread daniel
>> Hmm after all this time, are you saying its best to use === instead of >> == in any application ? > > I would recommend using it whenever you can. It may require a few extra > lines of code here and there, but you know for sure what 'type' you are > dealing with. This is especially good when de

Re: [PHP] thumbnail

2004-01-20 Thread Matt Matijevich
[snip] OK, but how? I already use GD, I need to now how to create a thumbnail, somebody now how to use the GD functions to create a thumbnail??? [/snip] http://www.php.net/GD I think you want to look at: imagecopyresampled -- Copy and resize part of an image with resampling imagecopyresized --

[PHP] Create PDF FIle

2004-01-20 Thread Mike Mapsnac
Hello I want to create PDF file from PHP output. So instead of sending output to the browser, I need to insert PHP output into PDF FILE. How that's can be done? Looking for some short example or some documentation. Thanks _ Let t

[PHP] thumbnail???

2004-01-20 Thread Rafael Alex Cremer
OK, but how? I already use GD, I need to now how to create a thumbnail, somebody now how to use the GD functions to create a thumbnail??? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Odd Code Error.

2004-01-20 Thread Brad Pauly
On Tue, 2004-01-20 at 16:13, [EMAIL PROTECTED] wrote: > > Interesting. I wouldn't have expected that. However, that is how it > > should work. Check out table K-2 on this page: > > > > http://us4.php.net/manual/en/types.comparisons.php > > > > '==' is a loose comparison. You can use '===' instead w

[PHP] Re: Now try this...

2004-01-20 Thread Todd Cary
Whooops...mis-sent!! Todd Cary wrote: ../tiff/demo.tif -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Specifying file paths in Windows

2004-01-20 Thread Todd Cary
The \filedir is under the phpcode directory c:\webroot | |--\application | |--\php_code | |--\filedir Eric Bolikowski wrote: "Todd Cary" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I moved an application from Linux to my Client's NT system and is_file

[PHP] Now try this...

2004-01-20 Thread Todd Cary
../tiff/demo.tif -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] thumbnail

2004-01-20 Thread daniel
> [snip] > How I can create thumbnail with php? using the GD libray? > [/snip] > > yes. > > Also I hear imagemagick works well. > I included a imagemagick rotate feature into my photo gallery application as gd just cant seem to do it well ?? -- PHP General Mailing List (http://www.php.net/) To u

Re: [PHP] thumbnail

2004-01-20 Thread daniel
> How I can create thumbnail with php? using the GD libray? Of course u answered your own question, http://us4.php.net/manual/en/function.imagecopyresampled.php Make sure you have GD2 though you dont want crappy pixelated images. If you want a class already made up check out http://pear.php.ne

Re: [PHP] drop down list of years puzzles me

2004-01-20 Thread Justin French
On Wednesday, January 21, 2004, at 10:10 AM, Bill Green wrote: This doesn't to create a drop down box of years: $curr_year = intval(date('Y')); $range = 10; for ($y=$curr_year; $y < $range; $y++) { echo "".$y."\n"; } Stop and read the for loop. You're saying "starting with the current ye

Re: [PHP] Unsubscribe (mailign lsits in general) question...

2004-01-20 Thread Chris Shiflett
--- Justin French <[EMAIL PROTECTED]> wrote: > as long as the laws themselves are based on common sense. Maybe that works out in Australia, but we can't make such assumptions in the US. :-) Chris = Chris Shiflett - http://shiflett.org/ PHP Security Handbook Coming mid-2004 HTTP Develop

Re: [PHP] thumbnail

2004-01-20 Thread Matt Matijevich
[snip] How I can create thumbnail with php? using the GD libray? [/snip] yes. Also I hear imagemagick works well. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] thumbnail

2004-01-20 Thread Rafael Alex Cremer
How I can create thumbnail with php? using the GD libray? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Odd Code Error.

2004-01-20 Thread daniel
> Interesting. I wouldn't have expected that. However, that is how it > should work. Check out table K-2 on this page: > > http://us4.php.net/manual/en/types.comparisons.php > > '==' is a loose comparison. You can use '===' instead which will give > you the results you are looking for. > > if ($EA

[PHP] Re: drop down list of years puzzles me

2004-01-20 Thread Eric Bolikowski
This should help: ".$y."\n"; } ?> What you forgot is that $range must be the current year plus how many loops you want. Eric "Bill Green" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > This works to create a drop down select box of numbers 1-12: > > for($i=1; $i < 13; $i++) { >

Re: [PHP] "include" working....but confusion

2004-01-20 Thread Justin French
On Wednesday, January 21, 2004, at 05:11 AM, Ryan A wrote: Do I have to start and end the included files with? Did you try it? Then you'd have your answer :) Did you read http://www.php.net/include/ ? Because all the examples show what you need to know too. Read the manual, and TRY THING

Re: [PHP] Odd Code Error.

2004-01-20 Thread Brad Pauly
On Tue, 2004-01-20 at 15:55, Jonathan Pitcher wrote: > I am so frustrated at the moment with coding. I had an odd error with > some PHP coding. And in the process I came across this error. > > Please try this out!! Because for me on my machine it does the first > part of the if statement. I c

Re: [PHP] drop down list of years puzzles me

2004-01-20 Thread Jason Wong
On Wednesday 21 January 2004 07:10, Bill Green wrote: > for ($y=$curr_year; $y < $range; $y++) { > echo "".$y."\n"; > } > > When I check for errors: > $curr_year = 2004 > $curr_year is an integer > $range = 10 > $curr_year + $range = 2014 > $y = 2004 $y < $range Do the substitution and wha

RE: [PHP] Odd Code Error.

2004-01-20 Thread daniel
i've never had a problem doing if ($var=="test") ?? > I've come across this recently too. I think what's happening is that > PHP is converting "NFH" to an integer, which would be zero in this > case. Thus zero == zero is true... > > Try doing type checking too: > if ($EA === "NFH") > > Marti

[PHP] Re: Specifying file paths in Windows

2004-01-20 Thread Eric Bolikowski
"Todd Cary" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I moved an application from Linux to my Client's NT system and is_file > cannot file the file on the NT system. My directory structure is as > follows: > > c:\webroot >\application > \php_code >\filedir > >

[PHP] Re: Odd Code Error.

2004-01-20 Thread Eric Bolikowski
Extremely odd what's happening here :s I just doesn't make sense why the if condition should do this... Maybe you could search in the PHP Manual for more info on this. However, i did one thing that made that not work. EA is Equal To NFH see $EA"; }else{ echo "EA is NOT EQUAL to NFH see $EA"

[PHP] Specifying file paths in Windows

2004-01-20 Thread Todd Cary
I moved an application from Linux to my Client's NT system and is_file cannot file the file on the NT system. My directory structure is as follows: c:\webroot \application \php_code \filedir The code is if (is_file("./filedir/test.txt")) echo "Found it!"; else echo "Not found"; Thi

RE: [PHP] Odd Code Error.

2004-01-20 Thread Martin Towell
I've come across this recently too. I think what's happening is that PHP is converting "NFH" to an integer, which would be zero in this case. Thus zero == zero is true... Try doing type checking too: if ($EA === "NFH") Martin > I am so frustrated at the moment with coding. I had an odd

Re: [PHP] Odd Code Error.

2004-01-20 Thread Jason Wong
On Wednesday 21 January 2004 06:55, Jonathan Pitcher wrote: > if ($EA == "NFH") When comparing strings either use '===' or one of the string comparison functions. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * In

[PHP] drop down list of years puzzles me

2004-01-20 Thread Bill Green
This works to create a drop down select box of numbers 1-12: for($i=1; $i < 13; $i++) { echo "".$i."\n"; } This doesn't to create a drop down box of years: $curr_year = intval(date('Y')); $range = 10; for ($y=$curr_year; $y < $range; $y++) { echo "".$y."\n"; } When I check for errors:

Re: [PHP] Unsubscribe (mailign lsits in general) question...

2004-01-20 Thread Justin French
On Wednesday, January 21, 2004, at 01:11 AM, [EMAIL PROTECTED] wrote: I've been told by my boss, that the law has changed in relation to 'Opt out' options on mailing lists etc... she tells me that I have to now change all my forms to conform. She claims that now, each time the user must click th

Re: [PHP] php running as user apache

2004-01-20 Thread Nirnimesh
Yeah, I tried turning safe mode on, but I'm not able to accomplish what I set forth to. Suppose I want to upload files to a directory called "repository". Now what should be the ownership and access permission of this directory be such that: 1. php (running as user apache) is able to upload files,

[PHP] Odd Code Error.

2004-01-20 Thread Jonathan Pitcher
I am so frustrated at the moment with coding. I had an odd error with some PHP coding. And in the process I came across this error. Please try this out!! Because for me on my machine it does the first part of the if statement. I can make a work around in my code to fix the error. BUT I woul

RE: [PHP] Extended characters passed in URL

2004-01-20 Thread Jay Blanchard
[snip] Hi people, I've installed Apache2, php 3.0.17 on Windows 2000 machine. Everything works fine except when I call my script with some extended characters (from Central European charset - ones with diacritics which should be encoded) in variable values in URL, I get "Internal Server Error" mes

[PHP] Extended characters passed in URL

2004-01-20 Thread Alex
Hi people, I've installed Apache2, php 3.0.17 on Windows 2000 machine. Everything works fine except when I call my script with some extended characters (from Central European charset - ones with diacritics which should be encoded) in variable values in URL, I get "Internal Server Error" message. I

Re: [PHP] generate drop down list from DB and display info on new page base d on selection

2004-01-20 Thread Jason Wong
On Wednesday 21 January 2004 05:43, Montagna, Dan wrote: > I'm new to php/mysql and have been looking for help on this for a little > while. I've searched around a bit but can't find anything close enough to > what I'm talking about here. I want to create a drop down list from a > mysql db table

Re: [PHP] info.php something missing (REMOTE_USER)

2004-01-20 Thread Jason Wong
On Wednesday 21 January 2004 05:51, Ian C roberts wrote: > I have a problem with login fields. Whenever I get to my horde/imp > login screen php dumps into the username field, > > Have you tried asking on the horde/imp list? I'm sure they would be in a better position to help. -- Jason

Re: [PHP] authentication problems!

2004-01-20 Thread Jason Wong
On Wednesday 21 January 2004 05:49, Scott Taylor wrote: Please trim your posts! > Of course there is not problem if the user is entering the information > him or her self. But just using this code: > > $file = 'http://miningstocks.com/protected/Dec03PostPress.pdf'; > > //now view

Re: [PHP] inserting info from a query string into sql

2004-01-20 Thread Jason Wong
On Wednesday 21 January 2004 05:29, mayo wrote: [snip] > However I can't seem to insert the query string variables into the sql. [snip] > What am I missing here? 1) Assign your query to a string (eg $query), and echo() it so you know what your query is. 2) Make good use of mysql_error(). Bo

[PHP] Downloading Question

2004-01-20 Thread Rogelio J. Samour
OK, I'm at my wits' ends with this problem. I have a download page that sends the correct headers to the browser and downloads a blob file from a MySQL table. Everything works great on Mozilla, Netscape, and IE until I try to download a Zip file. What's puzzling is that the SAME EXACT file works

[PHP] Re: Flash-PHP Socket Connection

2004-01-20 Thread Ben Ramsey
I guess that's good enough reason for me. As far as connecting with sockets, though: you should connect from Flash to the PHP file, not from PHP to the Flash file, I think. And, in order to do that, you would need to ask some people who specialize in Flash and ActionScript, so the boards at M

[PHP] Re: Flash-PHP Socket Connection

2004-01-20 Thread Eric Bolikowski
Hey Ben I know it may sound nuts, but I really want to make a socket connection between a Flash and a PHP file. Normally I would simply read in a text file/read XML/send data with GET or POST, but I'm looking for a socket connections of following reasons: 1) I want a fast connection 2) I'm looki

[PHP] info.php something missing (REMOTE_USER)

2004-01-20 Thread Ian C roberts
I have a problem with login fields. Whenever I get to my horde/imp login screen php dumps into the username field, I cannot seem to find an answer as how to prevent this. I am using, OS X 10.3 Apache 1.3.28 Horde 2.2.4 IMP 3.2.2 PHP 4.3.3 (with imap2002e) Here is the config line I have to con

[PHP] Re: Flash-PHP Socket Connection

2004-01-20 Thread Ben Ramsey
What I mean is: you shouldn't need to use sockets to read in a file from Flash unless you're trying to do something more complicated, but from the way it sounds, you just want to pull data from MySQL with a PHP script and output it to Flash. The PHP script could just echo plain text and Flash

Re: [PHP] authentication problems!

2004-01-20 Thread Scott Taylor
by "using HTML" I meant, typing the address in to the broswer as http://username:[EMAIL PROTECTED]/protected/file.pdf or as using the HTML: http://username:[EMAIL PROTECTED]/protected/file.pdf">Link... or using the header: header("Location: http://username:[EMAIL PROTECTED]/protected/file.pd

[PHP] Re: Flash-PHP Socket Connection

2004-01-20 Thread Ben Ramsey
Flash has the ability to read in text files, so you could use PHP to output data in the correct format and use Flash to read the PHP script like it reads a text file. We did this in ASP once upon a time. Here's a tutorial about reading text files into Flash: http://www.virtual-fx.net/tutorials/

Re: [PHP] What a difference a / makes!

2004-01-20 Thread Freedomware
Robert wrote: I personally use print " href=\"/css/continentcode/$myregion.css\" rel=\"stylesheet\" type=\"text/css\">" for things like that, no having to join the information together, the server does the work for me. Thanks for the tip. (My errands were cancelled, so I'm still here!) Isn't "

[PHP] generate drop down list from DB and display info on new page base d on selection

2004-01-20 Thread Montagna, Dan
Hello, I'm new to php/mysql and have been looking for help on this for a little while. I've searched around a bit but can't find anything close enough to what I'm talking about here. I want to create a drop down list from a mysql db table (I know how to create and populate the table) that displ

[PHP] Re: inserting info from a query string into sql

2004-01-20 Thread Eric Bolikowski
It doesn't seem that you have declared the vars $reorder and $order, so that will make a bad query. "Mayo" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > PROBLEM > > I'm trying to insert information from a query string into sql. > > I have a table with content. The column headers ha

Re: [PHP] [Article] Writing Efficient PHP...

2004-01-20 Thread Luke
Well if you do want to read it, i logged in and uploaded the PDF versions of the tutorial to my webserver, so take a look PDF (A4) http://www.zeyus.com/phptutorial/wa-effphp-a4.pdf PDF (Letter) http://www.zeyus.com/phptutorial/wa-effphp-ltr.pdf Hope you find it useful! Luke "Chris W. Parker" <[

Re: [PHP] Flash-PHP Socket Connection

2004-01-20 Thread Eric Bolikowski
Hi Donald Can i get a link to that site? I'm just a little bit confused about this thing about socket communication. Why is there not any resources on using Flash XMLSocket() and PHP fsockopen() ? There should be some kind of resource on this. I have recently searched all over Macromedia, not f

[PHP] inserting info from a query string into sql

2004-01-20 Thread mayo
PROBLEM I'm trying to insert information from a query string into sql. I have a table with content. The column headers have up and down arrows allowing the user to sort and order by that column. PHP I have default settings set for the variables. If I change the default values the SQL results ch

FW: [PHP] Flash-PHP Socket Connection

2004-01-20 Thread Donald Tyler
We use XMLRPC to communicate between flash & PHP. I presume it can be coupled with sockets if you should need a permanent connection as well. It has worked perfectly for pretty much anything we throw at it (It allows you to send any PHP or Action script native data type, e.g. arrays, Booleans, int

[PHP] hello to making the php pages

2004-01-20 Thread Chris W. Parker
hello you, i am here to ask of help from the mailing list. i have PHP Codes like this kind: echo "Welcome to my homepage Mom. See my brand new wife!": I have problem with PHP Codes from above. Where to fix Codes? :P Sorry I couldn't resist!!! -- PHP General Mailing

[PHP] Flash-PHP Socket Connection

2004-01-20 Thread Eric Bolikowski
Hi everybody I'm working on a site that will be based on Flash, PHP and MySQL. PHP will work as a middleware for Flash and MySQL. My problem is communication between Flash and PHP. I'm really out looking for using the socket functions in PHP and Flash to make fast connection. I have googled for

RE: [PHP] [Article] Writing Efficient PHP...

2004-01-20 Thread Chris W. Parker
Chris Shiflett on Tuesday, January 20, 2004 12:54 PM said: > That was great. My favorite quotes from the article: > > "Register for this tutorial" Bummer. I was looking forward to reading it. Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscri

Re: [PHP] What a difference a / makes!

2004-01-20 Thread robert
Look at the one for yt and one for Alaska. If there is a difference in the code in 1 place that is probably why it IS working on the yt page. That's where I would start. Then I would put in an alias in my web configuration to point css /home/web/css or whatever so that you can go : echo '';

Re: [PHP] [Article] Writing Efficient PHP...

2004-01-20 Thread Chris Shiflett
--- Ralph Guzman <[EMAIL PROTECTED]> wrote: > http://www-106.ibm.com/developerworks/edu/wa-dw-waeffphp-i.html That was great. My favorite quotes from the article: "Register for this tutorial" "You will need JavaScript enabled on your browser." Actually, I'm sure it's a fine article, but I could

[PHP] Online Testing package using PHP and MySQL

2004-01-20 Thread Pushpinder Singh
hello all, I am trying to develop an online testing module using PHp and MySQl on a Mac Platform. The module will need to have users authenticated before they can take the test. After that the system should take care of storing the scores of the users intp MySQL..Since I currently use Dream

[PHP] authentication problems!

2004-01-20 Thread Scott Taylor
I am about at my wits end trying to find a good solution to this problem. I've asked various portions of this question to this mail list and still have not found exactly what it is I am looking for, but here it goes. I'm looking for a way to protect my files (this would be pdf files, image fi

[PHP] [Article] Writing Efficient PHP...

2004-01-20 Thread Ralph Guzman
In the past I've read emails of people looking for php programming tips and better practice advice. Here is a good article I came across on writing efficient php code: http://www-106.ibm.com/developerworks/edu/wa-dw-waeffphp-i.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] $_SESSION

2004-01-20 Thread John Nichel
Alex Hogan wrote: I've got a question that I'm sure has a simple answer. Why aren't my session objects transferring across more than one page? I'm calling a session object that was set in the page prior; $_SESSION['mysessionvar'] = $_REQUEST['mytxtobj']; I then assign a variable that value; $

Re: [PHP] "include" working....but confusion

2004-01-20 Thread John Nichel
Ryan A wrote: Do I have to start and end the included files with? Yes. -- By-Tor.com It's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: connecting PHP to MS Access

2004-01-20 Thread Ben Ramsey
Sounds to me like you have everything pretty much figured out now, but no one has yet mentioned the ODBC functions built into PHP, so I thought I'd throw that out as a way to actually connect to and retrieve data from a MS Access database. Just set up a DSN and connect to it. The ODBC functio

[PHP] What a difference a / makes!

2004-01-20 Thread Freedomware
I have a relatively trivial problem that's driving me up a wall. I've tracked it down to a specific character - / - , and I still can't solve it! I think it's a relatively simple problem, though my explanation is a bit lengthy. I'm working on a site with pages for each of the 50 states that use

Re: [PHP] connecting PHP to MS Access

2004-01-20 Thread Tim Thorburn
Actually I found an even better program on mysql.com called MyDbConverter - converted the Access database into MySQL in a whole wopping second - now just needs a little cleanup and I can put it into the new table I've already created. Thanks for all the help -Tim At 09:34 AM 1/20/2004, Brian V

Re: [PHP] URL translation like mod_rewrite

2004-01-20 Thread Chris Shiflett
--- Denzil Kruse <[EMAIL PROTECTED]> wrote: > My hosting company won't let me use rewrite rules in my Apache > configuration files, and told me to use "the php header() functions > and a .htaccess file" instead of the rewrite rules. [snip] > What I want to do is have a visitor to my web site ente

[PHP] URL translation like mod_rewrite

2004-01-20 Thread Denzil Kruse
Hi all, My hosting company won't let me use rewrite rules in my Apache configuration files, and told me to use "the php header() functions and a .htaccess file" instead of the rewrite rules. I don't know php and I'm looking over some php help files right now, but I found this list and was hop

RE: [PHP] $_SESSION

2004-01-20 Thread Ryan A
Hey, Make sure its right on top of the pagejust at the start of your Yeah..., I tried that. > > I got back an error that read; > Warning: session_start(): Cannot send session cookie - headers already > sent > by > Warning: session_start(): Cannot send session cache limiter - headers > alr

Re: [PHP] "include" working....but confusion

2004-01-20 Thread Ryan A
Hey, > Now, that being said, there was a discussion on here a while ago that you > don't _really_ have to close PHP mode at the end of your file and there were > certain pros and cons to doing so. Adapt to your needs. Sounds like I missed a good discussion because I was awayany idea of what t

RE: [PHP] $_SESSION

2004-01-20 Thread Alex Hogan
Oopps, my bad. sorry. That worked like a champ... Thanks..., I'll sulk off now... > -Original Message- > From: Aaron Wolski [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 20, 2004 12:46 PM > To: 'Alex Hogan'; 'PHP General list' > Subject: RE: [PHP] $_SESSION > > You hav

Re: [PHP] $_SESSION

2004-01-20 Thread Ben Ramsey
Alex Hogan wrote: I got back an error that read; Warning: session_start(): Cannot send session cookie - headers already sent by Warning: session_start(): Cannot send session cache limiter - headers already sent. You need to use session_start() before any headers are written. -Ben -- PHP Gen

RE: [PHP] $_SESSION

2004-01-20 Thread Aaron Wolski
You have to put it at the top of the page prior to anything else. > -Original Message- > From: Alex Hogan [mailto:[EMAIL PROTECTED] > Sent: January 20, 2004 1:45 PM > To: 'PHP General list' > Subject: RE: [PHP] $_SESSION > > > Yeah..., I tried that. > > I got back an error that read;

RE: [PHP] $_SESSION

2004-01-20 Thread Alex Hogan
Yeah..., I tried that. I got back an error that read; Warning: session_start(): Cannot send session cookie - headers already sent by Warning: session_start(): Cannot send session cache limiter - headers already sent. > -Original Message- > From: Aaron Wolski [mailto:[EMAIL PRO

Re: [PHP] "include" working....but confusion

2004-01-20 Thread CPT John W. Holmes
From: "Ryan A" <[EMAIL PROTECTED]> > Thanks for the very informative reply but I did try itproblem is, it > seems to work with and without...thats why the confusion. > > I have one program like the one i outlined and the second one, like this: > > some html code goes here > some output stuff g

RE: [PHP] Flash .swf outside webroot: width and height problems

2004-01-20 Thread craig
Thx for the fast response. > > Yes, I am doing that with the images... works fine. I also > thought about > using either an iframe or a div to control the size of the > movie. It would > have been nicer to be able to use a regular object tag, as it > gives you more > control over how the movie disp

  1   2   >