[PHP] display all results

2002-12-19 Thread Simon
Hi, I have 6 records in mysql. How can i display all of them, but not using while. Do i have to use 6 queries. Results need to be hard formated, so that s the reason why i cant use while. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.

[PHP] update more "same" fields at the same time

2003-01-15 Thread Simon
Hi, I have table with six records in it. I can use "while" to display them all, but in form. Is there any way I can edit all six records, and update them all with one submit. TNX -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] update more "same" fields at the same time

2003-01-15 Thread Simon
"Chris Hayes" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > for [each $key, $value in $_POST] >{if (! strpos('field',$key)==false) >{ $key=explode('__',$key); > $ID=$key[1]; > mysql_query(UPDATE mytable SET WH

Re: [PHP] update more "same" fields at the same time

2003-01-15 Thread Simon
> What do you mean with "update more "same" fields at the same time"?Can > you give us an example? > > Gvre > now i want to change values of texfields and update them back to mysql. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.n

Re: [PHP] update more "same" fields at the same time

2003-01-15 Thread Simon
> If you want to update all the records that have subcat = $_GET[a] with > the same values then you can do somethink like this: > > $subcat = $_POST['a']; > $qsubcat = $_POST['subcat']; > > "update tables set > field1=$_POST['textfield'],field2='$_POST['textfield1']' where > subcat='$qsubcat'" > >

Re: [PHP] update more "same" fields at the same time

2003-01-15 Thread Simon
> with the same data or not? > not with the same data -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PhpMyADmin Help

2003-02-05 Thread Simon
Pushpinder Singh Garcha wrote: Hello , I am using PhpMyAdmin to control my MySQL Database. Untill now I had been using the Local Apache webserver to test my scripts, so I had installed PhpMyAdmin in the 'Sites' Folder of my Mac. Now I need to beta test the Application on the Live Server. Do I

[PHP] Re: Redirecting to PHP

2003-02-06 Thread Simon
Alberto Brea wrote: Dear list, My home page is index.html, that doesn't run PHP. I also have index.php which shows the same content with PHP. Can I do to automatically redirect a visitor from index.html to index.php? TIA Alberto maybe you should just delete index.html, and index.php will be you

[PHP] Re: mail question

2003-02-13 Thread Simon
Jonas Geiregat wrote: is it possible to do something like mail("[EMAIL PROTECTED]","subject","hello if($a){ return andreas; }"); or what would be the best solution for this ? i dont think that anybody understand this... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] list "a", list "b" ...etc

2003-02-21 Thread Simon
Hi, how can i sort names by first letter, like, show only names starting with a, then b, c .. etc tnx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP & Oracle

2003-03-03 Thread Simon
Hi, i have one big Oracle database, 20GB. Is it better to comunicate directly to Oracle with PHP, or to export data to MySQL. How secure is PHP & Oracle, can they communicate well? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] sdfs

2003-09-17 Thread Simon
sdfsdf -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] template problems

2003-09-17 Thread Simon
hi, I've got this problem when using templates on my localhost. The code works on my web server which i rent so the code is fine. I have ran php code for mysql functions and other for testing purposes. Below is the code i used in index.php. INDEX.PHP When i type say www.myrentedwebsite.com/

[PHP] template problems

2003-09-17 Thread Simon
hi, I've got this problem when using templates on my localhost. The code works on my web server which i rent so the code is fine. I have ran php code for mysql functions and other for testing purposes. Below is the code i used in index.php. INDEX.PHP When i type say www.myrentedwebsite.com/

[PHP] DOM XML difference between PHP versions 4.2.1 and 4.3.3

2003-10-24 Thread Simon
$portalroot->append_child($pagenodes_xml); The error is "Warning: append_child(): Can't append node, which is in a different document than the parent node". Simon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: problems with php-imap

2002-04-22 Thread simon
everal coredump I found the this happened when the php added or subtracted 2 large numbers together. After a bit more debug the FPU was broken on the CPU and it now runs with FPU emulation and is ok. Interesting that that was the only thing that tickled the FPU. So compile php in debug mode is

[PHP] PHP CLI vs WebServed

2009-04-25 Thread Simon
anks in advance for any suggestions! Simon -- When Earth was the only inhabited planet in the Galaxy, it was a primitive place, militarily speaking. The only weapon they had ever invented worth mentioning was a crude and inefficient nuclear-reaction bomb for which they had not even developed the

