[PHP] syntax to reference $_POST within function

2002-12-19 Thread Jamie
$email) { Any assistance is appreciated! Thanks, Jamie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] syntax to reference $_POST within function

2002-12-20 Thread Jamie
x27;email']) { Maybe you could also point me to the lesson that needs to be learned here. Is it that it is an array? or syntax? Thanks for the assistance! Jamie Sullivan Philip Olson wrote: First, read this: http://www.php.net/variables.external Second, assuming you have a PHP ve

[PHP] Date/Time Formatting

2001-01-19 Thread Jamie
I'm fairly new to SQL and PHP and I'm haveing trouble useing the Date functions of Both Systems, so I'd be greatfull if someone can help. What I'm trying to do is have an 'administrator' be able to enter info through a form to a mySQL database. Then on a seperate page have the info reread and disp

[PHP] Search Engines and PHP

2001-01-22 Thread Jamie
ntire site. Any Ideas Jamie Slightly confused and possibly mislead

[PHP] Function with True / False return

2001-01-22 Thread Jamie
s to a new value. But weather or not this update passes or fails the return value seems to be 1 as the page is rediredted to the logged in page. Also can I update the visits value in the SQL command I've tried visits=visits+1 but that does not seem to work even though I have seen this done with

[PHP] Search for the documentation

2001-01-24 Thread Jamie
27;s not it I can hit next and go onto the next matching string that it finds... I guess what I'm thinking of would have to run in a framed html [search at top and manual at bottom] but any other suggestions would be welcomed. Jamie -- PHP General Mailing List (http://www.php.net/) To unsubsc

[PHP] multiple function returns

2001-01-24 Thread Jamie
Can anyone help me I'm trying to read two results from a function by passing them out via an array but I'm not sure how to access them once I have done that. In the PHP manual it shows a list call which I can't seem to even find what the hell it does the code below runs without any errors but does

[PHP] Outputting a 2 digit number < 10

2001-01-25 Thread Jamie
== $day) { echo("$i\n"); } else { echo("$i\n"); } } echo"" ?> Any help will be apreciated Jamie

[PHP] Configuring php.ini path

2004-09-21 Thread Jamie
command line. And when i add a variable using set PHPRC=e:/php. it does not seem to work. Any help or idea's would be helpfull. Thanks Jamie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Some help on using regex

2005-03-26 Thread Jamie
any sites that has a decent reference guide? Thanks Jamie -==- Output from socket -==- http://climateprediction.net/ climateprediction.net Bob gr432this444has333been888changed FF035ggs5changedthisthis2sse25fb 9640.785061 28.001977 1093683684.00 132

[PHP] OT - news.php.net server problems?

2005-05-15 Thread Jamie
Hi, i know its a little off topic, and its probably just me. But has anyone else been having problems with the nntp ervers news.php,net? more precisely connections being closed unespectedly? just checking to see :) Thanks Jamie -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Detecting if browser is using a HTTP or HTTPS connection to view the page

2004-07-13 Thread Jamie
Is there a way to detect if a browser is using a HTTPS or HTTP. As i can get the scripts self and the host its running off but i cannot seem to find a way to grab if the connection is secure or not. Thanks for any help in advance Jamie -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Detecting if browser is using a HTTP or HTTPS connection to view the page

2004-07-13 Thread Jamie
mpatitable. Thanks Jamie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Detecting if browser is using a HTTP or HTTPS connection to view the page

2004-07-13 Thread Jamie
tps://host.mydomain.com/phpinfo.php > >Michael. According to my phpinfo there is not a SCRIPT_URI This is weird and confusing... why does it only work on a few operating systems :S Jamie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Detecting if browser is using a HTTP or HTTPS connection to view the page

2004-07-13 Thread Jamie
my linux box it constantly displays "We are using HTTPS" what means the statement is evaluating as false. When it should be true (as im currently viewing the page off a HTTP connection) Any ideas? Jamie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Detecting if browser is using a HTTP or HTTPS connection to view the page

2004-07-13 Thread Jamie
> Try $_ENV['HTTPS'] That prints nothing at all on windows and linux. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Detecting if browser is using a HTTP or HTTPS connection to view the page

