[PHP] resource id#

2005-09-20 Thread Ross
When I try to insert a field into my database it shows as Resource id#21? I must be doing something dim. R. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] re: resource id #

2005-09-20 Thread Ross
I was using the variable $link in a form. is it a reserved word or something?? R. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] comparing dates

2005-09-20 Thread Ross
Is there a quick way to compare dates in the format dd/mm/yy without exploding and comparing the individual parts? R. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] new ways to add an html body?

2005-09-25 Thread Ross
Hi, I am using php mailer and am trying to find a new way to make the html email body instead of the old $mail_body = " "; $mail_body .= ""; $mail_body .= "$mail_text "; $mail_body .= ""; $mail_body .= " etc etc. Could I link/ attach a style sheet? How would this work?? Can I m

[PHP] why does this not work?

2005-09-27 Thread Ross
This returns the correct value for $width but falls down on the boolean. I have tried intval/srtval but nothing seems to work. Maybe it is too early! $width = " document.write(screen.width); "; //$ross= intval($width); echo $width; if ($width < 1064) { echo "lower&quo

[PHP] passing a variable with php_self

2005-09-27 Thread Ross
can someone show me the right way to do the following... I want to pass a variable to a self submitting link. Thanks, R. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php search engine

2005-09-29 Thread Ross
I am looking to install a php site search on one of my sites. Looking at http://www.site-search-pro.com/ has anyoner used this? what do I need to do to get it working? do the files reside on my server? Any alternatives free or paid let me know.. R. -- PHP General Mailing List (http://www.p

[PHP] A better way to do this

2005-10-23 Thread Ross
I want the selct table to retain it's value on submit. The way I have done it works but is a bit rubbish and was wondering if there is a more efficient way. I just make the variable equal to "selected" when the form is submitted >Please Select News Events

[PHP] selected index

2005-10-25 Thread Ross
Hi, I have an array $people= array ("ross", "bob", "chris") I have a variable $selected_person = "chris" I want to do the find out the index of the $selected_person in the $people array. Is there a function that can do this?? ta, Ross -- PHP

[PHP] php mac folder

2005-11-05 Thread Ross
? Any help with how I can run php files on the networked folder or about the mac folder system will be a great help. Thanks, Ross -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: php mac folder

2005-11-05 Thread Ross
I now have a link wwwroot on the desktop how do I make it a 'document root' so I can run php files that are in it?? ""Ross"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > I have a setup question for php for mac. > &g

[PHP] Re: php mac folder

2005-11-05 Thread Ross
I now can get the php.ini file and use bbedit to edit it. I also have a disk image for wwwroot and can see the files (on my Mac system at NETWORK/MSHOME). These files are saved on the windows harddrive How do I now configure so I can run the php files from Dreamweaver?? Ross ""Ross

[PHP] use SMB share to run php files

2005-11-06 Thread Ross
and everything under it (folders and files) so it runs the php. Do I have to change the userdir in httpd.conf ?? If so how? Can I have my current folder (http://127.0.0.1/~myname/index.php) in my Sites folder and add an extra php enabled folder?? Thanks, Ross -- PHP General Mailing List

[PHP] Select and $_POST

2005-11-09 Thread Ross
What is the correct syntax for $query = "SELECT * FROM login where username='$_POST['username']' AND pass ='$_POST['pass']'"; Thought this would work. R. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] post and variables