Re: [PHP] PHP CLI vs WebServed

2009-04-25 Thread Simon
Thanks for the reply Richard! > Never done this, but could you set environment variables, which would > then be picked up by PHP (and stuffed in $_ENV)? This seems like a good idea, if i mix this with the popen() idea, i wouldnt need /dev/shm or any files at all then... but the problem remains t

Re: [PHP] Re: Help with scandir()

2009-04-27 Thread Simon
with using scandir... Simon On Mon, Apr 27, 2009 at 4:55 AM, Jan G.B. wrote: > 2009/4/26 Nathan Rixham : >> Deivys Delgado Hernandez wrote: >>> >>> Hi, >>> I'm having problems when i try to use the function scandir()  in a Novell >>> Netware Vo

Re: [PHP] inexplicable behaviour

2009-04-27 Thread Simon
error message or whatever else). It's also possible the 'next' redirection isnt working because the value in $Count is invalid somehow? doesnt point to any page or something like that? Simon On Fri, Apr 24, 2009 at 8:14 PM, PJ wrote: > Frankly, I don't know what to look

Re: [PHP] Re: Unit Testing

2009-04-27 Thread Simon
; or section if possible and treat each of them as separate projects (testing would be done on a module once this one is ready). You may be interested in looking for information on the net on 'IT project management' which usually describe when is the best time to test according to a certain st

Re: [PHP] E-Mail Verification - Yes, I know....

2009-04-29 Thread Simon
lt in all servers anyway). There is no way to verify (without sending an email) if the email will be received in a mailbox. Simon On Tue, Apr 28, 2009 at 11:40 AM, Jay Blanchard wrote: > Our company wants to do e-mail verification and does not want to use the > requests / response method

Re: [PHP] Upload file name not file