2004-07-13 Thread Jamie
> You want to specifically check for > > $_SERVER["HTTPS"] == "on" > > because if you're not using HTTPS then $_SERVER["HTTPS"] does not exist. > If this is the case why does it work ok on my windows box? Shouldnt it have same output accross all platforms? -- PHP General Mailing List (http://

Re: [PHP] Detecting if browser is using a HTTP or HTTPS connection to view the page

2004-07-14 Thread Jamie
o cares what happens on a Windows box?" I do. This script needs to be cross platform usuable. Its no good using code that defects on different operating system. Now someones explained i can work arround it. Jamie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Sorting through an array

2004-04-09 Thread Jamie
need to store the artists that i have already passed and havent been matched so i can check the next artist. I know it sounds confusing, but i hope you understand what i mean! Any help would be appreciated. Jamie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Storing binary data within a php script.

2004-12-18 Thread Jamie
there any better ways you suggest me to do this. Im trying to this for two reasons first is to make the application usable by anyone and the second reason is to try to push the boundarys of the langage. I would like anyones comments and views on this please. Any views might help me come to

[PHP] Re: Storing binary data within a php script.

2004-12-19 Thread Jamie
Thanks Jed, Im just trying your method. If i have any problems ill reply to this post Jamie "Jed Smith" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > This is done in a few examples using base64_encode() and base64_decode(). > A particular OpenGL example

[PHP] Passing HTTP_COOKIE_VARS to functions

2001-01-29 Thread Jamie
Can anyone tell me why this piece of code is not working - I'm finding that if I pass values rather then the HTTP_COOKIE_VARS["cookiename"] to the function it seems to work but I want to have this value a variable cookie (for obvious reasons). I cannot seem to find any more information on this fu

[PHP] Passing HTTP_COOKIE_VARS to functions

2001-01-29 Thread Jamie
= $pref_settings["currency_pref"]; $notifyme_pref = $pref_settings["notifyme_pref"]; $page_pref = $pref_settings["page_pref"]; } PrefResults($HTTP_COOKIE_VARS["cookie_user"],$HTTP_COOKIE_VARS["cookie_passw ord"]); Regards Jamie -- PHP General Mai

[PHP] Arrays from forms

2001-02-04 Thread Jamie
Can someone please help me with this code I'm having major problems with arrays. This code is part of a function I'm writing to deal with an array returned from a HTML form of check boxes so if anyone has an example of this sort of thing I'd appreciate a look at it. Anyway Code follows : //Readin

[PHP] Arrays through URL

2001-02-09 Thread Jamie
I'm trying to pass a multi dimensional array through a url link but I'm having a hard time doing this. Is it actually possible? from what I can tell the url just shows ...$form_options_array=Array Is there a better way to do this? thanks jamie -- PHP General Mailing

[PHP] upload video

2002-08-19 Thread Jamie Ingram
? -- - Jamie Ingram -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] issue with script after php upgrade

2002-07-06 Thread Jamie Novak
didn't really see anything that I understood to be related to the problem I'm experiencing.) TIA, Jamie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] issue with script after php upgrade

2002-07-06 Thread Jamie Novak
On 07/06, Jason Wong rearranged the electrons to read: > php.ini > register_globals Well, that was simple and stupid. :/ Thank you for the prompt reply. Obviously, that did the trick. - Jamie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.p

[PHP] Trying to get mysql_fetch_array data into phplot.

2003-10-14 Thread Jamie Dahl
I'm trying to track progress etc..say running and how each run gets' progressivly longer etc...or the time decreases as the distance stays the same etc.. Anyway, when doing the mysql_fetch_array, I need that data to somehow not get lost once the while loop has completed, also, I need to stack

[Fwd: Re: [PHP] Trying to get mysql_fetch_array data into phplot.]

2003-10-14 Thread Jamie Dahl
I'm trying to track progress etc..say running and how each run gets' progressivly longer etc...or the time decreases as the distance stays the same etc.. Anyway, when doing the mysql_fetch_array, I need that data to somehow not get lost once the while loop has completed, also, I need to stack

[PHP] PHP Web Services

2003-12-04 Thread Jamie Anderson
Hello, I am wondering if it is possible to create web services using php? If so, where would I go to find some resources about it? Thanks Jamie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] COM Server Object Properties

