[PHP] another 4.3.0 issue?

2003-01-09 Thread john
$br_subjectc .= "From: [$title] < $br_return >\n"; $br_subjectc .= "Reply-To: $br_return\n"; any idea what is causing that? ive looked on php.net and i cant see anything that catches my eye mentioned about this in the changelog. im not aware of any alteration to email s

[PHP] CHECKING A PAGE EXISTS

2003-07-01 Thread John
How do I, in PHP, check if a submitted URL exists and doesnt return a 404 error. can i open it with fopen and somehow get the HTTP response or does it require something else -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] OT (kinda): Mod_rewrite

2003-07-01 Thread John
When using mod_rewrite, is there any way to post variables from a form the way you want to. eg a text box called first name another textbox called second name action being http://www.searcher.com/search and the result being http://www.searcher/search/firstname/secondname is this possible?? i do

[PHP] mod_rewrite is acting up!!

2003-07-02 Thread John
ok, i had mod_rewrite working perfect: whenever some one entered www.url.com/browse/Pop/10 it would go to www.url.com/browse.php?category=Pop&id=10 Then I created an actual browse folder in the site root with index.php as the only file in that folder to take over the position of the browse.php fil

[PHP] ANNOUNCING: Rekall V2.0.0 for Linux/UNIX, Windows, and the Sharpe family of Linux PDAs

2003-07-07 Thread john
tion menu or by clicking on the downloads button on the top navigration bar . Regards John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] REGULAR EXPRESSION HELP

2003-07-11 Thread John
Hi, I'm pretty new to regular expressions. Before, I used to write long-winded and buggy segments of code with PHPs string functions to extract text. But I want to learn how to use perl reg-ex as it seems useful to know so I ordered "Mastering Regular Expressions". But it hasn't come yet so I'm as

[PHP] Parsing MySQL query return

2003-07-28 Thread John
? Thanks, John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Parsing MySQL query return

2003-07-28 Thread John
I'm using someone elses data here (inheriting). But it looks like it was typed into the field, possibly using PHPMyADMIN. I would assume the paragraphs are just seperated by carriage returns. Is there a way to tell for sure? John "Ewout De Boer" <[EMAIL PROTECTED]> wrote i

Re: [PHP] Problem occurs when included file includes anther file.

2003-08-14 Thread John
I came across this problem recently -also a similar prob with basedir restrictions ! I even wrote to the php guys about the documentation and got told if was documented but hard to find and it wasn't there fault that the search on php.net doesn't work very well ! Which I have to admit didn't leave

[PHP] re: shell_exec

2003-08-17 Thread John
All I want to do is execute a perl script. I do not care about output to browser. I have used shell_exec, system, exec, and backticks with no avail. Here is what i have now in my php page. shell_exec("perl data/addSite.pl" . " &> /tmp/error " ); I know the perl script executes because a basic pri

[PHP] Mail Header - id this PHP

2003-03-26 Thread John
Rejected: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 From: [EMAIL PROTECTED], [EMAIL PROTECTED] Reply-to: [EMAIL PROTECTED] Regards, John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Chat/Online Help

2003-04-01 Thread John
i'm looking for some info with regards to php chat or php online help... 1. how to enable the transaction 2. server load 3. is it possible to immitate the msn? 4. others. the concept is a simple client window that connect or talks to the other side/moderator.... john -- PHP Ge

[PHP] $_SERVER[REMOTE_ADDR]

2003-04-01 Thread John
Also, is it also possible to get or trace the IP add? many thanks, John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] server error sending email from script

2002-10-06 Thread John
Q: If I'm not on the server that is to be used to send the email, how can I configure PHP to send from a certain server? thanks all Warning: Server Error in c:\program files\apache group\apache\htdocs\sonicmailer\sonicadmin.php on line 276 and line 276 is mail($address, stripslashes($subject)

Re: [PHP] Mailing all the elements of a form

2002-07-07 Thread john
} This in theory will build the body as field: field_value\n.. for each field in the the trusted_fields array that is not empty. code untested - but concept should work. Rgds John Original Message From: Jeremy Bowen Date: Sun 7/7/02 6:31 To

Re: [PHP] newbie: a couple basic questions

2002-07-07 Thread john
Basically $_POST is an associative array of form values submitted using the POST method - you should look at http://www.php.net/manual/en/reserved.variables.php#reserved.variables.get to. Regards John Original Message From: Alexander Ross Date: Sun 7/7/02

