[PHP] Re: SimpleXML and xpath woes

2005-03-17 Thread Simon Turvey
, Simon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Seleting records

2005-03-16 Thread Simon Allison
of an algorithm that would work, but I have had no luck yet? Thanks, Simon

[PHP] Reading posted form variables

2005-03-15 Thread Simon Allison
. I would be most grateful if anyone could help me. Cheers, Simon

[PHP] PHP Frameworks

2005-03-13 Thread Simon Reye
I'm moving away from Cold Fusion and am considering java or php. I've mucked around with Struts and Coccoon on the java side and think they are great. There does not however seem to be any well backed projects similar to these for php. Can anyone point me to a good php MVC framework? -- PHP

Re: [PHP] PHP Frameworks

2005-03-13 Thread Simon Reye
Jeffery Fernandez wrote: Simon Reye wrote: I'm moving away from Cold Fusion and am considering java or php. I've mucked around with Struts and Coccoon on the java side and think they are great. There does not however seem to be any well backed projects similar to these for php. Can anyone

[PHP] Re: [PHP-DB] Do You Need addslashes() When Using Bind Variables

2004-11-10 Thread Simon Rees
Hi Francis No. Thats one of the great things about bind variables. cheers Simon On Wednesday 10 November 2004 05:45, Francis Chang wrote: Hi, I'm using the Oracle database though I think this question is generic to all databases. If you're using bind variables and preparing the SQL

[PHP] Downloadcounter

2004-10-03 Thread Simon Fredriksson
that some files can be several gigs big. Will this be a problem? //Simon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Slow upload

2004-09-05 Thread Simon Rigét
Dos anyone know how to solve the problem of very slow file upload? I think its a common problem, but I can't find a solution anyware. (Upload 10 - 20 times slower then download, even on intranet) php V 4.3.1 /Free BDS 4.8 Simon Rigt -- PHP General Mailing List (http://www.php.net

Re: [PHP] Slow upload

2004-09-05 Thread Simon Rigét
a buffer og a buffer size or somthing...?? Any idears?? /Simon Rigt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Importing Excel data using PHP

2004-07-20 Thread Simon Fredriksson
You could use ODBC to do it. //Simon C.F. Scheidecker Antunes wrote: Hello all, I need to have some excel capabilities for an automated script. Excel can save files in CSV which are very easy to read and parse with PHP as they are nothing more than text files. Pear has a module called

[PHP] Won't get $_SERVER['PHP_AUTH_USER']

2004-07-20 Thread Simon Fredriksson
called from this: header(WWW-Authenticate: Basic realm=\My Site\); //Simon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Threading under win32

2004-06-18 Thread Simon Fredriksson
anyways. Ideas? //Simon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Detect if a file is hidden or not (win32)

2004-05-21 Thread Simon Fredriksson
Is there any built-in function to find out if a file/directory is hidden in Win32? //Simon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] regular expression

2004-04-07 Thread Simon Hayward
preg_match(/To: ([^]+)?([^]+)??/i,$string,$matches); returns email in $matches[1] in the first instance and name in $matches[1] and email in $matches[2] in the second. -Original Message- From: Robert Kornfeld [mailto:[EMAIL PROTECTED] Sent: 07 April 2004 09:32 To: [EMAIL PROTECTED]

[PHP] Fetching apache directoryoptions

2004-03-13 Thread Simon Fredriksson
I wonder if it's possible to get the options (such as Indexes) for a directory via PHP. Any clue? //Simon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Updating content on the line. (cli)

2004-03-03 Thread Simon Fredriksson
that changes from - to \, |, /, and so on (looks like a rotating line). Ideas? //Simon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Updating content on the line. (cli)

2004-03-03 Thread Simon Fredriksson
Yes, that's one way. It's currently in development for Win32, but it would be nice if it works on *nix later on aswell. Got a tip from a user in a chatroom to use Ncurses for it, but then I can't use it on win32. Just to correct myself; it's chr(8) and not 7. //Simon Adam Voigt wrote: I'm

Re: [PHP] Finding out the local path to a file.

2004-02-24 Thread Simon Fredriksson
that is of any use to get the folder is $_SERVER['REQUEST_URI'], but it doesn't reveal the local path that I want. Any ideas on how to solve it? //Simon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Finding out the local path to a file.

2004-02-24 Thread Simon Fredriksson
? //Simon Michal Migurski wrote: If you're running PHP as an Apache module, this may solve it: http://php.net/apache_lookup_uri Neat - I learn something new everyday! - michal migurski- contact info and pgp key: sf/cahttp

[PHP] Finding out the local path to a file.

2004-02-23 Thread Simon Fredriksson
no other indexfile in the folder. But how can I let it know which folder to work in? Let's say that it gets example.com/~simon/files/ as URL. All the local variables I've seen by using phpinfo() point to the location of the file, not the folder I'm requesting. Any ideas? //Simon -- PHP

[PHP] Padding the decimals

2004-02-22 Thread Simon Fredriksson
Is there any functions to pad the decimals in a number? There's round() to put it down to two decimals, but what if I want to take it up to two? Example: 5 - 5.00 20 - 20.00 4.3 - 4.30 etc. //Simon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Possible to write CRC/MD5 to the file?

2004-02-22 Thread Simon Fredriksson
usefull when distributing scripts. No worries about losing the md5-file or sfv, etc. Just some thoughts. //Simon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] [GD] Circlediagram

2004-01-16 Thread Simon Fredriksson
Does anyone out there have any idea on how to create circlediagrams, using GD? Preferably something to set that x% of the circle is filled with one color and the rest with some other. Thinking about it, doesn't sound like an easy task with the current functions. :-\ //Simon -- PHP General

[PHP] imagettfbbox returning screwy values

2003-11-18 Thread Simon Detheridge
[5] = 1076625940 [6] = -1073777064 [7] = 1075882071 ) Has anyone seen something like this before? Suggestions? It's not a dodgy font. Switching fonts makes the numbers change but only slightly. For reference, my phpinfo is here: http://www.sympages.com/info.php Help! Thanks, Simon -- PHP