2009-05-01 Thread Simon
> Id like to use the popup file system box( />) to choose a file name , but I only want to upload the filename , not the > file. Can I do that? You're not supposed to have any access to the remote visitor's computer, and the path to the file being uploaded could contain sensitive information (ie.

Re: [PHP] Upload file name not file

2009-05-01 Thread Simon
On Fri, May 1, 2009 at 9:34 AM, MikeP wrote: > I'm not trying to get the path, just the filename and size, I know how to > get these, but that would include the file using $_Files, but I dont want to > upload anything just use the filename and size.(without the path) to insert > into a DB. Those

Re: [PHP] Php and Imagemagick problems

2009-06-10 Thread Simon
What exactly is the problem or error message you get? Also if this is your script, really, it needs a LOT of cleanup!! Here's an example that could point out the problem: > $FileName = > str_replace(".jpg", "", $FileName); > > $FileName = > str_replace("/", "", $ImageName); > $Fil

Re: [PHP] C++, $_POST -> php-cgi

2009-06-10 Thread Simon
I'm working on something similar, here's the pseudo-code of what happens to ensure the PHP script run by my server doesnt see any difference than when it runs under apache or others... Say the php file to execute is "index.php" and it was called from a form post, the form tag also specified GET ar

Re: [PHP] URL injection

2009-06-10 Thread Simon
> https://www.xxx.co.uk/register.php";| grep "123" I wonder what kind of browser could make this, probably a hacker-made one! This URL will have to be translated into its equivalent URI, if using GET the HTTP message's start line would look like: GET /register.php"| grep "123" HTTP/1.1 First of

Re: [PHP] Re: Background Process

2009-06-10 Thread Simon
kranthi, you are wrong here. popen() will open a pipe to a process. You must have meant fopen() which doesnt work with pipes, but with files. you first popen php (ie execute it) you then write the code you want php to exec (php is still executing, reading your input) at the end you pclose php and

Re: [PHP] Using large multi dimenstional arrays in js

2009-06-23 Thread Simon
you could pack the array into a string and decode that later, using json prolly... Or, you could output the data to XML and load the xml file in an iframe, then browse through the iframe's DOM structure to get the values you need. On Wed, Jun 17, 2009 at 6:32 PM, Sancar Saran wrote: > Hello all,

[PHP] Could apc_fetch return a pointer to data in shared memory ?

2012-03-30 Thread Simon
Or: Why doesn't PHP have Applications variables like ASP.NET (and node.js) ? Hi, I'm working on optimising a php application (Drupal). The best optimisation I've found so far is to use APC to store various bits of Drupal data in RAM. The problem with this is that with Drupal requiring say 50Mb

Re: [PHP] Could apc_fetch return a pointer to data in shared memory ?

2012-04-01 Thread Simon
> > On 1 April 2012 13:52, Simon wrote: > >> >> >> On 31 March 2012 20:44, Stuart Dallas wrote: >> >>> On 31 Mar 2012, at 13:14, Simon wrote: >>> >>> > Thanks again Stuart. >>> > >>> > On 31 March 2012 12:5

Re: [PHP] Could apc_fetch return a pointer to data in shared memory ?

2012-04-02 Thread Simon
Thanks Simon. you got my hopes up there for a second. >From the php docs page: >Critics further argue that it is pointless to use a Singleton in a Shared Nothing Architecture like PHP where objects are unique >within the Request only anyways. I want the the singleton class to be glob

Re: [PHP] Could apc_fetch return a pointer to data in shared memory ?

2012-04-02 Thread Simon
Thanks Maciek On 2 April 2012 10:37, Maciek Sokolewicz wrote: > On 02-04-2012 10:12, Simon wrote: > >> Thanks Simon. you got my hopes up there for a second. >> >> From the php docs page: >> >> Critics further argue that it is pointless to use a Singleton in

Fwd: [PHP] Could apc_fetch return a pointer to data in shared memory ?

2012-04-02 Thread Simon
On 2 April 2012 14:27, Stuart Dallas wrote: > On 2 Apr 2012, at 14:12, Simon wrote: > > > Thanks Maciek > > > > On 2 April 2012 10:37, Maciek Sokolewicz >wrote: > > > >> On 02-04-2012 10:12, Simon wrote: > >> > >>> Thanks Simon. y

Re: [PHP] Could apc_fetch return a pointer to data in shared memory ?

2012-04-02 Thread Simon
On 2 April 2012 22:25, Stuart Dallas wrote: > On 2 Apr 2012, at 15:37, Simon wrote: > > > On 2 April 2012 14:27, Stuart Dallas wrote: > >> On 2 Apr 2012, at 14:12, Simon wrote: > >> > >> > Thanks Maciek > >> > > >> > On 2 April 2

Re: [PHP] c++ and php! search for a brigde

2007-08-28 Thread Simon
you can use sockets in php, they work the same as berkley sockets you can use system() in php, to call your C++ program (the program could output html) in my opinon CGI with C/C++ is obsolete, use php/apache for best results! another nice way is to have your C++ program independent, outputs its re

Re: [PHP] Create a matrix gallery

2007-09-04 Thread Simon
uot;"; if($m == ($MaxRows-1)){ echo ""; } } Have fun! Simon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] IF statement

2007-10-18 Thread Simon
ither be true or false. The magic with IF is in the logic that you write. Simon On 10/18/07, ron.php <[EMAIL PROTECTED]> wrote: > I just tried to send this to the list. I am not trying make it post again, I > don't think I had the e-mail address correct the first time. &

Re: [PHP] This, then that.

2007-10-18 Thread Simon
best would be to close the connection to the client as well, if that's possible, without terminating the script. This will prevent that browsers would display "Loading..." after the page is shown until your second script terminates. Simon On 10/19/07, Nathan Hawks <[EMAIL PRO

Re: [PHP] Strategy when working with designer(s)?

2007-07-23 Thread Simon
commend: 1) Designer does his whole job and shows the design when finished and approved 2) Integrator works on making the pages and html without func. 3) Programmer makes the whole thing work. This gives the best feeling to all people involved. All IMO! Simon On 7/23/07, Steve Finkelstein <[EM

Re: [PHP] Strategy when working with designer(s)?

2007-07-24 Thread Simon
project hierachy is biased by my ego? ;) Simon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Strategy when working with designer(s)?

2007-07-24 Thread Simon
would ask the programmer if this and that are possible, and ask for a time estimate. > Simon says "1) Designer does his whole job and shows the design when finished and > approved" Well in a dream world that would be nice but I've never seen it happen in more than 20 yea

Re: [PHP] Forwarding $_POST[]...