Re: [PHP] rand() function not working right

2003-08-31 Thread john
youre not the only one .. i just installed 4.3.3 and $x = rand(1,173); always returns 101 for $x i changed to mt_rand(1,173); and that always returns 142 ??? weirdness .. dont tell me this is happening to only me? - Original Message - From: <[EMAIL PROTECTED]> To: "php general list"

Re: [PHP] rand() function not working right

2003-08-31 Thread john
hope not ... winxp - Original Message - From: "Curt Zirzow" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, August 31, 2003 5:13 PM Subject: Re: [PHP] rand() function not working right > * Thus wrote john ([EMAIL PROTECTED]): > > youre not t

[PHP] Re: Add a leading zero

2003-09-24 Thread John
Take your result and use sprintf. $variable_fixed=sprintf("%06s",$variable); The above code with make $variable 6 digits long and fill all "empty" spaces with zeros. So if $variable=42, the $variable_fixed with be 42. Specifically, for your code below, I would say put an if statement after t

[PHP] Re: date problem

2003-09-24 Thread John
For me, on Windows, it won't work because Windows won't do anything prior to 1970. On linux, I get 17 as the result. If I change the year to 2000, then I get 08 on both. John "Shaun" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > Wh

[PHP] array_multisort ... unsupported in different builds?

2003-09-28 Thread john
would work fine on my machine and yet cease to function on another server of the same version? im completely at a loss and p***ed off. tia john

Re: [PHP] array_multisort ... unsupported in different builds?

2003-09-28 Thread john
September, 2003 2:17 AM Subject: Re: [PHP] array_multisort ... unsupported in different builds? > On Monday 29 September 2003 00:12, john wrote: > > > short version; > > array_multisort works on localhost but when i upload it, ceases to work > > (array is left unsorted) > > [

[PHP] Parsing a tab delimited log file

2003-10-29 Thread John
16mb log file takes like 10 minutes. If anyone could suggest a better way of doing this, that would be great. Also, below the PHP code, is an example of an Exchange tracking log (Which is tab delimited). Thanks in advance for the help. John Here is the code I'm using: "; ?> H

[PHP] Question about empty();

2003-11-18 Thread John
ou don't want to correct it then at least give a warning if the $var being tested is undefined!~ This is a function that does more than it should do, and in this case more is bad! C, Ya... John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Problem in the output of an array

2003-11-29 Thread john
something is very wrong with the way you are writing your script. Feel free to prove me wrong, though :) John Robert Cummings writes: On Sat, 2003-11-29 at 19:47, Robert Cummings wrote: On Sat, 2003-11-29 at 19:29, [EMAIL PROTECTED] wrote: > I'm soory but your code doesn't make

[PHP] Re: PHP, MySQL and datetime

2003-12-04 Thread John
Guess it matters on which one you want to do the date handling...php or MySQL. If it's PHP, I like epoch time, makes manipulating time and dates very simple (basic math). MySQL has its own timestamp format (the guy above me mentions it). Whichever you feel more comfortable with. John &

[PHP] Cannot send session cache limiter

2003-12-31 Thread john
Hi I'm new to the list, but I've been PHP programming for almost 2 years now, hard to believe. Anyway, I have a program that's giving me a "Cannot send session cache limiter", yet the very first thing the program does is session_start(); The only thing I can think that's different about this pro

[PHP] Cannot send session cache limiter

2003-12-31 Thread john
Hi (apologies if you've seen this, but I sent it and it both came back from the list server, and it bounced back as a failed email, so I'm going to try again) I'm new to the list, but I've been PHP programming for almost 2 years now, hard to believe. Anyway, I have a program that's giving me a "

RE: [PHP] Cannot send session cache limiter

2003-12-31 Thread john
> perhaps you could show some code snippets. Thanks Warren, at least I know my message is getting through :-) Well, I just got this: Warning: Cannot send session cookie - headers already sent by (output started at /home/sites/site191/web/test2/changeAlertDetails3.php4:1) in /home/sites/site191/w

[PHP] php files not looking right

2004-01-04 Thread John
hi, i must have downloaded my php files in binary format or something, but now, instead of readable carriage returns after each line of code, theres a 'box' and then no carriage return. so the whole file is on one line. then other files have an extra carriage return between lines. could i remove t