2004-01-21 Thread Jamie Hale
I have a COM server that exposes a read/write property with a parameter. Here is the IDL: [propget, id(5), helpstring("property Status")] HRESULT Status([in] BSTR bstrPhase, [out, retval] long *pVal); [propput, id(5), helpstring("property Status")] HRESULT Status([in] BSTR bstrPhase, [in] long new

[PHP] Session Help (transparent sid's)

2001-01-11 Thread Jamie Burns
places) ! Is there a way to override this behaviour in the ini file, or even in the code? One of my customers sites is down because of this, and i can find nothing through searching 8( Thanks guys, Jamie Burns.

[PHP] Guru Needed - the parser is corrupting my html!!

2001-01-13 Thread Jamie Burns
hey guys... my dumb isp has turned on ' --enable-trans-sid ' for all of the users on their webserver without telling them. while i am sure this feature has some benefits, it is breaking my code, big time. besides sticking the session value onto the end of every suspected server request, it is

Re: [PHP] Guru Needed - the parser is corrupting my html!!

2001-01-13 Thread Jamie Burns
thanks! what do i need to put in my apache config? j - Original Message - From: "Cynic" <[EMAIL PROTECTED]> To: "Jamie Burns" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, January 13, 2001 3:06 PM Subject: Re: [PHP] Guru Needed - the p

[PHP] Send browser a 404 not found header?

2001-01-13 Thread Jamie Burns
Hi.. How can I send a browser a "404 not found" page? I tried putting this in a script: header("Status: 404 Not Found"); exit; before any other output, but i keep getting the standard page: from php. any ideas? jamie burns.

Re: [PHP] Send browser a 404 not found header?

2001-01-13 Thread Jamie Burns
ahhh, cracked it ;) header("HTTP/1.1 404 Not Found"); echo(''); exit; will produce the nice IE 404 error document... in fact, echoing anything under a certain size, after the header, seems to get IE to do its thing. Jamie Burns. - Original Message - From: &

Re: [PHP] FW: Cookies, Dammit!

2001-01-16 Thread Jamie Burns
will this not work... if (($HTTP_COOKIE_VARS["foo"] != 'bar') && ($HTTP_GET_VARS["set"] != true)) { SetCookie("foo", "bar"); header("Location: $PHP_SELF?set=true"); } at the top of the page. or is this what is unr

Re: [PHP] FW: Cookies, Dammit!

2001-01-16 Thread Jamie Burns
oop, i missed an 'exit;' command off... if (($HTTP_COOKIE_VARS["foo"] != 'bar') && ($HTTP_GET_VARS["set"] != true)) { SetCookie("foo", "bar"); header("Location: $PHP_SELF?set=true"); exit; } --

[PHP] how do i hide my .inc files in apache??

2001-01-17 Thread Jamie Burns
hi.. can anyone tell me how i get apache to never send out the contents of my include files (*.inc) to users? i dont want my source sode to be visible to browsers. thanks, jamie.

[PHP] how reliable is Windows2000 / php ?

2001-01-17 Thread Jamie Burns
implementation method - mysql as NT service, php as IIS module? anyone have any real life experiences they could share? thanks for your thoughts. i really dont want to have to dig my ASP book out. jamie. ps. i run FreeBSD 4 with PHP/MySQL myself and this is my preferred choice of server setup ;)

[PHP] regular expression help

2001-01-24 Thread Jamie Burns
: ereg("element[ ]*[=][ ]*[\"]?([^\">]*)[ |\"|>].*" ... thanks for your help - regular expressions are not my best area! jamie.

[PHP] Can you recommend an ISP with the following?

2001-03-16 Thread Jamie Jackson
7;s VERY tedious to get a demo account, and see that their Web-based administrator is junk. I'm used to the very slick administrator found on Cobalt servers. I have given up after a half-dozen attempts at other servers. I sincerely hope someone can help. Thank you very much, Jamie -- PHP General Ma

[PHP] protecting password file on ISP

2001-03-16 Thread Jamie McClelland
file they are looking for. Anyone have suggestions on how to close this security hole? Thanks, Jamie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] Can you recommend an ISP with the following?

2001-03-16 Thread Jamie Jackson
up system. (RAQs let you download a compressed backup, which can be easily uploaded, and reverted to). Cobalt servers do these things. Jamie On 16 Mar 2001 08:10:24 -0800, [EMAIL PROTECTED] ("John Huggins") wrote: >You mention a large desire for a good web based administrator. I won