2007-08-09 Thread Simon
/password over and over. Simon On 8/9/07, Tony Di Croce <[EMAIL PROTECTED]> wrote: > I keep wanting to do something, and either I dont know how to do it, or I'm > doing something wrong and need to rethink things. > > Quite often, I have a form that submits to a php sc

[PHP] using declare .. ticks functionality

2002-11-26 Thread Simon Taylor
name or some sort of useful information and passing it to the registered tick function. Thanks for any help Cheers _ Simon Taylor AfriTol (Pty) Ltd. [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Upgrading PHP windows binaries

2002-11-27 Thread Simon Dedeyne
l my Apache and Mysql? Is it just copying the Files from the Win PHP 4.3 ORC1 to my current php directory, and then altering the php.ini file or are there other files (such as httpd.conf) that should be reconfigured? If so, which files? Thanks! Simon -- PHP General Mailing List (http://www.php.net/)

[PHP] Text repeating problem

2002-12-30 Thread Simon Hay
would imagine that if the same thing happened to binaries as does to text it might have an effect like this... Anyone seen this before? Any suggestions/things to try? It's driving me mad... Thanks very much, Simon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Split that keeps delimiter

2003-01-03 Thread Simon Dedeyne
Is there a way to split a string without using something like this: $keywords=preg_split("/[?!.]/", "this ! Is a possible test",PREG_SPLIT_DELIM_CAPTURE); My php version doesn't seem to support the flags, and I want to know which delimiter the string was splitted by.

[PHP] PHP 4.3.0 and multibytestrings?

2003-01-08 Thread Simon Dedeyne
I got a simple question. What do you have to do when you want to use multibytestring functions under PHP 4.3.0 assuming you're using the windows binaries and you're running on XP? Is it standard or do you have to adjust some things? Cheers, Simon -- PHP General Mailing

[PHP] Mysql/php database performance question

2003-01-10 Thread Simon Dedeyne
big varchar column (size 5x50) and PHP parsing them by comma after fetching or - keeping those 5 columns with a lot of empty cells in the last columns? Thanks, Simon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Mysql/php database performance question

2003-01-10 Thread Simon Dedeyne
mulate the question: which is better 5 varchar columns of size 50 or 1 varchar column of size 250 (regardless of parsing). Thanks, Simon --- the thing that may make difference in performance (as i think) is whether you make it a fixed -CHAR- or a variable -VARCHAR- it's preferable that you mak

[PHP] serious problem with mbstring functions

2003-01-21 Thread Simon Dedeyne
assume it must something related to the word itself interacting with the mbfunctions I'm using PHP 4.3.0. Thanks a lot! Simon Maybe this little file helps to see what i'm talking about: Copy & paste away coding-problem "; } return $result;

[PHP] ? in URLS.

2003-01-22 Thread Simon Angell
only brought up with what comes after the ? in the URL. now i figure it has something to do with the ? in the URL but i can't seem to fix it myself. Thanks -- Cheers - Simon Angell Canberra, ACT www.canberra-wx.com - Pr

Re: [PHP] ? in URLS.

2003-01-23 Thread Simon Angell
.au/yourHomePage.jsp?ref=f2eeb571ed' ) ); if( ($fp = fopen( 'wztest.txt', 'wb+' )) !== false ) { fputs( $fp, $rContents ); fclose( $fp ); } ?> -- Cheers - Simon Angell Canberra, ACT www.canberra-wx.com

[PHP] PDF generation & asian languages

2003-02-26 Thread Simon Dedeyne
.3.0) Any pointers, example scripts or references would be greatly appreciated, Simon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] serial interface

2003-03-07 Thread Simon Bauer
Hello! I have problems if i want to communicate with my serial interface. someone told me to try with the COM functions, but i didn't find any examples in the internet. i hope someone can help me! thanks simon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Long script execution and its implications?