2005-11-10 Thread Ross
Thanks fpr all the feedback on the password but I have another one... How do I use $_POST with variables. Cant find an example of this anywhere on php.net if ($_POST['$table_name== 1']) { //do something } Ta, ross -- PHP General Mailing List (http://www.php.net/) To unsubscr

[PHP] Re: post and variables

2005-11-10 Thread Ross
Sorry I got confused. I am using variable variables. Disregard. ""Ross"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Thanks fpr all the feedback on the password but I have another one... > > How do I use $_POST with variables. Cant find an exa

[PHP] undefined index and php

2005-11-10 Thread Ross
Before someone advises me to 'google' my question. I have and can't find a PHP.net example either. I have turned off registered globals and am updating my scripts so they work but I keep getting an undefined index problem using $_POST I tried this to set the value... if (!isset($_POST['headin

Re: [PHP] undefined index and php

2005-11-10 Thread ross
I have never really used this abreviated format before why the question mark and the colon? What is the long hang eqivalent. I turned magic quotes off too. thanks. R. - Original Message - From: "Jasper Bryant-Greene" <[EMAIL PROTECTED]> To: "Ross" <

[PHP] file get contents

2005-11-14 Thread Ross
erted after the page headers have been set. And so the line just generates an error. When I roll over the link I get (or something similar) http://localhost/nhs/?text_size=small I have tried most of the other similar functions (include, require) with no success. Any help would be great... R

[PHP] Re: file get contents

2005-11-14 Thread Ross
Ok...got it now. Thanks for the tip max. It was that there was no parsing with the file_get_contents function. Had another minor error but helped that I knew include() was the way to go. R. ""Ross"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hel

[PHP] wierd error

2005-11-15 Thread Ross
When I test locally I get a weird error.. CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: any ideas? R. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] can someone explain this query to me

2005-12-20 Thread Ross
$query = "delete from meetings where id IN (".implode(",", $ids).")"; Just the end bit, ids is an array of values (1,2,3,4,5) what does the IN do?? Ross -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mutiple file upload

2005-12-21 Thread Ross
Hi, I am trying create a multiple file upload to a mysql server. I have done the the single upload http://www.php-mysql-tutorial.com/php-mysql-upload.php but what if I want to upload many files (BLOB)at once. Thanks, Ross -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] sorting dates with php

2005-12-21 Thread Ross
Hi, Have a load of dates in the format DD/MM/YY. Thet are stored as a VARCHAR on a mysql DB. I need a way to sort them into order(most recent first) Using the QUERY $query = "SELECT doc_date FROM papers ORDER BY doc_date DESC"; this just arranges them by day. e.g 30/12/2005 30/11/2005 22

[PHP] a quick one, self submitting jump menu

2005-12-22 Thread Ross
page. Ross -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] list a query

2005-12-28 Thread Ross
What does 'list' do in a php query? $result = mysql_query($query) or die('Error, query failed'); list($name, $type, $size, $content) = mysql_fetch_array($result); found it in this example... http://www.php-mysql-tutorial.com/php-mysql-upload.php -- PHP General Mailing List (http://www.php.ne

[PHP] download not working

2005-12-28 Thread Ross
$result, MYSQL_ASSOC)){ $row['pdf_size'] = $row['pdf_size']/ 1024; $row['pdf_size']= number_format($row['pdf_size'], 0); $size= $row['pdf_size']; $name = str_replace("_", " ", $row['pdf_name']); $name = str_rep

Re: [PHP] download not working

2005-12-28 Thread Ross
get any errors? is it possible the PDF was corrupt > when you uploaded it? > > Ross wrote: >> working form this example >> >> http://www.php-mysql-tutorial.com/php-mysql-upload.php >> >> >> my code is as follows, all I get is a corrupt pdf file. >> &

[PHP] strip leading zeros

2006-01-08 Thread Ross
Is there a PHP function to strip the leading zeros from a number/string. R. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] transferring db info

2006-01-12 Thread Ross
I am thinking about buying a vps for a year of so until a client of mine updates their dodgy server. Can you just export the mysql? Will the pdfs be exported as binary data? Will I have to re-upload them? (there are hundereds). R. -- PHP General Mailing List (http://www.php.net/) To unsubs

[PHP] adding script

2006-01-20 Thread Ross
is ok when I put it in an iframe it updates on every click. http://www.ecurry.net/menu.php thanks, Ross -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] what is the session equivalent to setcookie?

2006-01-21 Thread Ross
I have a cookie setcookie("cookie[$food]", "$new $name"); I want to change to a session.. Is it.. session_register("cookie[$food]", "$new $name"); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] using sessions instead of cookie