[PHP] Newbie question - adding vars

2001-04-28 Thread Jamie Saunders
Hi, How do you add text vars together e.g. $varone = "hello"; $vartwo = "world"; $varthree = ($varone, $vartwo); Obviously the above example doesn't work so can someone tell me how to do this? Thanks Jamie Saunders Mail: [EMAIL PROTECTED] Web: http://jamie-

[PHP] grabbing variables from the query string

2001-04-28 Thread Jamie Saunders
ed in the PHP manual but can't find any information relating to the query string. Thanks. Jamie Saunders Mail: [EMAIL PROTECTED] Web: http://jamie-s.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [E

[PHP] integer checking problem from query string

2001-04-28 Thread Jamie Saunders
Hi, I'm submitting a phone number from an HTML form to a PHP page that examines it to see if it's an integer: form.html: validate.php: However, for some reason the script doesn't recognize the number as an Integer - why is this and how can I remedy it? Jami

[PHP] adding text to a variable name

2001-05-01 Thread Jamie Saunders
Hi, Is it possible to add text onto the end of a variable name? e.g. to add the word 'code' onto the variable $field so it would be $fieldcode Thanks Jamie Saunders Mail: [EMAIL PROTECTED] Web: http://jamie-s.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscri

[PHP] searching a MySQL database

2001-05-06 Thread Jamie Saunders
Hi, I've set up a MySQL database and an HTML search form. I'd like to know how to search the database with whatever it entered into the form. It only needs to be a simple search, returning anything that matches the word(s) entered into the input box in the form. Thanks. Jami

[PHP] if string contains...

2001-05-06 Thread Jamie Saunders
Hi, I want to check whether a string contains a certain word e.g. $varOne = "this is a string"; if ($varOne contains "is") { return true; } else { return false; } Is there an operator for 'contains', if not how do you do t

[PHP] URL redirection

2001-05-06 Thread Jamie Saunders
Hi, Is there a PHP function that will redirect the current page to another url? e.g. if ($varTwo == $varOne) { URL redirection code } else { echo "You stay right where you are!"; } Thanks. Jamie Saunders Ma

[PHP] resetting the pointer in a MySQL database table

2001-05-09 Thread Jamie Saunders
ay of resetting it? Thanks. Jamie Saunders Mail: [EMAIL PROTECTED] Web: http://jamie-s.co.uk -- 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]

[PHP] simple form validation

2001-04-26 Thread Jamie Saunders
Hi, First of all, I've just joined this list, so here's a brief introduction. My name's Jamie Saunders, I'm an 18 year old student from the UK studying for my A-Levels. I'm currently working on a Computer Studies project for a local business which involves setting

[PHP] MySQL Select

2001-05-23 Thread Jamie Thompson
ok...sorry to ask a stupid question but $result = mysql_query("SELECT jazz FROM funk WHERE foo='bar'") but where do you go from there. How would you iterate through the array a row at a time, doing your thing as you go along? thanks, jamie -- PHP Genera

[PHP] Using html templates

2001-05-23 Thread Jamie Thompson
what is the best way of using html templates to display data from a database? -- 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]

[PHP] Resize Images 'On The Fly'

2001-05-24 Thread Jamie Thompson
but I can't find any documentation for this? is it possible? Thanks, Jamie :-) -- 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]

[PHP] concurrent users

2001-12-28 Thread Jamie Fields
I have recently been requested to choose new technology to be used within my organization. My options seem to include PHP and JSP, and I am leaning toward PHP. The one thing I really need to know is how many concurrent users PHP can handle at one time. This project is for an extremely large cor

[PHP] Re: Remembering choices

2002-04-02 Thread Jamie Watt
That's exactly what sessions are for, check out http://www.php.net/manual/en/ref.session.php for more info about using sesions. > Hi, > I have a menu, where I would like to be able to store which link the user > last pressed. What is the best way of doing this? I thought about sessions, > but is

[PHP] Re: Really slow include