RE: [PHP] Cannot send session cache limiter SOLVED

2004-01-06 Thread john
>> from the code: >> >> > include 'navigationStart3.php4'; > > Are these indents in the code (changeAlertDetails3.php4 I think)? You > can't have anything before the , sorted, thanks everyone J -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/

[PHP] script/binary that tracks links through logs

2004-01-07 Thread John
does anyone know of a program/script that tracks incoming links from site that youve traded links with. but not a simple php script that requires the other site to link to www.mysite.com/links_in/12/ but some software that analyses apache access logs for the referer field. this would mean the other

[PHP] recompiling php

2004-01-18 Thread John
ive a problem with php and mysql, and was told to re-compile php. is this easy?? i got a box with rhl 9 pre-loaded, with php and mysql installed, but no apache. so i just downloaded the apache binary. php was installed with rpm i think. to recompile, do ive to uninstall php firs t(u can guess im us

[PHP] Strange PHP Reference behaviour with globals

2001-03-16 Thread John
Hello, Try the following code: "; } function ChangeGlobalRef() { global $gGlobal; $local = 99; $gGlobal = &$local; print "Ref:Global=$gGlobal"; } print "Global=$gGlobal"; ChangeGlobalValue(); print "Global=$gGlobal"; ChangeGlobalRef(); print "Global=$gGlobal"; ?> I get the following results:

Re: [PHP] Strange PHP Reference behaviour with globals

2001-03-16 Thread John
Thanks Yasuo, That might explain why $gGlobal is not permanently set to 99, but that doesn't explain why $gGlobal is set to 55 in ChangeGlobalValue() permanently. So are you or am I missing something? Bye, John ""Yasuo Ohgaki"" <[EMAIL PROTECTED]> wrote in

Re: [PHP] Strange Behaviour in non-reference globals?

2001-03-16 Thread John
e(); print $gGlobal; <=== THIS IS 55 NOW ?> == ""Yasuo Ohgaki"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > - Original Message - > From: "John" <[EMAIL PROTECT

[PHP] Newbie help please!

2002-05-15 Thread John
Hello, I am about 3 hrs old with php and have a very simple question. I have a test.html page that is just an href and I want to put the variables into php variables on the next page but I get an error. Could someone please correct my code or tell me what is wrong. We use IIS NT 4.0 MySQL

Re: [PHP] Newbie help please!

2002-05-15 Thread John
echo $username; > echo $password; > ?> > > -Original Message- > From: John [mailto:[EMAIL PROTECTED]] > Sent: Wed, 15 May 2002 16:46 > To: [EMAIL PROTECTED] > Subject: [PHP] Newbie help please! > > > Hello, > > I am about 3 hrs old with php and

[PHP] fsockopen and https

2001-10-25 Thread John
$result.=fgets($sgate,1024); } } fclose($sgate); This portion works perfect until I change the port to 443; Please if it is possible to do this without cURL I would appreciate the help. Thanks, -John- -- PHP General Mailing List (http://www.php.net/) To unsub

Re: [PHP] fsockopen and https

2001-10-27 Thread John
; > > if( stristr( $response, "200 OK" ) ) > { > header( "Location: https://a.secure.server.com"; ); > exit; > } > > ?> Excellent! This is exactly what I needed. I now have a class interfacing with my gateway and do not need cURL! Thanks a b

Re: [PHP] PHP with Win2k or Linux

2001-04-05 Thread John
Watch out for 1. file names are case sensitive on Unix. Even mysql table names are case-sensitive on Unix. 2. behaviour of environment/server variables is sometimes different. The plus side is PHP on Linux tends to be more reliable and more extensions work. Regards, John ""Frank K

Re: [PHP] Problems porting from MySQL Server to MSSQL7 Server

2001-04-05 Thread John
Hello Adrian, There are some concurrency issues with mssql if you are using mssql_pconnect. Try switching to mssql_connect. Also check to see if transactions are enabled in mssql. Your SQL insert syntax looks ok. Regards, John PS: for porting mysql to mssql, have a look at http

Re: [PHP] Crack extension

2001-04-05 Thread John
Hi AZ, Where can we get it, what does it do, and do we smoke it? Regards, John PS: Last is a joke, but I am sincerely curious -- what does it do? <[EMAIL PROTECTED]> wrote in message 9agj7e$7ba$[EMAIL PROTECTED]">news:9agj7e$7ba$[EMAIL PROTECTED]... > Anyone using the crack

[PHP] Zend IDE 1.10 and Debugger Mini-review

2001-04-09 Thread John
http://php.weblogs.com/zend_ide_debugger "But we didn't get the Zend IDE to do typing. We want to use it for the Debugger stuff. Now global and local variables are visible in the Variables tab. You can drill down into arrays and objects to look at their values." -- PHP General Mailing List (ht

Re: [PHP] Finer points of debugging: vardump vs. print_r

2001-04-09 Thread John
Hi Morgan, You tip is fantastic. Will post it (with your permission) at my weblog, http://php.weblogs.com/ tomorrow. Regards, John "Morgan Curley" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I generally include the following fu

[PHP] How to display a mirror image of a jpeg file

2004-08-06 Thread john
Hi Is it possible, in PHP, to display a mirror image of the stored file? I've looked through the GD library and it has rotate, but not reflect. I've Googled too but didn't find anything. I'm just trying not to have to store/save my images twice .. one for this way around, another for thatta way a

Re: [PHP] How to display a mirror image of a jpeg file

2004-08-06 Thread john
> Is it possible, in PHP, to display a mirror image of the stored file? A friend pointed me to the first comment here , so I may be sorted, thanks. J -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/

Re: [PHP] Destroying a Session

2004-08-25 Thread john
>> function clear_orderinfo() { >> global $_SESSION; >> unset($_SESSION["orderinfo"]); >> } >> >> However this function doesnt seem to work and the session remains >> active, is >> there another way to clear a session? I'm not triffically experienced, but I do have notes on the subject. You'r

Re: [PHP] Capturing an Image of a web page

2004-09-15 Thread john
> Has anyone run across a tool available to PHP that can render an image of > a > entire webpage from a URL, so that it can be reduced to a thumbnail and > stored in a database? I'm sure this has been discussed and solved on/in TheList (Evolte) but I've just searched the archive and not found it.

[PHP] advise on consulting fees

2007-03-02 Thread John
This may be deviating a bit from the intent of the list, and someone feel free to say so if the list shouldn't be used for this. My apologies in advance if that is the case. This is NOT a self-advertisement! My question is regarding the "going rate" for software development consulting - Cu

[PHP] user permissions

2009-08-27 Thread John
Hi, What is the best way to assign permissions to users? a) Each user has a list of permissions associated with that user or b) Each task/permission has a list of users that qualify or c) Have a table with a row for each user/permission combination Thanks! John