2006-01-21 Thread Ross
I have never used sessions before. How do I change the follow from COOKIES to SESSIONS in php (I do not know how to set a session)... At present the script uses an iframe with cookies but I believe if I use sessions I can leave out the iframe. http://www.ecurry.net/menu.phps http://www.ecurr

[PHP] this line throws up an undefined index.

2006-01-30 Thread Ross
any ideas how to prevent this error? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] suggest a cart...

2006-02-08 Thread Ross
Hi, I am looking for a cart that allows me to do the following -Add new items with image -deleted items -indicate when an item is sold put - is integratable with paypal R. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] imagecreate

2006-02-08 Thread Ross
Hi, I am trying to replace the images in a page with this code This is fine here... http://www.ecurry.net/example1.php http://www.ecurry.net/example2.php but when I try and embed in inside a html page I get a garbled mess http://www.ecurry.net/menu6.php http://www.ecurry.net/menu6.phps I

[PHP] need a php multiple/mysql choice quiz

2006-02-20 Thread Ross
I am looking for a php/mysql multiple choice quiz. One that saves the answers to a database. A basic example I can expand on is all that is required. Ross -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Php 4.3.2 "stream does not support seeking" in includes

2003-06-06 Thread Nicolas Ross
Hi there ! I just upgraded to php 4.3.2 on several servers, and some of them uses incldes of remote files (via include("http:...") functions. I get : Warning: main(): stream does not support seeking in ... on line .. All the time, on all machines. My "standard" configure line is : ./configure

[PHP] need some help on stratagy... (php/mysql/javascript)

2002-07-23 Thread Alexander Ross
is the best way to have a second field called shot_num which is continuously changing? It can't be good to query the database continuously, even if it is a small query, can it? What is a good stratagy to work with here? I'm still a bit of a novice with php/mysql, so be gentle. Thanks

[PHP] date

2002-07-24 Thread Alexander Ross
I have a column in one of my mysql tables which holds the date & time that the record was inserted. When I run a query later on I want to display the date, but if the date is today or yesterday I want to display "today" or "yesterday" instead .. how do i compare to stored date with todays date? t

[PHP] datetime field - still a newbie

2002-07-24 Thread Alexander Ross
I have a datetime field in one of my mysql tables...when displaying some of my records I want to display the date in the aforementioned datetime field, but if the date is today I want to display "today" instead. If the date is yesterday I want it to display that so I how do I compare the dat

Re: [PHP] datetime field - still a newbie

2002-07-25 Thread Alexander Ross
Thanks bunches "John Holmes" <[EMAIL PROTECTED]> wrote in message 001101c233ba$3de3d430$b402a8c0@mango">news:001101c233ba$3de3d430$b402a8c0@mango... > > I have a datetime field in one of my mysql tables...when displaying > some > > of > > my records I want to display the date in the aforemention

[PHP] invalid use of group function (mysql)

2002-07-26 Thread Alexander Ross
Why am I getting this error? My statement is: SELECT * FROM shots WHERE shot_num = MAX(shot_num) LIMIT 1; There is one record in the table "shots". Its shot_num value is 0. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] spiffy error handling ...

2002-08-09 Thread Alexander Ross
This may be kids play for some of you, but I figured this out and thought I'd share... $connect = connect-to-db() or (alert("error") xor die()); or $connect = connect-to-db() or (alert("error") xor return(false)); It makes for much cleaner code than what I used to do: $connect = connect-to-db

[PHP] Re: spiffy error handling ...

2002-08-09 Thread Alexander Ross
p.s. alert is a simple function I wrote to call a javascript alert window. "Alexander Ross" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > This may be kids play for some of you, but I figured this out and thought > I'd sh

[PHP] including a php file in an html doc

2002-08-11 Thread Alexander Ross
I have a .php file whose purpose, ultimately, is to set one variable; $hotspot. Now I want to include that var in a bunch of places in my html page (it must remain html). So this was my thought. In the include the following: and then anywhere in the html doc I want to print the value of $ho