2003-03-12 Thread Simon Lusted
screen for 8 minutes (i'm basically trying to crunch data for later reporting) Any info, direction to documentation welcome (i did look but as a beginner I find its hard to know where to start.) Thanks Simon For the latest data on the economy and society consult National Statistics at htt

[PHP] Using PHP to stream to Shoutcastserver

2003-07-08 Thread Simon Fredriksson
I want this to be a cross platform thing. I've been looking a bit at Java and C++ but so far I'm not very good with these languages. Any thougts/comments about this would be nice if you shared. //Simon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] String conversion function

2003-07-09 Thread Simon Fredriksson
I'm wondering if there's any easy way to convert special chars to the numerical version of it. Like space converts to %20 and slash (/) to %2F. //Simon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: shoutcast communication

2003-07-10 Thread Simon Fredriksson
Hello! I have a PHP class here that can fetch that information for you from the XML sheet provided by the server. I'll send it to you if you want, I forgot where I downloaded it (you could check www.hotscripts.com though). //Simon Ben Paul wrote: Hello, I am currently streaming via shou

Re: [PHP] Couple of questions form a PHP newbie

2003-07-11 Thread Simon Fredriksson
If that's the case I recommend using multiple files instead of one big. Just come up with some structure for them. I'd say 10-20MB text is pretty much. //Simon Jason Giangrande wrote: Thanks for your help guys. The checkboxes thing is working great. Michael, regarding using files

[PHP] Re: fread() question

2003-07-11 Thread Simon Fredriksson
e2.php.net/manual/en/function.fgets.php //Simon Seairth Jacobs wrote: I have an open socket that I am reading from. The code looks like the following: $contentLength = 0 + $this->response['headers']['content-length']; do{ $status = socket_get_status($this->socket);

[PHP] Re: connecting to access database

2003-07-12 Thread Simon Fredriksson
If you're using a windows platform, an easy way out is using ODBC. Besides that there are a few classes out there, but I've not found any that were good enough, or they were commercial. //Simon Pehepe Php wrote: How can we connect microsoft access database(*.mdb) or excel(*.xls)

Re: [PHP] Need PHP on Win2000 Pro

2003-07-13 Thread Simon Fredriksson
When I make console scripts for *nix in PHP I have the shebang line and after that #!/usr/bin/php -q Is PHP as powerful as perl on the console area yet? //Simon John A. Thomason wrote: Thanks for your help. Also, I checked out your tutorial and Apache and PHP. I have Apache installed, and I

[PHP] Mp3 Conversion, using PHP

2003-07-14 Thread Simon Fredriksson
I'm wondering if there's any crazy dude out there that would like to join me in making a class for PHP to convert Mp3's to Mp3Pro. Even better would be if it could take other formats aswell, but mainly MP3 to MP3Pro. There are a few reasons why I want it in PHP. One is that PHP is cross-platfor

[PHP] Re: socket programming

2003-07-15 Thread Simon Fredriksson
sites with ONLY php and without webserver? Or do you mean using PHP for something else then web, to make it listen for incomming connections? If the second, you might want to look here: http://se.php.net/manual/en/ref.sockets.php Maybe that helps. //Simon -- PHP General Mailing List

Re: [PHP] Re: classes v. functions

2003-07-19 Thread Simon Fredriksson
hen - do what you feel is the best thing for you to use and understand. This might not have helped you at all, it's just my story. //Simon Ryan A wrote: Hi, I myself never really create classes to use in my projects, if I ever use classes its only because they come from someone else (eg phpc

[PHP] Sending POST-data

2003-07-25 Thread Simon Fredriksson
om/query=$query";); So, does anyone have any good solution to this problem? //Simon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Rewrite and tags.

2003-07-25 Thread Simon Fredriksson
How can I easiest rewrite A and IMG tags? I'm fetching a page with fsockopen() and I need to rewrite these tags before sending it on to a user. My own theory is that it's made with Regular Expressions. I just don't know these myself. Thanks. //Laban -- PHP General Mailing List (http://www.php

[PHP] Re: How is this possible?

2003-07-28 Thread Simon Fredriksson
Ryan A wrote: Hi, I am trying to get my data into a very similar layout as this: http://hostfilter.com/ComparePlan.asp?IntVal1=389&IntVal2=546&IntVal3=605 see the table with the plans...how is he getting that in one table? what kind of logic is that? the best I can do is for each column I have to u

[PHP] Re: How is this possible?

2003-07-28 Thread Simon Fredriksson
Just solved your problem and made a better solution for my previous answer. The code is available at http://mirror27.sytes.net/~webhost/ //Simon Ryan A wrote: Hi, I am trying to get my data into a very similar layout as this: http://hostfilter.com/ComparePlan.asp?IntVal1=389&IntVal2=546&

[PHP] Re: connecting access (*.mdb) database with PHP

2003-08-03 Thread Simon Fredriksson
Unless you can find some Access-Class I think ODBC is the way to go. No idea how you can solve it if you're using a *nix server though. //Simon Pehepe Php wrote: how can I connect access database(*.mdb) with php? what is the code? I will be happy if you write php code. Than

Re: [PHP] [PROBLEM] Killed sshd, want to start it via PHP script.

2003-08-11 Thread Simon Fredriksson
Yeah, but as it is, I can't start those things :P I must be root to do so. Apache is not running as root. //Simon Jason Wong wrote: > On Monday 11 August 2003 13:01, Simon Fredriksson wrote: > > >>Anyway; I want to make some sort of PHP backdoor to start sshd again. As &

[PHP] [PROBLEM] Killed sshd, want to start it via PHP script.

2003-08-14 Thread Simon Fredriksson
x27;d appriciate your help. //Simon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] MSN Explorer & PHP Sessions failing

2003-08-14 Thread Lindsey Simon
Unfortunately, I've been unable to duplicate this problem on my own machine with MSN 8 (win2k), but I have users of my software who use the MSN explorer browser complaining at me. It appears that sessions are not being properly initialized, because my PHP software is failling at a point where it sh

Re: [PHP] [PROBLEM] Killed sshd, want to start it via PHP script.

2003-08-14 Thread Simon Fredriksson
w you can kill ssh. I ssh to my computer 24/7 and never have I killed it. I changed some settings and used "killall -HUP sshd" like I've done many times before. Sure the session is killed, but I've been able to connect it again... just not this time. //Simon -- PHP G

Re: [PHP] Not fair: REMOTE_HOST

2003-08-21 Thread Simon Fredriksson
It does exist, if the server is set to resolve automatily. From PHP docs: Your web server must be configured to create this variable. For example in Apache you'll need HostnameLookups On inside httpd.conf for it to exist. //Simon John Taylor-Johnston wrote: Aw gee, $_SERVER['R

[PHP] FTP hosting PHP releases?

2003-08-26 Thread Simon Fredriksson
quot;wget http://www.php.net/get/php-4.3.3.tar.bz2/from/se.php.net/mirror"; doesn't really work. So, is there any FTP (or webserver that work with WGET) that I can fetch those from? //Simon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php-cli stopping on exit.

2003-08-26 Thread Simon Fredriksson
#x27;t return to the commandprompt. System: WinXP Pro. //Simon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Simon Lusted/MCSD/SSSG/LONDON/ONS is out of the office.

2003-03-21 Thread Simon Lusted
I will be out of the office starting 21/03/2003 and will not return until 14/04/2003. I will respond to your message when I return. For the latest data on the economy and society consult National Statistics at http://www.statistics.gov.uk *

[PHP] Where to start?

2003-06-05 Thread Simon Thurtle
that anyone knows? I am plannig to develop an E-comm solution us Oscommerce, does anyone know if this is any good or is naff? Any hints, tips or pointers would be greatly appreciated. Thanks, Simon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] How easy is this idea?