2002-04-02 Thread Jamie Watt
What you need to do is include the path to the file in relation to the file that is including it, this can be an absolute path or a relative path. Eg. Assuming the file is located in /www/foo/htdocs/foo/index_test.php and the include file is in /www/foo/htdocs/ Absolute path: require("/www/foo/h

Re: [PHP] Javascript and PHP??

2002-04-03 Thread Jamie Watt
"Mikhail Avrekh" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > You can say something like: > > > > window.open("", > "target", > "resizable,status,width=500,height=200"); > > > > > On Wed, 3 Apr 2002, Joe Keilholz wrote: > > > H

[PHP] Re: New-line characters

2002-04-05 Thread Jamie Watt
You'de be better off using the built in nl2br() function (http://www.php.net/manual/en/function.nl2br.php) it'll have the same effect as a it'll insert a tag everwhere a newline character occurs. Where 2 newline characters occur it will produce which in your HTML will break your text in the sam

[PHP] Re: [PHP-GENERAL] animated gif

2002-04-05 Thread Jamie Watt
Sounds like you'll have to use PHP to to first create the images. Then in your output page just include some javascript to rotate the images. If you have to you can use PHP to write the javascript. "Jessica Lee Tishmack" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > can you

[PHP] Re: script-controlled tablewidthchange, for diff. screen resolutions

2002-04-05 Thread Jamie Watt
Sounds like you might be trying to do things the hard way. Wouldn't it be easier to simply set the table widths as a percentage rather than an exact width in pixels? Eg. width="50%" The above example will set the table width to 50% of the browser window width. Or maybe you could use a bit of D

[PHP] Text fading with PHP?

2001-03-24 Thread Jamie Anderson
Jamie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

RE: [PHP] [php]using sendmail with php

2001-06-19 Thread Jamie Thompson
What is this problem you speak of? I have never come across any problems with mail().maybe i'm not trying hard enough ;) -Original Message- From: Chris Cocuzzo [mailto:[EMAIL PROTECTED]] Sent: 19 June 2001 05:04 To: PHP General List (E-mail) Subject: [PHP] [php]using sendmail with php

[PHP] PHP Hosting in The UK

2001-06-19 Thread Jamie Thompson
Just a quickieDoes anyone know of any cheap but reliable (i.e. they know at least something about PHP) Hosting companies in the UK? By cheap i mean about £10 a month. Speed isn't an issue as long as were not talking a snails pace. Cheers Jamie "Funkdaddy" Thompson

RE: [PHP] informations

2001-06-22 Thread Jamie Thompson
i think you be sendering this to the wrongs peepel. -Original Message- From: Mihailescu Emil [mailto:[EMAIL PROTECTED]] Sent: 21 June 2001 04:52 To: [EMAIL PROTECTED] Subject: [PHP] informations Sir/Madame Please allow me to introduce myself. My name is Mihailescu Emi. I am sales man

[PHP] Trapping Fatal Errors

2001-06-26 Thread Jamie Alessio
name multiple times). I was only able to unearth one thread on this list pertaining to this topic and the question never seemed to get answered. If you're interested an archive of that thread is located at: http://marc.theaimsgroup.com/?l=php-general&m=98803976202673&w=2 Thanks.

[PHP] Mail()'s not playing nicely :(

2001-06-27 Thread Jamie Thompson
ok so i got mail("[EMAIL PROTECTED]", "$message", "sms alert", "Return-Path: $email <$email>\nFrom: $email <$email>\nReply-To: $email <$email>\nX-Mailer: " . phpversion()); the email appears as from [EMAIL PROTECTED] istead of [EMAIL PROTECTED] which it should (and always has done previousy) I

RE: [PHP] Filtering out \ when a ' is user entered?

2001-06-27 Thread Jamie Thompson
use the str_replace() function http://www.php.net/manual/en/function.str-replace.php -Original Message- From: Marcus James Christian [mailto:[EMAIL PROTECTED]] Sent: 27 June 2001 05:19 To: [EMAIL PROTECTED] Subject: [PHP] Filtering out \ when a ' is user entered? Hello, I'm pretty n

[PHP] reading records alphebetically