[PHP] Re: including a php file in an html doc

2002-08-12 Thread Alexander Ross
es the code (because it knows how to execute JavaScript). > > What you should do would be write > > instead of " > Bogdan > > Alexander Ross wrote: > > I have a .php file whose purpose, ultimately, is to set one variable; > > $hotspot. Now I want to include t

RE: [PHP] Re: including a php file in an html doc

2002-08-12 Thread Alexander Ross
So is there any way to accomplish what I want to using php without naming the files *.php?? -Original Message- From: Brian V Bonini [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 10:11 AM To: Alexander Ross; [EMAIL PROTECTED] Subject: RE: [PHP] Re: including a php file in an

[PHP] switch statement question

2002-08-13 Thread Alexander Ross
Say i have a variable $string_var = "Once upon a time"; is there a way to do this: Switch($string_var) { case(contains "Once"): doSomething(); break; case(contains "the end.") doOtherThing(); break; case(contains "time") doNothing(); break; default: echo "ERROR" }

[PHP] newbie array question

2002-08-13 Thread Alexander Ross
If I have a string variable that is already of the form ('item','item2','item3') [including the parens and quotes in the string], is there an easy way to change that variable into an array?? Array($var) doesn't work. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vi

[PHP] mysql statement (still a semi newbie)

2002-08-14 Thread Alexander Ross
What is wrong with the statement below? Am I using DEFAULT incorrectly? That first column is an auto_incrementing column so i don't want any data to get inserted there. Thanks for you help. INSERT INTO cast VALUES(DEFAULT, 'Rick', 'Blaine', 'Humphrey', 'Bogart', 'male'); Thanks! Alex -- PH

[PHP] assoc array question

2002-08-15 Thread Alexander Ross
I have this: (note that $info is an Assoc Array while (list ($key, $val) = each ($info)) { do stuff } I would like to do slightly different stuff if I'm at the very first, or very last item in the array. How do I do this. Below is the pseudo code which would be ideal: while (list ($key

RE: [PHP] assoc array question

2002-08-15 Thread Alexander Ross
But what about the first position?? -Original Message- From: Brian V Bonini [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 15, 2002 5:37 PM To: Alexander Ross; [EMAIL PROTECTED] Subject: RE: [PHP] assoc array question Off teeh top of my novice head I think count() or sizeof() is

Re: [PHP] assoc array question

2002-08-15 Thread Alexander Ross
aha!! array_keys !!! "Brian V Bonini" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Off teeh top of my novice head I think count() or sizeof() is what your > looking for. > > > -Original Message- > >

[PHP] what am I missing here?

2002-08-15 Thread Alexander Ross
what am i missing here?? I have a simple if statement that wont do whats inside it even when true. this works: echo $key==$info_keys[0]; // returns 1 or 0 correctly if($key==$info_keys[0]) $query = $query; else $query = $query." and "; $query = $query.$key."='".$va

[PHP] +=

2002-08-19 Thread Alexander Ross
Is there a += equivilant for strings?? $string = "Hello"; $string += "world."; I know that $string = $string." world."; would work, but I keep having to do it. Is there a shortcut? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] getting directory info

2002-08-27 Thread Alexander Ross
Can I use php to get a list of all the jpgs in a folder? I want to make a photo album type thing for a website, and I want it to be real simple (i.e. you put photos (jpgs) in a folder called photos and upload them. Then the album is built dynamically using php. Thoughts? -- PHP General Mail

[PHP] using mapquest with php

2002-11-18 Thread Alexander Ross
I want to make a very simple form which asks for a starting city/state and an ending city/state. When the user hits submit, the number of miles from city A to City B is displayed ... no directions, no maps, no exact locations .. just the milage. Can I use mapquest to do this? how? Is there anoth

[PHP] newbie: a couple basic questions

2002-07-07 Thread Alexander Ross
1) in a fuction, does a return statment automatically exit the function as well? 2) can someone give me a better explination of $HTTP_POST_VARS -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] newbie: question about question marks