2003-06-06 Thread Simon Thurtle
OK, now I have I have been convinced that PHP is the best thing since cheese burgers, I have a question... How easy is it to... Have a set of 6 HTML drop downs each with texted based info that when selections are made generate a dynamic on screen price? So in english, drop down one could be vehic

[PHP] IP atlas alternatives anyone?

2003-06-04 Thread Simon Dedeyne
to work for me, but still has bugs & hasn't been updated since long. Any alternatives? thanks Simon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] A Question with heredoc

2003-06-08 Thread Simon Coggins
m not on the list so please reply to me directly. Regards Simon -- Simon Coggins (SAGE-AU Member)Email: [EMAIL PROTECTED] Network and System Management Officer Phone: +61-2-4221-3775 Information Technology Systems (ITS) Mobile: 0408 115861 University of Wollongo

[PHP] Need a safe way to get user supplied data into a varaible.

2003-06-08 Thread Simon Coggins
Hi, After lots of looking I've worked out I can't use heredoc for what I want. Does anyone else have any better ideas on how to do this: I have a template file that is used to generate a html page. in this template I currently have: $body = <

[PHP] This is NOT the right place to ask this but I am desperate

2003-06-09 Thread Simon Thurtle
mple thing around here is me!! All thought or comments welcome. Thanks, Simon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Forms