RE: [PHP] How to remove new line character?

2003-11-02 Thread Simon Stiefel
Hi, try it with the 'chop()'-function. Note, that this also removes any other whitespace-characters like tabulators and spaces. HTH, Simon -Original Message- From: Shu Hung Yeung [mailto:[EMAIL PROTECTED] Sent: Sunday, November 02, 2003 5:14 PM To: [EMAIL PROTECTED] Subject

RE: [PHP] How to remove new line character?

2003-11-02 Thread Simon Stiefel
Sorry, one correction: the 'chop()'-function only removes the whitespaces an the END of the string. But if you want to remove the newline (and only this) at the end of the string try this: $new_string = preg_replace(/\n$/, , $old_string); HTH, Simon -Original Message- From

RE: [PHP] PHP and Apace setup

2003-11-02 Thread Simon Stiefel
Hi, can you give us some lines from your error_log-file? Usually found in /var/log/apache[2]/. Thanks, Simon -Original Message- From: Teren [mailto:[EMAIL PROTECTED] Sent: Sunday, November 02, 2003 8:43 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP and Apace setup Hi, I just

[PHP] Syntraxhighlighting for Java

2003-11-01 Thread Simon Fredriksson
I'd like to know if any of you out there know where I can find a highlight_file() sort of function, but for Java-files. Would be very helpfull in my shared development. //Simon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How to deal with XML?

2003-10-27 Thread Simon Fredriksson
I think I've missed something somewhere, but how do I use XML? Everywhere, there are big hypes about XML. I could proably google quite a bit on this, but could someone give me a hint on how to use it in, say datahandling? Or to parse a website (like the php docs). //Simon -- PHP General

[PHP] Parsing colorcodes

2003-10-26 Thread Simon Fredriksson
) commes up. Also, the colorparsing ends at the end of line. Please help me on this issue. //Simon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2003-10-24 Thread Simon
); 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: PHP3 files compatibilty with PHP4