Re: [PHP] Re: SEO Experts?

2010-09-27 Thread john
> On 9/26/2010 8:09 AM, David Mehler wrote: >> Hello, >> Do we have any SEO experts on this list? I'm not one, learning only, >> reading a book and a few articles/tutorials from webmasters, and I'm >> wanting to optimize an existing site to get the best search rank >> possible. Some techniques, do

[PHP] Open source curiosity

2005-04-06 Thread john
Hi Just out of curiosity, if you write your PHP under an open source licence, how do you hide the codes to get into your database? J -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] MySQLi group

2005-05-02 Thread john
Caio, I have started a new group for those of us here that may run into issues specifically with MySQLi in PHP5. http://groups-beta.google.com/group/MySQLi Regards, John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Hello, I'm new...

2005-05-13 Thread john
> -- > jamwil.com Also, when I hit reply to James' reply, the "to" field in my email client was only sending to James, not to the list. How so? I've noticed that before. How can sometimes the responses go to the list, and other times to the person who sent the message? And isn't there a correct

Re: [PHP] Hello, I'm new...

2005-05-13 Thread john
>> I would like to create a 'community' website and was wondering if >> there >> was a framework available to get me started? Well now I don't even know what a framework is. I was expecting someone to say "Oh, you should use model view controller" or something. All the answers seem to be applicat

[PHP] Re: [thelist] SEO

2005-05-14 Thread john
> For example: > > mysite/sweaters/ > > (I think) is better than: > > mysite/index.php?section=1&content=23&style=5. It's more usable I guess. What handles that though? I'm finding it hard to organise the back end of that in my head. I don't think there's any way around that ending up looking for

RE: [PHP] Hello, I'm new...