2003-06-30 Thread Simon Chappell
yes method="post"> Type in database name > Type in SQL query Any ideas would be greatly appreciated as I am floundering badly! Simon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] probelm : delete files using PHP

2002-07-24 Thread Simon Ritchie
ou need to be able to log in as the user root. Simon Download my introduction to PHP for $25: http://merrowinternet.com/downloads?source=ml -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] need help reg. User Accounts

2002-07-30 Thread Simon Ritchie
issue commands as the user running it, the potential damage is limited to what that user can do, which is not much. Simon Ritchie Download my introduction to PHP for $25: http://merrowinternet.com/downloads?source=ml -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Page title changes when call functions!!

2002-08-01 Thread Simon Ritchie
ery top of your browser window, not in the address line. Simon Ritchie Download my introduction to PHP for $25: http://merrowinternet.com/downloads?source=ml -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] include()

2002-08-01 Thread Simon Ritchie
pache for each site, each running under a different user, and they would need to run on separate ports, which is a nuisance. Simon Ritchie Download my introduction to PHP for $25: http://merrowinternet.com/downloads?source=ml -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] include()

2002-08-01 Thread Simon Ritchie
is to write your open function to check for this. Simon Ritchie Download my introduction to PHP for $25: http://merrowinternet.com/downloads?source=ml -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] calculating psysical path (a first try)

2002-08-01 Thread Simon Ritchie
ript name as long as it appears at the end of the string. The second argument is the replacement string (nothing), the third is the string to search. I cover regular expression pattern matching in my introduction to PHP (see below). However, the root directory is an Apache variable and these

RE: [PHP] sort results into two columns

2002-08-01 Thread Simon Ritchie
estion, you either want to use a SELECT query with an ORDER BY clause or you want to output the result within HTML table tags. Simon Ritchie Download my introduction to PHP for $25: http://merrowinternet.com/downloads?source=ml -- PHP General Mailing List (http://www.php.net/) To unsubs

RE: [PHP] exec / mkdir question

2002-08-12 Thread Simon Ritchie
to connect to the server) must own the directory The worst case is when your user and the web server user are not in the same group. In that case, you will need to grant write access to all users. This introduces potential security risks - any user can also remove or rename files in that di

Re: [PHP] can you get the name of an object from within it's own class?

2002-09-17 Thread Simon McKenna
Yeah, my brain is broke enough already, i'll just give the class an optional 'name' property. Thanks all! "Will Steffen" <[EMAIL PROTECTED]> wrote in message 003101c25e34$2a049950$8000a8c0@william">news:003101c25e34$2a049950$8000a8c0@william... > Hehe why break your brain- give the class an id

[PHP] Need some help please.

2002-09-18 Thread Simon Angell
would be great. Cheers - Simon Angell Canberra ACT www.canberra-wx.com - Member of: Australian Severe Weather Association. www.severeweather.a

[PHP] Re: Need some help please.

2002-09-18 Thread Simon Angell
uot;description"][$counter], "fine")){ $place_array["image"][$counter] = "fine"; $place_array["alt_tag"][$counter] = "Fine"; } else { $place_array["image"][$counter] = "unknown"; $place_array["alt_tag"][$c

[PHP] Re: Need some help please.

2002-09-18 Thread Simon Angell
that i want to use. -- Cheers - Simon Angell Canberra ACT www.canberra-wx.com - Member of: Australian Severe Weather Association. www.severeweather.asn.au - This email

Re: [PHP] Need some help please.

2002-09-18 Thread Simon Angell
Thats a Nice feaure you have, How do you do that? I have spoken to guy who made the php file and he will look into the bugs for me, also i will keep playing around with it. -- Cheers - Simon Angell Canberra ACT www.canberra-wx.com

Re: [PHP] Need some help please.

2002-09-19 Thread Simon Angell
With my limited knowledge (i.e none, lol) i was wondering if you are able to give me the code you use to do it. i will then play around with it t get Canberra, is that ok? doesn't matter if not. -- Cheers - Simon Angell Canberr

  1   2   3   4   5   6   >