2002-07-07 Thread Alexander Ross
Can someone explain to me what the ? does. I have a vague idea of what it means in a URL (please cearify that) but I haven't the slightest what it means in php code. Thanks for your help Alex -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.p

[PHP] tree structures

2002-07-08 Thread Alexander Ross
(including relies in that count) at a time; then have a next link and display the next 10 (you've all seen it before). How do I modify a recursive function to stop and start? My display finction is listed below. Thanks Alexander Ross function display($row, $start = 0) { //display the tree if(

[PHP] Re: newbie: a couple basic questions

2002-07-09 Thread Alexander Ross
Thank you kindly ... "Richard Lynch" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > >1) in a fuction, does a return statment automatically exit the function as > >well? > > Yes. Nothing more will get executed inside the function after the "return;" > > Some purists claim that

Re: [PHP] newbie: question about question marks

2002-07-09 Thread Alexander Ross
How bout the question marks in the following line of php generated html: what do they mean? "Miguel Cruz" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Sun, 7 Jul 2002, Alexander Ross wrote: > > Can someone explain

[PHP] passing objects in url

2002-07-09 Thread Alexander Ross
If $this is an object, can I have the following link? Process Will the URL become too long? Will teh info get passed correctly? thanks Alexander Ross -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] tree structures

2002-07-09 Thread Alexander Ross
; $NextPage = $P + $C; > if ($P > $C) > $PreviousPage = $P - $C; > else > $PreviousPage = 0; > > print "Next Page"; > > You get the idea... > > > > -Original Message- > From: Alexander Ross [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 08, 2002 6

Re: [PHP] tree structures

2002-07-09 Thread Alexander Ross
Never mind .. That can't happen because of how I build the tree .. thank you!!! "Alexander Ross" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Yes but the first 10 rows may or may not be the correct information to > po

[PHP] cookies

2002-07-10 Thread Alexander Ross
How can I set a cookie which expires when the borwser is closed?? How can I delete a cookie via PHP? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] if syntax

2002-07-10 Thread Alexander Ross
I know this is correct: if ($something) { ... } else { ... } But I recently saw someone use this instead: if($something): ... else: ... Is that also correct?? No brackets needed? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] session error ... I think

2002-07-10 Thread Alexander Ross
what does this mean: Warning: Cannot send session cache limiter - headers already sent (output started at /home/.edy/alexross/bleen.net/forum/discussion_fns.php:88) in /home/.edy/alexross/bleen.net/forum/index.php on line 5 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vis

[PHP] sessions

2002-07-10 Thread Alexander Ross
I'm trying to understand sessions so I can set session variables. I set up 2 very simple pages: Page 1: Click here Page 2: This doesn't seem to work though. $test_var doesn't seem to have a value when I go the second page. What am I missing. Thanks for helping a newbie. Alex -- PH

[PHP] mysql question

2002-07-11 Thread Alexander Ross
I realize this isn't a php question, but I figured that someone here knows of a good mysql newsgroup and in the mean time someone here probaby knows the answer to my question. Can I set up a query like this: select * from table where start_shot <= $current_shot and end_shot >= $current_shot not

[PHP] Re: session error ... I think

2002-07-11 Thread Alexander Ross
I'm slowly beginning to undrestand this, but please bear with a php novice. When/how were the headers sent? In other words, how do I know that they have already been sent? Thanks for humoring me alex "Richard Lynch" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > >what does th

Re: [PHP] Re: session error ... I think

2002-07-11 Thread Alexander Ross
ok ... but the line of code that was the culprit was simply: print "var id = ".$id.""; //for debugging how does that line constitute sending more header info? Alex "Chris Hewitt" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news

[PHP] recusive functions

2002-07-13 Thread Alexander Ross
Does exit() in a recursive function exit the entire function, of does it only exit that iteration of teh function?? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] objects in an array

2002-07-13 Thread Alexander Ross
I have an array filled with objects. Each object has a method called "display". I have $var = $arr[0]; $var->display(); but I keep getting an error. What am I doing wrong? (I do a print_r of the array immediately before this code and there is an object at array[0]) Thanks Alex -- PHP Ge