2005-05-14 Thread john
> When I recently looked at > asp.net, Microsoft had a Community starter kit/framework which > included all > the basic modules/applications needed to get such a site up and > running and > detailed documentation about it's design and implementation. I've not looked at asp, but that sounds like a

Re: [PHP] Hello, I'm new...

2005-05-14 Thread john
>> PS. there it is again, hit reply and the 'to' address is the email >> sender, not the list. How so? > Is there a 'reply to all' button on your mail client. Some mailing > lists add a 'Reply-to' header asking all clients to redirect replys to > the list. PHP-general doesn't have such a feature. >

[PHP] $PHP_SELF problem

2004-04-20 Thread john
Hi $thisFileName = $PHP_SELF; works in a file just a few lines after the program start. $thisFileName = $PHP_SELF; doesn't work (echo ("Debug: self: $PHP_SELF"); returns Debug: self: ) if it's within function getNavigation() in the Navigation object called by another program. Why? The Navigatio

[PHP] A security thing or just sessions working?

2004-04-24 Thread john
Hi I had a problem with what my host called "a spate of insecure PHP applications being used to upload proxying applications" which I think has been solved, however I've just spotted this when trying to validate my HTML: The HTML validator wants the to be within the . Problem is, I didn't put

[PHP] A security thing or just sessions working?

2004-04-24 Thread john
Hi I had a problem with what my host called "a spate of insecure PHP applications being used to upload proxying applications" which I think has been solved, however I've just spotted this when trying to validate my HTML: The HTML validator wants the to be within the . Problem is, I didn't put

[PHP] A security thing or just sessions working?

2004-04-24 Thread john
Hi I had a problem with what my host called "a spate of insecure PHP applications being used to upload proxying applications" which I think has been solved, however I've just spotted this when trying to validate my HTML: The HTML validator wants the to be within the . Problem is, I didn't put

[PHP] thumbnails of images

2004-05-10 Thread John
is there any code or function out there that gives you a thumbnail of an image in the size and compression means you specify?? ive been looking, but found nothing, youd think thered be a function -- ** Free Nokia Ringtones US http://www.ring-tones.us ***

[PHP] Piping new email to a PHP file

2004-05-22 Thread John
Hi, I'm sorry if this has been asked many times before but how do I pipe new email to a file instead of to a mailbox? I tried adding an alias to a file, but it bounced and said 'Can't write output', then I tried to pipe it to a program (the php interpreter) like this "|php /home/php-script.php" and

[PHP] imagemagick

2004-06-07 Thread John
this might be a small bit o f f t o p i c but im trying to install imagemagick and running into a problem. im trying to crop JPEGs but imagemagick says it has no 'image decode' for that file type! upon closer inspection, it looks like youve to enable jpeg while configuring an install. but could any

Re: [PHP] .htaccess file

2004-07-05 Thread John
.htaccess file from PHP and modify it, but I always get > "access denied" error. Could you help me, with solving this problem? > Thank you. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > --

[PHP] passing sessions with header()

2007-06-19 Thread John
The php.net manual states: Session ID is not passed with Location header even if session.use_trans_sid is enabled. It must by passed manually using SID constant. How should the SID be passed manually? I'd like to keep the SID out of the uri, so is a POST variable the best way to handle

RE: [PHP] passing sessions with header()

2007-06-19 Thread John
> Just stick it on the end of the URL... I'd like to keep it out of the URL if possible... J > -Original Message- > From: Stut [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 19, 2007 1:45 PM > To: John > Cc: php-general@lists.php.net > Subject: Re: [PHP] pa

RE: [PHP] PHP Brain Teasers