2001-06-30 Thread Jamie Saunders
ich field 'name' beings with A } else if ($letter = B) { ... I'm just starting out on this, so please excuse my ignorance :) Jamie Saunders [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [E

[PHP] shtml includes

2001-07-01 Thread Jamie Saunders
t to be able to look for the tags within the text files and parse them as PHP include(""); tags. Is there any way of achieving this? Thanks. Jamie Saunders -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [E

[PHP] multiple entries in the same field

2001-07-04 Thread Jamie Saunders
ly by simply changing each comma to a '' in the script? Thanks. Jamie Saunders [EMAIL PROTECTED] -- 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]

[PHP] capatalising letters

2001-07-04 Thread Jamie Saunders
Hi, I've got a list of strings in the following format: item one item two item three What I'd like to do now is to capitalise the first letter of each word so the list becomes: Item One Item Two Item Three Can anyone tell me how to do this? Thanks. Jamie Saunders [EMAIL PROTECTED]

[PHP] displaying latest DB entries

2001-07-19 Thread Jamie Saunders
? I don't want to list the last 5 records entered from each table but from the whole database. Is there any easy way of doing this? Thanks. Jamie Saunders [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP] selecting words

2001-08-07 Thread Jamie Saunders
Hi, What I'd like to do is take a string (paragraph) of text consisting of say 500 words and display only the first 100 words. Is there a function able to do this? Thanks. Jamie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

[PHP] cgi - switch not working?!

2001-08-16 Thread Jamie Burns
w to accomplish this? regards, jamie burns. -- 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]

[PHP] Re: cgi 2 php

2001-08-18 Thread Jamie Burns
h cgi, and many of the scripts you see on the web are written in perl (look at the first line of the script). i personally havent any such converter. jamie burns. "Steven Dowd" <[EMAIL PROTECTED]> wrote in message 036601c127e2$a78f67d0$0100a8c0@win2k">news:036601c127e2$a78f

[PHP] Multiple Arrays in OOP

2001-09-22 Thread Jamie Smith
ting is what I was expecting for the code below) Thanks again Jamie Smith CODE follows init(); header("Location: $HTTP_REFERER"); break; case "add" : $MYSESSION["cart"]->add($item_code, $form_qty, $option); default: ?> CODE : Option:

[PHP] APC problem with PHP