2003-10-22 Thread Tian, Simon (Contractor) (DSCP)
yellow pages then click a profession like acupuncture ( radio button ) and chose a state say carlifornia then click the show list button then you will find what is wrong, any suggestion ? let me know Thanks for your help in advance simon -- PHP General Mailing List (http://www.php.net

[PHP] RE: Re: PHP3 files compatibilty with PHP4

2003-10-22 Thread Tian, Simon (Contractor) (DSCP)
Hi all, i am also looking a person to maintain my website findhealer.com with a monthly payment thanks simon -Original Message- From: Tian, Simon (Contractor) (DSCP) Sent: Wednesday, October 22, 2003 2:22 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: '[EMAIL PROTECTED]' Subject: Re

[PHP] Re: fileowner function and Windows OS

2003-09-22 Thread Simon Thurtle
I use WINSyntax married with Dreamweaver MX. WINsyntax is free and superb I recommend that you have a quick look at before you look any where else! ermelir [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello list, I try to use fileower function on php 4.3.2 + Apache 2.047+ Xp pro

[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 ?php switch ($page) { default : include

[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 ?php switch ($page) { default : include

Re: [PHP] Using PHP to generate Acrobat PDF...

2003-09-12 Thread Simon Stiefel
perfectly! Thanks... HTH, Simon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Animating with GD?

2003-08-27 Thread Simon Fredriksson
Is it possible to create GIF animations using GD? //Simon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] FTP hosting PHP releases?

2003-08-26 Thread Simon Fredriksson
://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
to the commandprompt. System: WinXP Pro. //Simon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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['REMOTE_HOST

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

2003-08-14 Thread Simon Fredriksson
. //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

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

2003-08-14 Thread Simon Fredriksson
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 General Mailing List (http

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 far as I know, only root

[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. Thank you

[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=389IntVal2=546IntVal3=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

[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=389IntVal2=546IntVal3

[PHP] Sending POST-data

2003-07-25 Thread Simon Fredriksson
, 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 img and a 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

Re: [PHP] Re: classes v. functions

2003-07-19 Thread Simon Fredriksson
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 phpclasses.org), I find using the non OO approach much

[PHP] Re: socket programming

2003-07-15 Thread Simon Fredriksson
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 (http

[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

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 ?php #!/usr/bin/php -q ?php ... ? 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

[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) with php

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 instead

[PHP] Re: fread() question

2003-07-11 Thread Simon Fredriksson
/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); if( $status['eof'] == 1 ) { if( $this-clientOptions

[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 shoutcast

[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] Using PHP to stream to Shoutcastserver

2003-07-08 Thread Simon Fredriksson
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] Forms

2003-06-30 Thread Simon Chappell
colspan=2 align=centerinput type=submit value=Submit Query/td /tr /table /form /body /html 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

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

2003-06-09 Thread Simon Thurtle
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] A Question with heredoc

2003-06-08 Thread Simon Coggins
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 Wollongong, 2522, Australia Fax: +61

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

2003-06-08 Thread Simon Coggins
way of putting a block of text into a variable without having to read it in from a file. From the template point of view, all that happends is a token is replaced with the body of the text. So reading that in from a file is hard. Thanks -- Simon Coggins (SAGE-AU Member)Email

[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

[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] IP atlas alternatives anyone?

2003-06-04 Thread Simon Dedeyne
, 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] 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] regex problem

2003-03-13 Thread Simon De Deyne
do it all just with preg_match or should i construct the combinations with some additional code? thanks; Simon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Long script execution and its implications?

2003-03-12 Thread Simon Lusted
(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 http://www.statistics.gov.uk

[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: http

[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] PDF generation asian languages

2003-02-26 Thread Simon Dedeyne
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] 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] 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] 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

[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

Re: [PHP] ? in URLS.

2003-01-23 Thread Simon Angell
( 'http://www.weatherzone.com.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] ? in URLS.

2003-01-22 Thread Simon Angell
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 - Proud member

[PHP] serious problem with mbstring functions

2003-01-21 Thread Simon Dedeyne
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 html head meta http-equiv=Content-Type content=Text/Html; Charset=UTF-8 titlecoding-problem/title

[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 WHERE

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 form name=form1 method=post action= ? $query1 = SELECT * FROM table where subcat = $_GET[a]; $result1 = mysql_query($query1); while($row = mysql_fetch_object($result1)) { ? p input

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' I don 't

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] Mysql/php database performance question

2003-01-10 Thread Simon Dedeyne
in a 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
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 make separate char

[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 List (http

[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. Kind regards, Simon De Deyne

[PHP] Text repeating problem

2002-12-30 Thread Simon Hay
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] 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:

[PHP] Upgrading PHP windows binaries

2002-11-27 Thread Simon Dedeyne
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/) To unsubscribe

[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] Looking for compiled Windows PHP installation with multistring fts support

2002-11-19 Thread Simon Dedeyne
Hi, Does anybody know where to find a pre-compiled Windows (XP) version of PHP that includes multistring functions? I checked phpdev on firegpages and other sites that usually hold these installations but their versions don't support those multistrings yet. Any help/links are appreciated! Simon

RE: [PHP] PHP Script to remove attachments from emails and store them on the server

2002-11-18 Thread Simon Chilmaid
to remove attachments from emails and store them on the server On Monday 18 November 2002 07:34, Simon Chilmaid wrote: Hi all I have a script that is currently running on my server which intercepts messages being sent into a specific address, it is piped to this through an alias in the aliases

RE: [PHP] PHP Script to remove attachments from emails and store them on the server

2002-11-18 Thread Simon Chilmaid
] PHP Script to remove attachments from emails and store them on the server On Tuesday 19 November 2002 03:54, Simon Chilmaid wrote: Thanks for your help Jason, have you got any examples that you might be able to send me on how you have used reformime to decode email messages Basically if you want

[PHP] PHP Script to remove attachments from emails and store them on the server

2002-11-17 Thread Simon Chilmaid
email message and secondly if any are detected how can these be saved to disk locally on the server that this is running on Thanks Simon

[PHP] php development environment

2002-10-31 Thread Simon Taylor
of thing.. At the moment I use homesite which is pretty cool and makes all me lines come out in pretty colours, but I am getting frustrated as things are growing.. Thanks.. _ Simon Taylor AfriTol (Pty) Ltd. -- PHP General Mailing List (http://www.php.net

[PHP] regular expressions question

2002-10-30 Thread Simon Dedeyne
could use some ideas, cheers, Simon

<    1   2   3   4   5   6   >