2007-07-03 Thread John
My two bits... if (goose($its)) { $gander = $its; } -and- for ($things = 1; $things > 0; $things++) { for ($x = 0; $x < $things; $x++) { $they = "the same"; } } John > -Original Message- > From: Daniel Brown [mailto:[E

[PHP] extracting the file name from the referrer

2006-11-17 Thread John
I need to extract just the filename from the referring url, stripping it of the path and any post vars on the end. there's got to be an easier way than this eh? $referrer = trim(strrchr(substr($_SERVER['HTTP_REFERER'],0, strpos($_SERVER['HTTP_REFERER'],"?")), "/"), "/") Thanks! -JP

RE: [PHP] extracting the file name from the referrer

2006-11-17 Thread John
ed/processed is from the correct page - which was where the referring url came in. Any other suggestions or alternatives for c? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, November 17, 2006 5:41 PM To: John Subject: Re: [PHP] extracting the file

Re: [PHP] php mysql problem

2006-05-02 Thread John
add it as a separate table, like: board_papers -< rank * id * board_papers_fk <-- id from board_papers * rank_type (example: readability, technicality...) * rank_no (rank within the rank type) Then you can order the board_papers

Re: [PHP] php mysql problem

2006-05-02 Thread John
add it as a separate table, like: board_papers -< rank * id * board_papers_fk <-- id from board_papers * rank_type (example: readability, technicality...) * rank_no (rank within the rank type) Then you can order the board_papers

[PHP] Xml documents to html

2004-01-26 Thread John
Hi, How can I show xml files which have been created in MS Word, in a browser as ie Html. Is this posible and what would it take. Thanks John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Code help - file parse?

2004-01-30 Thread john
Looking for code help: When my php script inserts data into the database I'd like to parse an html page for a date and replace it with the current date. This way visitors to the main html page can see the last time the database was updated. I know I could re-write the html page using php but would

[PHP] Imagejpeg and image size question

2004-02-12 Thread John
it is when loaded trough the browser directly ? best regards John <-generate_jpg_picture.php starts---> <-generate_jpg_picture.php ends---> <-some_file.php starts---> PHP Test <-some_file.php ends---> -- PHP General Mailing List (h

[PHP] header(Location: question

2004-02-29 Thread John
when you use a command like this: header("Location: http://www.highbandwidhtmirror.com/videos/download.mpg";); Is the user downloading off the mirror site or is your server downloading from the mirror and passing on to the end user. I want to save bandwidth by having mirror urls of funny videos, s

[PHP] Very simple forms processing question

2004-03-08 Thread john
Hi I want to set up a mailing list on a site, and I want a very simple register/deregister facility. So a text field for the email address, then an [add] button and a [remove] button. Now, what I really want is for both [add] and [remove] to be 'submit' type HTML buttons for the same form, but at

Re: [PHP] array search

2005-01-23 Thread john
> I've been trying for days now to make this work. This worked for me (with my IP address for 'John'): "Mark", "63.230.76.166"=>"Bob", "84.196.101.86"=>"John", ); function _array_search ($viz_ip, $byte_ip

Re: [PHP] calling a php function

2002-11-26 Thread John Nichel
No, you can't. PHP is run on the server side. JavaScript is client side. Adrian Partenie wrote: Hello, Can I call a php function using forms in the same way as I do for a javascript function? (in the same page, not with php_self). . Thanks, Adrian -- By-Tor.com It's all ab

[PHP] Re: decimal places

2002-11-26 Thread John Herren
http://www.php.net/manual/en/function.number-format.php number_format() can also give you commas if you like. Bryan Koschmann - Gkt wrote: > Hello, > > Does anyone here have a good way to make sure dollar amounts are formatted > properly? I have something that returns data, but the problem is it

Re: [PHP] URL hiding

2002-11-26 Thread John Nichel
Have you index.php page as a frameset, and load all pages into the frameset. No matter where the user is on your site, they'll just see http://www.whatever.com Kris wrote: Hi When I pass variables to a new page in the address bare of the browser it looks like www.whatever.com/index.php?uName=

Re: [PHP] Detecting email bounces sent by the mail function?

2002-11-29 Thread John Nichel
To the best of my knowledge, there is no way to do this with the mail function. However, I check for bounces using Perl and a cron. I don't see why you couldn't use php to do the same thing though. Ade Smith wrote: Hello Is it possible to detect with PHP whether an email sent using the PHP 'm

Re: [PHP] First PHP

2002-11-29 Thread John Nichel
Maybe if you're lucky, "the father of PHP" will reply to you. :) heikkikk wrote: Hello! I would like to know, Who made the first step to start programming PHP? So who is the father of PHP. Can anyone give me a link to proof it? -- =|---+---|= Heikki Kniivilä [EMAIL PROTECTED] http://h

Re: [PHP] How do I run a command as root?

2002-12-02 Thread John Wards
On Monday 02 Dec 2002 10:47 am, Luke van Blerk wrote: > Hi > > I'm trying to find out how to run a command on the server as root. Does > anybody know how to do this? > su root password: your_root_password then run your command This is a php list not a *nix list John --

Re: Re[2]: [PHP] need advice on template engine

2002-12-03 Thread John Wards
marty it rocks.. John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] "x" as a multiplier

2002-12-03 Thread John Meyer
Code: $newwidth . "x" . $newheight What I want to get out is a string, like 89x115. All I am getting though, is one number, even though if I do this $newwidth . " x " . $newheight It prints out just fine. What is going on here? -- PHP General Mailing List (http://www.php.net/) To unsub

RE: [PHP] "x" as a multiplier

2002-12-03 Thread John Meyer
Exactly. But it's only giving me one of the numbers without the space between the numbers and the x. -Original Message- From: Adam Williams [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 03, 2002 3:48 PM To: Kevin Stone Cc: John Meyer; [EMAIL PROTECTED] Subject: Re: [PHP] &qu

[PHP] Re: Cold Fusion conversion issues: app vars and cached queries

2002-12-04 Thread John Lim
Hi Steve, "Steve W" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > My company is looking to move our site away from Cold Fusion due to > the cost. We had talked about JSP, but I would highly prefer PHP. > After evaluation, with the generic database functions n

Re: [PHP] Newline charactes causing problems

2002-12-05 Thread John Wards
On Thursday 05 Dec 2002 3:48 pm, Joshua E Minnie wrote: > A load of stuff.. I just read the fist few paragraphs and got bored;-) but Have you tried doing a str_replace for \n which is new line? just replate it with a blank string John -- PHP General Mailing List (h

Re: [PHP] Newline charactes causing problems

2002-12-05 Thread John Wards
On Thursday 05 Dec 2002 3:54 pm, Joshua E Minnie wrote: > Already tried that. Doesn't seem to change anything. > how about \r John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] # of lines in a file

2002-12-09 Thread John Nichel
You could try... $file = ( "/path/file.ext" ); $lines = sizeof ( $file ); [EMAIL PROTECTED] wrote: Hey guys, I've been searching the manual for a way to grab the number of lines in a file and read a particular line from it, however I found no solution to my problem so I'm wondering if any of y

Re: [PHP] Dynamic vs. Static

2002-12-09 Thread John Nichel
No. To get the binary executable, compile it without the apache switch. [EMAIL PROTECTED] wrote: When you compile php for apache using the dynamic module example used in the documentation, do you not get an exacutable php to use from the command line? Ed -- By-Tor.com It's all about the

Re: [PHP] Dynamic vs. Static

2002-12-09 Thread John Nichel
Yes you can. Just use clean source, but the config line can be the same less the "--with-apache" switch. [EMAIL PROTECTED] wrote: Can I do that using the same src I used to create the dynamic module and both would work hapilly together? Thanks, Ed On Mon, 9 Dec 2002, John Ni

Re: [PHP] Dynamic vs. Static

2002-12-09 Thread John Nichel
te the dynamic module and both would work hapilly together? Thanks, Ed On Mon, 9 Dec 2002, John Nichel wrote: No. To get the binary executable, compile it without the apache switch. [EMAIL PROTECTED] wrote: When you compile php for apache using the dynamic module example used in the documentat

Re: [PHP] Dynamic vs. Static

2002-12-09 Thread John Nichel
--with-pspell \ --with-iconv make make install --Shell Script-- Tariq Murtaza wrote: Hi John, Can we share your Perl script? I compiled with switch "--with-apxs=/usr/local/apache/bin/apxs" Is it that apache switch? Thanks Tariq John Nichel wrote: I went thru the same p

Re: [PHP] Out with the new, In with the old

2002-12-12 Thread John Nichel
You can prepend a file to your site by using a .htaccess file. Scott Houseman wrote: Hi Try and get them (your hosting company)to configure your site with a prepend file e.g. prepend.php for your domain. in this file, do something like: // // DECLARE ARRAYS // $_GET = array( ); $_POST = array

[PHP] Nigerian oil scams

2002-12-12 Thread John Meyer
php How did a Nigerian oil scam e-mail get on this list, anyway? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] how to send an MSWORD email?

2002-12-13 Thread John Wards
> > > 3.some other better methods. Have a look on pear.php.net for the mime mail class. It has things for attaching images and including them in an html email Cheers John Wards SportNetwork.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://ww

  1   2   3   4   5   6   7   8   9   10   >