2009-02-10 Thread Jamie Krasnoo
ugh to try and see what is going on. I used gdb to peer in to a core file and saw that libthread_db.1.so or something like that was the culprit. Does anyone know what would cause PHP to start segfaulting after APC was installed? Thanks, Jamie -- PHP General Mailing List (http://www.ph

Re: [PHP] APC problem with PHP

2009-02-10 Thread Jamie Krasnoo
Yes, I'm using Apache 2.2.11 and I do believe that threading could be enabled. Apache was compiled through cPanel with Easy::Apache. I didn't see any options to disable threading unless I missed it. Jamie On Tue, Feb 10, 2009 at 3:51 PM, Nathan Nobbe wrote: > On Tue, Feb 10, 20

Re: [PHP] APC problem with PHP

2009-02-10 Thread Jamie Krasnoo
d for some time. They already exist and are not using APC at all. As soon as APC is taken off they stop segfauting. Jamie On Tue, Feb 10, 2009 at 4:10 PM, Nathan Nobbe wrote: > On Tue, Feb 10, 2009 at 5:03 PM, Jamie Krasnoo wrote: >> >> Yes, I'm using Apache 2.2.11 and I do bel

Re: [PHP] APC problem with PHP

2009-02-10 Thread Jamie Krasnoo
ion_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so Does APC not play nice with any of these? Jamie On Tue, Feb 10, 2009 at 4:25 PM, Nathan Nobbe wrote: > On Tue, Feb 10, 2009 at 5:19 PM, Jamie Krasnoo wrote: >> >> I did compile Apache with mpm_prefork though. > > hmm

Re: [PHP] APC problem with PHP

2009-02-10 Thread Jamie Krasnoo
Hmm, I'll try taking down the optimizer and seeing if it segfaults or not. If that's what it is it's a crying shame that apc and zend_optimizer can't get along. On Tue, Feb 10, 2009 at 4:46 PM, Nathan Nobbe wrote: > On Tue, Feb 10, 2009 at 5:34 PM, Jamie Krasnoo wrote: &

Re: [PHP] APC problem with PHP

2009-02-10 Thread Jamie Krasnoo
files all over the place if it had been something else. Jamie On Tue, Feb 10, 2009 at 4:53 PM, Jamie Krasnoo wrote: > Hmm, I'll try taking down the optimizer and seeing if it segfaults or > not. If that's what it is it's a crying shame that apc and > zend_optimizer can

Re: [PHP] How to install pecl_http into a web hosting service

2011-07-25 Thread Jamie Krasnoo
You should be using cURL for making requests. No, you won't be able to install any pecl packages on your host. It's a free account and I doubt they will be bending over backwards for you anytime soon. If you want custom hosting, pay for a VPS account or a dedicated server. On Thu, Jul 21, 2011 at

Re: [PHP] How to install pecl_http into a web hosting service

2011-07-25 Thread Jamie Krasnoo
Most hosting companies have cURL already installed and available rather than pecl_http. I probably should have said "try using cURL" instead of "you should be using cURL". However most FREE hosting companies probably won't even have that installed due to security concern

[PHP] Complex (or not so) array data form submission?

2011-08-04 Thread Jamie Krasnoo
' => '...' ), 1 => array( 'id' => '2', 'address1' => '...', 'address2' => '...', 'city' => '...', 'state'=> '...', 'zip' => '...' ) ); For some reason I can't seem to come up with the right naming schema in forms in order to get this structure. Jamie

Re: [PHP] Complex (or not so) array data form submission?

2011-08-04 Thread Jamie Krasnoo
n't have given the end result I sought, I don't think. Clear case of not seeing the forest for the trees. Jamie On Thu, Aug 4, 2011 at 10:31 AM, Andrew Ballard wrote: > On Thu, Aug 4, 2011 at 1:18 PM, Jamie Krasnoo wrote: > > > > Hey all, > > > > I get the

[PHP] What determines your use of the type of DB framework/abstract?

2011-09-22 Thread Jamie Krasnoo
Whether to use one or not and if so which one? Jamie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What determines your use of the type of DB framework/abstract?

2011-09-22 Thread Jamie Krasnoo
rather on *what* and *when* it is appropriate to *use* or *substitute* something like Doctrine instead of using straight pdo or mysqli or the abstract that came with that particular framework. Substituting Doctrine or some other abstract could complicate a project rather than help. Jamie On Thu,

[PHP] Re: paring large files - PHP or Perl

2005-02-16 Thread Jamie Alessio
re options for doing things like parsing email so that might get you up and running faster than with PHP. That said, there are some things in the PEAR library that might help. Take a look at the Mail_Mime class (http://pear.php.net/package/Mail_Mime). - Jamie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: php login

2005-02-16 Thread Jamie Alessio
the PEAR Auth class: http://pear.php.net/package/Auth http://pear.php.net/manual/en/package.authentication.auth.php It allows you to use MySQL to store the user information and will probably save you some time on the actual "login" part of your script. - Jamie -- PHP General Mailing

[PHP] Re: Handling email bouncebacks

2005-02-16 Thread Jamie Alessio
that helps - just wanted to throw out the more complex scenario as you might not have initially thought of an approach like that. - Jamie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Crawlers (was parsing large files - PHP or Perl)

2005-02-17 Thread Jamie Alessio
27;d also like to hear if someone has written nice crawling code in PHP. - Jamie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: traversing multi-dimensional arrays

2005-02-17 Thread Jamie Alessio
#x27;t this work? foreach($models as $car => $model_array) { foreach($model_array as $key => $model) { print "The car is a $car $model"; } } If you know what manufacturer you want ('ford' or 'chevy') then you can just get the models for that by doing this:

[PHP] Re: HOWTO read PHP source code into a textarea

2005-02-25 Thread Jamie Alessio
hing like this: You'll need error checking, etc. but that general idea should work. Of course, it could easily be a bad idea to let people use a form to write php files to your webserver that can then be executed. What would happen on your server if I put this line in the textarea on the f

[PHP] Re: FTP info in a variable

2005-02-25 Thread Jamie Alessio
man pages for details on how to do this properly and check for errors: http://us4.php.net/manual/en/function.fopen.php http://us4.php.net/manual/en/function.fwrite.php http://us4.php.net/manual/en/wrappers.ftp.php - Jamie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: help with adding

2005-02-26 Thread Jamie Alessio
alculation from the loop and calculate it by doing this: $total = array_sum($_POST['qty']); Try using arrays in your forms instead of sticking numbers onto the end of your variable names and I think you'll find things getting much easier for you. - Jamie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   >