[PHP] mysql LIMIT

2002-07-14 Thread Alexander Ross
can I use limit to show the 2nd record on without knowing how many more records there might be? also, what happens if I set the limit in a mysql statement (LIMIT 5,10), but there are only 3 results? 7 results? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www

[PHP] newbie: mysql statement

2002-07-15 Thread Alexander Ross
I want to update the most recent record (based on the timestamp in field posted) where the parent field == a specified value (in a table called header). I tried the following mysql statement: "UPDATE header WHERE parent = '$this->postid' ORDER by posted SET parent='$this->parent' LIMIT1"; but a

[PHP] PHP / IE 6 problems

2002-03-19 Thread Chris Ross
I need help - I'm having a problem, Everyone using the new explorer 6 seems to be having problems with a certain part of my site. We are using PHP's graphic library, but instead of creating images using PHP (which we can do but they suck), we're using the library to reference existing images. Th

Re: [PHP] PHP / IE 6 problems

2002-03-19 Thread Chris Ross
Okay... Looks like I'm an idiot... I thought it was a PHP issue and its a security thing with explorer. The people that are complaining must have the new cookie feature set to high or more! Sorry! And Thanks for setting me straight! Chris > I need help - > > I'm having a problem, Everyone usin

[PHP] weird session problem

2001-10-19 Thread Ross Barefoot
want to look at how the php is set up, you can go to this link: http://www.flexiss.net/phpinfo.php Any help would really be appreciated. I've posted this on two PHP forums without a solution being found. Ross -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTE

[PHP] Re: weird session problem

2001-10-20 Thread Ross Barefoot
Thanks for the suggestion, but this has no effect on the script. And the script runs fine as is on the other host, so I don't think this is the route of the problem. "Chris Lee" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > create the variable then register

[PHP] Regular Expression Problem and PHP 4 (urgent)

2001-08-14 Thread Ross Nielsen
ink I need to use eregi_replace to make the line look like this: blah blah blah blah blah blah blah blah blah when it is returned to the browser. Thanks in advance Ross -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

[PHP] Re: Regular Expression Problem and PHP 4 (urgent)

2001-08-15 Thread Ross Nielsen
Actually I didn't pose my question correctly. I also needed to grep out the "Link" for use in JS during the process. I wrapped this in a class file and here is the entry that I ended up with. Thanks for the assist though... == function getPL($plr

[PHP] Regular Expression Problem and PHP 4 (urgent) --- continued

2001-08-27 Thread Ross Nielsen
adata{link}data[link] Closer I need to grep the values between [] and {} to turn them into a links. (BTW I need to retain the values for use in JS) Any suggestions? Thanks, Ross -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: [PHP] Regular Expression Problem and PHP 4 (urgent) --- continued

2001-08-30 Thread Ross Nielsen
Andrey, Thanks for the time that you put into this! After some tweaking (for my scripts) I got this working nicely, and learned a thing or two about PREG also. Ross Nielsen [EMAIL PROTECTED] "Andrey Hristov" <[EMAIL PROTECTED]> wrote in message 02d801c12f2e$c1a60a90$0b01a

[PHP] Disbale function in certain virtual host

2001-08-31 Thread Nicolas Ross
ot disable functions through httpd.conf with php_value or php_admin_value... Does some one have an Idea ? Nicolas Ross -- 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 administrato

Re: [PHP] Disbale function in certain virtual host

2001-09-03 Thread Nicolas Ross
I tried that one, and it didn't work... Nicolas > > > php_admin_value disable_functions strlen > > > On Fri, 31 Aug 2001, Nicolas Ross wrote: > > > I am searching a way of disabling certain functions in a particular Virtual > > Host. > > > &g

Re: [PHP] Disbale function in certain virtual host

2001-09-04 Thread Nicolas Ross
And you can see at : http://etudiant.multim.org/test/test.php that I disabled phpinfo() in the virtual host, but I can still execute the function > > > php_admin_value disable_functions strlen > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECT

Re: [PHP] Experience (was: while-question)

2008-11-17 Thread Ross McKay
On Mon, 17 Nov 2008 14:30:34 -0500, tedd.sperling wrote: >I can program with rocks -- and do a good job of it. I can make a one >that can stand for a couple of thousand years. http://xkcd.com/505/ -- Ross McKay, Toronto, NSW Australia "Before enlightenment: chop wood, carry wa

Re: [PHP] Experience (was: while-question)

2008-11-17 Thread Ross McKay
s over when initially making the switch from their one-language development environment. (Frameworks strive to clean that up for developers) So, is PHP programming? :) -- Ross McKay, Toronto, NSW Australia "Pay no attention to that man behind the curtain" - Wizard of Oz -- PHP Genera

[PHP] Re: Poll of sorts: Javascript Form validation or PHP

2008-12-06 Thread Ross McKay
lly learning stuff to her surprise!! Good, because when you stop learning is when you start dying... -- Ross McKay, Toronto, NSW Australia "Before enlightenment: chop wood, carry water; After enlightenment: chop wood, carry water" - Wu Li -- PHP General Mailing List (http://www.php

Re: [PHP] Chrome 1.0 released

2008-12-14 Thread Ross McKay
en viewing such statistics. The site that Richard posted a link to shows this variability nicely: http://www.upsdell.com/BrowserNews/stat.htm -- Ross McKay, Toronto, NSW Australia "Let the laddie play wi the knife - he'll learn" - The Wee Book of Calvin -- PHP General Mailing

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

2009-01-05 Thread Ross McKay
quot; - TFM. Also, you can create a FULLTEXT index on text columns stored in the MyISAM engine. (which is a PITA, because if you want ACID transactions and full-text searching, you need to create and maintain a MyISAM shadow table of the data you want to full-text search on) -- Ross McKay, Toron

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

2009-01-05 Thread Ross McKay
od point, thanks! I usually read from the .chm manual but just jumped to the website to grab a link. Should have been: http://dev.mysql.com/doc/refman/5.0/en/string-types.html I note that Stuart was most likely talking about MySQL <= 4 which had a limit of 255 characters for varchar. -- Ross Mc

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

2009-01-07 Thread Ross McKay
leads to better results than picking in advance whether to use char or varchar (or text). Measuring is even better. Oh, and for a column with a limited range of values, enum beats 'em all! -- Ross McKay, Toronto, NSW Australia "You can't control what you can't measure&quo

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

2009-01-07 Thread Ross McKay
post, knowing what your data requires leads to better results than picking in advance whether to use char or varchar (or text). Measuring is even better. -- Ross McKay, Toronto, NSW Australia "There is more to life than simply increasing its speed." - Gandhi -- PHP General Mailing

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

2009-01-07 Thread Ross McKay
is important when it's expensive storage, backed up, replicated, transferred to other systems over comms links, etc. It also means more disc access, unless you have a surplus 10GB RAM for extra caching. Disc access is usually what kills database performance. -- Ross McKay, Toronto, NSW Australia &quo

[PHP] Re: First steps towards unix and php

2009-01-08 Thread Ross McKay
the others, with maybe just some minor integration glitches; I run GNOME and use a number of KDE programs just fine. You should also check out editors and IDEs - STFW for previous posts made to this and other groups. Then pick Geany ;) And don't forget to add a revision control system

Re: [PHP] Re: First steps towards unix and php

2009-01-08 Thread Ross McKay
cept when debugging (for which I've been using NetBeans). Hmmm... must do something about that some day. -- Ross McKay, Toronto, NSW Australia "Let the laddie play wi the knife - he'll learn" - The Wee Book of Calvin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Editing in a text area field

2009-01-10 Thread Ross McKay
themselves and forget to close them. -- Ross McKay, Toronto, NSW Australia "Nobody ever rioted for austerity" - George Monbiot -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

<    1   2   3   4   5   >