Re: [PHP] problem with the session and global variable

2005-09-02 Thread Gustav Wiberg
Hi there! I don't quite understand what you're trying to do here. Please send more code, then I might be able to help you... :-) /G @varupiraten.se - Original Message - From: "Tomás Rodriguez Orta" <[EMAIL PROTECTED]> To: Sent: Saturday, September 03, 2005 4:46 AM Subject: [PHP] pr

[PHP] SoundEx in swedish?

2005-09-02 Thread Gustav Wiberg
Hi there! Soundex works with diffrent kind of pronounciation... but does it work with Swedish language? Anyone have experience of this??? /G @varupiraten.se -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Distinguishing between multiple browser windows for the same php session

2005-09-03 Thread Gustav Wiberg
Hi there! ? /G @varupiraten.se - Original Message - From: "Chris Stenton" <[EMAIL PROTECTED]> To: Sent: Saturday, September 03, 2005 10:01 AM Subject: [PHP] Distinguishing between multiple browser windows for the same php session I need a way of setting the session_vars specif

Re: [PHP] socket_read() trouble with PHP_BINARY_READ

2005-09-03 Thread Gustav Wiberg
Hi there! Can't it be anything with filepermissions? Just a clue... /G @varupiraten.se - Original Message - From: "M. Sokolewicz" <[EMAIL PROTECTED]> To: ; "Tom Rogers" <[EMAIL PROTECTED]> Sent: Saturday, September 03, 2005 10:49 AM Subject: Re: [PHP] socket_read() trouble with PHP_BI

Re: [PHP] Distinguishing between multiple browser windows for thesame php session

2005-09-03 Thread Gustav Wiberg
ishing between multiple browser windows for thesame php session Gustav Wiberg wrote: ? Please don't top-post [1]. This will not work. $_SELF isn't even a defined variable, unless you defined it yourself. PHP works on the server, *before* anything is sent on the client, so it h

Re: [PHP] Impossible???

2005-09-03 Thread Gustav Wiberg
- Original Message - From: "Rory Browne" <[EMAIL PROTECTED]> To: "Gustav Wiberg" <[EMAIL PROTECTED]> Cc: "PHP General" Sent: Saturday, September 03, 2005 4:40 PM Subject: Re: [PHP] Impossible??? What exactly are you trying to do? That lo

[PHP] Cookie-question?

2005-09-07 Thread Gustav Wiberg
Hi there! Look at following code below, and please give me a clue why this cookie-thing doesn't work? $IDJoke is set before and is an ID from a row in a db It seems to work a while, but is there a limit for the expire-parameter? /G http://www.varupiraten.se/ //Get cookie from users computer

Re: [PHP] Session object destruction failed

2005-09-07 Thread Gustav Wiberg
Hi there! How does your code look like? /G http://www.varupiraten.se/ - Original Message - From: "Dan Rossi" <[EMAIL PROTECTED]> To: "PHP LIST" Sent: Wednesday, September 07, 2005 12:55 PM Subject: [PHP] Session object destruction failed Hi there, I am using a pear session package

[PHP] Integer - boundary?

2005-09-07 Thread Gustav Wiberg
Hi there! What is the boundary for an integer? seems to be a easy question, but I can't find it... /G http://www.varupiraten.se/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Integer - boundary?

2005-09-07 Thread Gustav Wiberg
- Original Message - From: "Shaw, Chris - Accenture" <[EMAIL PROTECTED]> To: "Gustav Wiberg" <[EMAIL PROTECTED]>; "PHP General" Sent: Wednesday, September 07, 2005 5:03 PM Subject: RE: [PHP] Integer - boundary? -Original Messa

Re: [PHP] Breaking up search terms into an array intelligently

2005-09-07 Thread Gustav Wiberg
- Original Message - From: "Paul Groves" <[EMAIL PROTECTED]> To: Sent: Wednesday, September 07, 2005 4:54 PM Subject: [PHP] Breaking up search terms into an array intelligently I want to be able to break up a number of search terms typed into an input box into array, simple enough one

Re: [PHP] Integer - boundary?

2005-09-07 Thread Gustav Wiberg
Thanx for the scripts! :-) Appreciated! /G http://www.varupiraten.se/¨ - Original Message - From: "Brian P. O'Donnell" <[EMAIL PROTECTED]> To: Sent: Wednesday, September 07, 2005 5:53 PM Subject: Re: [PHP] Integer - boundary? ""M. Sokolewicz"" <[EMAIL PROTECTED]> wrote in message

Re: [PHP] Breaking up search terms into an array intelligently

2005-09-07 Thread Gustav Wiberg
- Original Message - From: "Paul Groves" <[EMAIL PROTECTED]> To: "Gustav Wiberg" <[EMAIL PROTECTED]> Cc: "PHP General" Sent: Wednesday, September 07, 2005 5:45 PM Subject: Re: [PHP] Breaking up search terms into an array intelligently G

Re: [PHP] Assign values in foreach-loop

2005-09-07 Thread Gustav Wiberg
- Original Message - From: "Sabine" <[EMAIL PROTECTED]> To: "PHP general" Sent: Wednesday, September 07, 2005 7:14 PM Subject: [PHP] Assign values in foreach-loop Hello to all, is it possible to assign values to the array for which I do the foreach-loop? foreach ($_SESSION['arr1

Re: [PHP] Cookie-question?

2005-09-07 Thread Gustav Wiberg
Original Message - From: Jose Miguel To: Gustav Wiberg Cc: PHP General Sent: Thursday, September 08, 2005 3:26 AM Subject: Re: [PHP] Cookie-question? Ok, please correct me if i'm wrong... First of all, i'd rather use $_COOKIE instead of $HTTP_COOKIE_VARS.

[PHP] Limit - nr of sessions on a domain?

2005-09-08 Thread Gustav Wiberg
Hi there! I'm trying to set 30 diffrent cookies on a domain, but it seems that a cookie sets to zero and there is a max of 18 or 19 cookies... Can this be right? /G http://www.varupiraten.se/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.ph

Fw: [PHP] Limit - nr of sessions on a domain?

2005-09-08 Thread Gustav Wiberg
- Original Message - From: "Gustav Wiberg" <[EMAIL PROTECTED]> To: "PHP General" Sent: Thursday, September 08, 2005 11:36 PM Subject: [PHP] Limit - nr of sessions on a domain? Hi there! I'm trying to set 30 diffrent cookies on a domain, but it seems

[PHP] How large string in cookie?

2005-09-08 Thread Gustav Wiberg
How large can a string be in a cookie? (the value-parameter) /G http://www.varupiraten.se/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How large string in cookie?

2005-09-08 Thread Gustav Wiberg
- Original Message - From: "Philip Hallstrom" <[EMAIL PROTECTED]> To: "Gustav Wiberg" <[EMAIL PROTECTED]> Cc: "PHP General" Sent: Friday, September 09, 2005 3:38 AM Subject: Re: [PHP] How large string in cookie? How large can a string be in a

[PHP] session.gc_maxlifetime

2005-09-09 Thread Gustav Wiberg
Hi there! This setting... session.gc_maxlifetime can only be set in php.ini Default = 1440 = 24 minutes is the time before a cookie expires? Is this right? I don't have access to php.ini because it's not my server (it's my webhost) What's the solution to that? I want the cookie to last as long a

Re: [PHP] ASP (VBScript) to PHP Converters?

2005-09-09 Thread Gustav Wiberg
- Original Message - From: "Jay Blanchard" <[EMAIL PROTECTED]> To: "PHP General (E-mail)" Sent: Friday, September 09, 2005 3:33 PM Subject: [PHP] ASP (VBScript) to PHP Converters? Howdy! I have started searching around for VBScript to PHP converters and was hoping that the group migh

[PHP] Round with ONE-decimal... always...

2005-09-12 Thread Gustav Wiberg
Hi there! I want to adjust the round() -function a little... If I put round(6,0) there will be an output of 6 If I put round(6,32) there will be an output of 6,3 I want it to have 6,0 instead of just 6... I guess there is an easy solution to this? Suggestions? /G http://www.varupiraten.se/

Re: [PHP] Round with ONE-decimal... always...

2005-09-12 Thread Gustav Wiberg
Thanx! /G - Original Message - From: "George Pitcher" <[EMAIL PROTECTED]> To: "Gustav Wiberg" <[EMAIL PROTECTED]> Sent: Monday, September 12, 2005 10:55 AM Subject: RE: [PHP] Round with ONE-decimal... always... Look at sprint_f() in the manual.

Re: [PHP] help me to draw a listview in my website

2005-09-12 Thread Gustav Wiberg
Hi there! What do you mean with listview? Of what? /G http://www.varupiraten.se/ - Original Message - From: "Nahalingam N. Kanakavel" <[EMAIL PROTECTED]> To: "PHP" Sent: Monday, September 12, 2005 11:05 AM Subject: [PHP] help me to draw a listview in my website hi all, If any scri

Re: [PHP] Re: Round with ONE-decimal... always...

2005-09-12 Thread Gustav Wiberg
- Original Message - From: "Mark Rees" <[EMAIL PROTECTED]> To: Sent: Monday, September 12, 2005 11:12 AM Subject: [PHP] Re: Round with ONE-decimal... always... > I want to adjust the round() -function a little... If I put round(6,0) there will be an output of 6 If I put round(6,32

Re: [PHP] can't connect to mysql

2005-09-12 Thread Gustav Wiberg
Hi there! What code are you using? Try with the mysqli... http://se2.php.net/manual/en/ref.mysqli.php /G - Original Message - From: "blackwater dev" <[EMAIL PROTECTED]> To: Sent: Tuesday, September 13, 2005 3:09 AM Subject: [PHP] can't connect to mysql I finally got php5 compiled w

Re: [PHP] session.gc_maxlifetime

2005-09-13 Thread Gustav Wiberg
- Original Message - From: "Shaw, Chris - Accenture" <[EMAIL PROTECTED]> To: "Gustav Wiberg" <[EMAIL PROTECTED]>; "PHP General" Sent: Friday, September 09, 2005 7:21 PM Subject: RE: [PHP] session.gc_maxlifetime -Original Messa

[PHP] ini_set()

2005-09-13 Thread Gustav Wiberg
Hi there! I don't get it... From the manual... string ini_set ( string varname, string newvalue ) Sets the value of the given configuration option. Returns the old value on success, FALSE on failure. The configuration option will keep this new value during the script's execution, and will

Re: [PHP] ini_set()

2005-09-13 Thread Gustav Wiberg
- Original Message - From: "Richard Lynch" <[EMAIL PROTECTED]> To: "Gustav Wiberg" <[EMAIL PROTECTED]> Cc: "PHP General" Sent: Tuesday, September 13, 2005 9:26 PM Subject: Re: [PHP] ini_set() On Tue, September 13, 2005 2:11 pm, Gusta

Re: [PHP] trying to figure out the best/efficient way to tell who is logged into a site..

2005-09-13 Thread Gustav Wiberg
- Original Message - From: "Jason Barnett" <[EMAIL PROTECTED]> Cc: Sent: Tuesday, September 13, 2005 11:25 PM Subject: Re: [PHP] trying to figure out the best/efficient way to tell who is logged into a site.. Close: You mix both of these ideas. Create a custom session handler. This

[PHP] Webservices and PHP?

2005-09-14 Thread Gustav Wiberg
Hi there! I want to learn about creating webservices with PHP? (Is it possible with PHP 4.3.11?) and calling webservices against ASP.Net. Anyone has suggestion where I should start looking? /G http://www.varupiraten.se/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] linux embedded no db which way

2005-09-14 Thread Gustav Wiberg
- Original Message - From: "adriano ghezzi" <[EMAIL PROTECTED]> To: Sent: Wednesday, September 14, 2005 8:57 AM Subject: [PHP] linux embedded no db which way guys hi all, quite new in this list I'm involved in a project with php in a linux embedded environment, it's impossibile to use

[PHP] SOAP?

2005-09-14 Thread Gustav Wiberg
Hi there! If you look at this link (it shows info of the server) http://www.stammis.com/agendalatina/info.php Is it possible to use PEAR SOAP-package? /G http://www.varupiraten.se/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Output of html without using functions?

2005-09-14 Thread Gustav Wiberg
Hi there! Look at the following code code1.php code2.php //Here I want to get the output of code1.php without using functions. Is it possible? // //Something like $test = require("http:///mobil_info.php"); but instead of returning 1 at success I want to return the random value... Why?

Re: [PHP] uk summer time

2005-09-14 Thread Gustav Wiberg
- Original Message - From: "Ross" <[EMAIL PROTECTED]> To: Sent: Wednesday, September 14, 2005 9:06 AM Subject: [PHP] uk summer time Hi, I am looking for a function that returns the local time in the uk, it has to account for the clock changes in winter and summner. date_default

Re: [PHP] Output of html without using functions?

2005-09-14 Thread Gustav Wiberg
- Original Message - From: "George Pitcher" <[EMAIL PROTECTED]> To: "Gustav Wiberg" <[EMAIL PROTECTED]> Sent: Wednesday, September 14, 2005 9:47 AM Subject: RE: [PHP] Output of html without using functions? Gustav, For true simplicity (platform ind

Re: [PHP] Webservices and PHP?

2005-09-14 Thread Gustav Wiberg
- Original Message - From: "Robert Graham" <[EMAIL PROTECTED]> To: "Gustav Wiberg" <[EMAIL PROTECTED]> Cc: "PHP General" Sent: Wednesday, September 14, 2005 10:01 AM Subject: Re: [PHP] Webservices and PHP? Gustav Wiberg wrote: Hi there!

Re: [PHP] Output of html without using functions?

2005-09-14 Thread Gustav Wiberg
ge Pitcher" <[EMAIL PROTECTED]> To: "Gustav Wiberg" <[EMAIL PROTECTED]> Sent: Wednesday, September 14, 2005 10:08 AM Subject: RE: [PHP] Output of html without using functions? Gustav, If I write a function in PHP. Main question: Would the partner be able to get the

Re: [PHP] Output of html without using functions?

2005-09-14 Thread Gustav Wiberg
Hi there! Thanx! I think this will solve the problem... /G http://www.varupiraten.se/ - Original Message - From: "Jesper Gran" <[EMAIL PROTECTED]> To: "Gustav Wiberg" <[EMAIL PROTECTED]> Cc: "PHP General" Sent: Wednesday, September 14, 2005

[PHP] Webservices and PHP - thanx!

2005-09-14 Thread Gustav Wiberg
Hi there! Thanx you all for help with this issue... /G http://www.varupiraten.se/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Output of html without using functions?

2005-09-15 Thread Gustav Wiberg
: no suitable wrapper could be found in /customers/varupiraten.se/varupiraten.se/httpd.www/test.php on line 2 /G http://www.varupiraten.se/ - Original Message - From: "Richard Lynch" <[EMAIL PROTECTED]> To: "Gustav Wiberg" <[EMAIL PROTECTED]> Sent: Thurs

Re: [PHP] trying to figure out the best/efficient way to tell who is logged into a site..

2005-09-15 Thread Gustav Wiberg
- Original Message - From: "Ben" <[EMAIL PROTECTED]> Newsgroups: php.general To: "Gustav Wiberg" <[EMAIL PROTECTED]> Sent: Wednesday, September 14, 2005 7:35 PM Subject: Re: [PHP] trying to figure out the best/efficient way to tell who is logged into

Re: [PHP] Webservices and PHP?

2005-09-15 Thread Gustav Wiberg
Hi there! Thanx! /G - Original Message - From: "Clive Zagno" <[EMAIL PROTECTED]> To: "Gustav Wiberg" <[EMAIL PROTECTED]> Sent: Wednesday, September 14, 2005 1:59 PM Subject: Re: [PHP] Webservices and PHP? I presume by web service you mean S

[PHP] adding string...

2005-09-15 Thread Gustav Wiberg
Hi guys! Is there any difference in performance in these two ways? $sql = $sql . OR $sql .= /G http://www.varupiraten.se/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: adding string...

2005-09-15 Thread Gustav Wiberg
- Original Message - From: "Oliver Grätz" <[EMAIL PROTECTED]> To: Sent: Friday, September 16, 2005 1:34 AM Subject: [PHP] Re: adding string... Gustav Wiberg schrieb: Hi guys! Is there any difference in performance in these two ways? $sql = $sql . OR $sql .=

[PHP] Mail-format...

2005-09-18 Thread Gustav Wiberg
Hi there! I wonder why I get get these kind of mails (look down below in this mail) I recieve them sometimes... ...I have a code like this... $name = $_POST["frmNamn"]; $email = $_POST["frmEpost"]; //Send mail that there is a new member // mail("[EMAIL PROTECTED]","Ny medlem - Stammis Interne

Re: [PHP] Re: headers .vs javascript location.href

2005-09-18 Thread Gustav Wiberg
- Original Message - From: "bruce" <[EMAIL PROTECTED]> To: "'Jasper Bryant-Greene'" <[EMAIL PROTECTED]>; Sent: Monday, September 19, 2005 6:14 AM Subject: RE: [PHP] Re: headers .vs javascript location.href regardless... i've tried to resolve my issue using the buffering functions and

Re: [PHP] Mail-format...

2005-09-18 Thread Gustav Wiberg
- Original Message - From: "David Tulloh" <[EMAIL PROTECTED]> To: "Gustav Wiberg" <[EMAIL PROTECTED]> Cc: "PHP General" Sent: Monday, September 19, 2005 8:19 AM Subject: Re: [PHP] Mail-format... It looks like somebody is trying to launch an

[PHP] HEADER + target?

2005-09-19 Thread Gustav Wiberg
Hi there! I think this question has been on the list before, but I can't find it. I want to do like this: parent.mainFrame.location = 'fire.php'; ...but in PHP with the HEADER() - function... I do I achieve that? /G http://www.varupiraten.se/ -- PHP General Mailing List (http://www.php

Re: [PHP] HEADER + target?

2005-09-19 Thread Gustav Wiberg
- Original Message - From: "Jasper Bryant-Greene" <[EMAIL PROTECTED]> To: "PHP General" Sent: Monday, September 19, 2005 10:31 AM Subject: Re: [PHP] HEADER + target? Gustav Wiberg wrote: I think this question has been on the list before, but I can't

[PHP] Easy question - delete strings from the beginning of space...

2005-09-20 Thread Gustav Wiberg
Hi there! I guess this is an easy question. I have string... "Hello you" and I want to get the "Hello" part. How do I do that? (I can of course search for first occurence of space and then use substr, but I guess there is an easier solution? /G http://www.varupiraten.se/ -- PHP General Mai

Re: [PHP] Easy question - delete strings from the beginning of space...

2005-09-20 Thread Gustav Wiberg
- Original Message - From: "Jochem Maas" <[EMAIL PROTECTED]> To: "Gustav Wiberg" <[EMAIL PROTECTED]> Cc: "PHP General" Sent: Tuesday, September 20, 2005 2:24 PM Subject: Re: [PHP] Easy question - delete strings from the beginning of space...

Fw: [PHP] Easy question - delete strings from the beginning of space...

2005-09-20 Thread Gustav Wiberg
- Original Message - From: "Gustav Wiberg" <[EMAIL PROTECTED]> To: "Jochem Maas" <[EMAIL PROTECTED]> Cc: "PHP General" Sent: Tuesday, September 20, 2005 3:04 PM Subject: Re: [PHP] Easy question - delete strings from the beginning of spac

Re: [PHP] Re: Mail-format...

2005-09-22 Thread Gustav Wiberg
7;re valid. There's a million regex's out there to do this for you.. Cheers Josh Gustav Wiberg wrote: Hi there! I wonder why I get get these kind of mails (look down below in this mail) I recieve them sometimes... ...I have a code like this... $name = $_POST["frmNamn"];

Re: [PHP] Re: Mail-format...

2005-09-22 Thread Gustav Wiberg
- Original Message - From: "M. Sokolewicz" <[EMAIL PROTECTED]> To: "Gustav Wiberg" <[EMAIL PROTECTED]> Cc: ; "joshua may" <[EMAIL PROTECTED]> Sent: Thursday, September 22, 2005 5:24 PM Subject: Re: [PHP] Re: Mail-format... Gustav

Re: [PHP] basic user/input form questions... more validation!

2005-09-22 Thread Gustav Wiberg
- Original Message - From: "bruce" <[EMAIL PROTECTED]> To: Sent: Thursday, September 22, 2005 8:05 PM Subject: [PHP] basic user/input form questions... more validation! hi... forgive me!!! Ok; -) Why? You're just asking... :-) continuing the thread from yesterday regarding filter

[PHP] FTP

2005-09-22 Thread Gustav Wiberg
Hi all! I took this code directly from PHP.net but I don't get it to work correctly...I've never worked with ftp-connections with PHP before... $conn_id = ftp_connect($ftp_server) or die("Couldn't connect to $ftp_server"); // try to login if (@ftp_login($conn_id, $ftp_user, $ftp_pass)) {

Re: [PHP] FTP

2005-09-22 Thread Gustav Wiberg
- Original Message - From: "John Nichel" <[EMAIL PROTECTED]> To: "PHP Mailing Lists" Sent: Thursday, September 22, 2005 8:53 PM Subject: Re: [PHP] FTP Gustav Wiberg wrote: Hi all! I took this code directly from PHP.net but I don't get it to work cor

Re: [PHP] FTP

2005-09-22 Thread Gustav Wiberg
- Original Message - From: "John Nichel" <[EMAIL PROTECTED]> To: "PHP Mailing Lists" Sent: Thursday, September 22, 2005 9:08 PM Subject: Re: [PHP] FTP Gustav Wiberg wrote: Hi again! Yes, you're right... I get this error now... Fatal er

[PHP] Opensource webshop

2005-09-22 Thread Gustav Wiberg
Hi there! I'm just beginning to test if there is some interest in an opensource-webshop... The admin-part is not opensource.. Interested? http://www.varupiraten.se/doc.php /G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Opensource webshop

2005-09-22 Thread Gustav Wiberg
- Original Message - From: "Chris W. Parker" <[EMAIL PROTECTED]> To: "PHP General" Sent: Thursday, September 22, 2005 10:28 PM Subject: RE: [PHP] Opensource webshop Gustav Wiberg <mailto:[EMAIL PROTECTED]> on Thursday, September 22, 2005 1:21 PM sa

Re: [PHP] Re: Opensource webshop

2005-09-22 Thread Gustav Wiberg
- Original Message - From: "Mark Evans" <[EMAIL PROTECTED]> To: Sent: Thursday, September 22, 2005 10:47 PM Subject: [PHP] Re: Opensource webshop I'm just beginning to test if there is some interest in an opensource-webshop... The admin-part is not opensource.. Surely if the admin i

Re: [PHP] Opensource webshop

2005-09-22 Thread Gustav Wiberg
- Original Message - From: "Greg Donald" <[EMAIL PROTECTED]> To: Sent: Thursday, September 22, 2005 11:03 PM Subject: Re: [PHP] Opensource webshop On 9/22/05, Gustav Wiberg <[EMAIL PROTECTED]> wrote: I'm just beginning to test if there is some intere

Re: [PHP] Opensource webshop

2005-09-22 Thread Gustav Wiberg
- Original Message - From: "Jasper Bryant-Greene" <[EMAIL PROTECTED]> To: Sent: Friday, September 23, 2005 6:41 AM Subject: Re: [PHP] Opensource webshop There are probably dozens of free open source PHP carts already out there. Not to mention the ones written in Perl. Are there man

Re: [PHP] Opensource webshop

2005-09-23 Thread Gustav Wiberg
- Original Message - From: "Vince LaMonica" <[EMAIL PROTECTED]> To: "Jasper Bryant-Greene" <[EMAIL PROTECTED]> Cc: Sent: Friday, September 23, 2005 7:17 AM Subject: Re: [PHP] Opensource webshop On Fri, 23 Sep 2005, Jasper Bryant-Greene wrote: } > > There are probably dozens of free o

[PHP] PHP in a commandline shell?

2005-09-23 Thread Gustav Wiberg
Hi there! As I understand you MUST? recompile PHP for use with only commandlineshell instead of for example Apache (or any other webserver) Is that true? Or is there any alternative if you only want to use PHP in "shell"-mode for testing... /G http://www.varupiraten.se/ -- PHP General Mail

Re: [PHP] PHP in a commandline shell?

2005-09-23 Thread Gustav Wiberg
- Original Message - From: "Jake Gardner" <[EMAIL PROTECTED]> To: "Gustav Wiberg" <[EMAIL PROTECTED]> Cc: "PHP General" Sent: Friday, September 23, 2005 4:36 PM Subject: Re: [PHP] PHP in a commandline shell? That depends on several thin

Re: [PHP] PHP in a commandline shell?

2005-09-23 Thread Gustav Wiberg
- Original Message - From: "John Nichel" <[EMAIL PROTECTED]> To: "PHP General" Sent: Friday, September 23, 2005 4:34 PM Subject: Re: [PHP] PHP in a commandline shell? Gustav Wiberg wrote: Hi there! As I understand you MUST? recompile PHP for use w

Re: [PHP] Subtracting dates w/o database interaction (MySQL)

2005-09-23 Thread Gustav Wiberg
- Original Message - From: "Philip Thompson" <[EMAIL PROTECTED]> To: Sent: Friday, September 23, 2005 6:11 PM Subject: [PHP] Subtracting dates w/o database interaction (MySQL) Hey all. I'm needing to find the number of days between two dates without using an database functions (DAT

Re: [PHP] PHP in a commandline shell?

2005-09-23 Thread Gustav Wiberg
- Original Message - From: "John Nichel" <[EMAIL PROTECTED]> To: "PHP General" Sent: Friday, September 23, 2005 4:34 PM Subject: Re: [PHP] PHP in a commandline shell? Gustav Wiberg wrote: Hi there! As I understand you MUST? recompile PHP for use w

Re: [PHP] selfreferencing script with output

2005-09-23 Thread Gustav Wiberg
- Original Message - From: "Sabine" <[EMAIL PROTECTED]> To: "PHP general" Sent: Friday, September 23, 2005 6:14 PM Subject: [PHP] selfreferencing script with output Hello to all, I have 2 scripts ( preparing about 1000 mails for pear's mail-queue and sending them) which shall be sta

Re: [PHP] PHP in a commandline shell?

2005-09-23 Thread Gustav Wiberg
- Original Message - From: "John Nichel" <[EMAIL PROTECTED]> To: "PHP General" Sent: Friday, September 23, 2005 8:35 PM Subject: Re: [PHP] PHP in a commandline shell? Gustav Wiberg wrote: With PHPinfo() I get this result on my local testserver which has

Re: [PHP] LINKS

2005-09-24 Thread Gustav Wiberg
- Original Message - From: "php @ net mines" <[EMAIL PROTECTED]> To: Sent: Saturday, September 24, 2005 4:34 PM Subject: [PHP] LINKS Hi all is there a way to have a program detecting when a link was clicked and automatically opening another window (that can "plugged-in" in any webs

Re: [PHP] Is PHP the language for me???

2005-09-24 Thread Gustav Wiberg
- Original Message - From: "Emily McCall" <[EMAIL PROTECTED]> To: Sent: Friday, September 23, 2005 11:07 PM Subject: [PHP] Is PHP the language for me??? I am trying to figure out whether php will help me to set up a website which is essentially just links to donwloadable material. I

[PHP] OT - database and indexes... but anyone please?

2005-09-24 Thread Gustav Wiberg
Hi there! This is not strictly PHP... but if there's anyone out there with good knowledge of indexes, please mail me off-list. My question: If I delete an index, what is the WORST thing that can happen? /G http://www.varupiraten.se/ -- PHP General Mailing List (http://www.php.net/) To unsubs

Re: [PHP] OT - database and indexes... but anyone please?

2005-09-24 Thread Gustav Wiberg
- Original Message - From: "Rory Browne" <[EMAIL PROTECTED]> To: "Gustav Wiberg" <[EMAIL PROTECTED]> Cc: "PHP General" Sent: Sunday, September 25, 2005 1:26 AM Subject: Re: [PHP] OT - database and indexes... but anyone please? I'm not

Re: [PHP] Is PHP the language for me???

2005-09-24 Thread Gustav Wiberg
- Original Message - From: "Jasper Bryant-Greene" <[EMAIL PROTECTED]> To: Sent: Sunday, September 25, 2005 1:38 AM Subject: Re: [PHP] Is PHP the language for me??? Gustav Wiberg wrote: I have read some posts about this issue, but one point that is essential that I&#

Re: [PHP] serialize

2005-09-24 Thread Gustav Wiberg
- Original Message - From: "blackwater dev" <[EMAIL PROTECTED]> To: Sent: Sunday, September 25, 2005 4:17 AM Subject: [PHP] serialize I have an app that stores evaluation scores so I have 30+ values all within a certain range, currently in the db, each of these values has it's own colu

Re: [PHP] selfreferencing script with output

2005-09-25 Thread Gustav Wiberg
- Original Message - From: "Silvio Porcellana" <[EMAIL PROTECTED]> To: "PHP general" Sent: Sunday, September 25, 2005 12:13 AM Subject: Re: [PHP] selfreferencing script with output Sabine wrote: Thanks for your answer, Gustav, now I see I didn't explain good enough what my problem

Re: [PHP] passing a variable with php_self

2005-09-27 Thread Gustav Wiberg
- Original Message - From: "A.J. Brown" <[EMAIL PROTECTED]> To: Sent: Tuesday, September 27, 2005 3:26 PM Subject: Re: [PHP] passing a variable with php_self "> works well too -- Sincerely, A.J. Brown "Jim Moseby" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] ---

Re: [PHP] Two MySQL connections in one script not working as expected

2005-09-27 Thread Gustav Wiberg
- Original Message - From: "Charles Kline" <[EMAIL PROTECTED]> To: Sent: Tuesday, September 27, 2005 8:25 PM Subject: [PHP] Two MySQL connections in one script not working as expected Hi all, I have a script that needs to update data in two databases. My db connections are both in

[PHP] ID from lines?

2005-10-09 Thread Gustav Wiberg
Hi there! How do I get ID number from these lines? Do I have to use regular expressions? Line #3 : NH01<><>LiteOn DVD±RW 16<>725<>http://www.varupiraten.se/web/spec_product.php?ID=1711<>PC-CD-DVD-LDW-1653S-09C<>1<> Line #4 : NH01<><>LITEON 8x<>725<>http://www.varupiraten.se/web/spec_product.

Re: [PHP] ID from lines?

2005-10-09 Thread Gustav Wiberg
- Original Message - From: "Al Hafoudh" <[EMAIL PROTECTED]> To: "Gustav Wiberg" <[EMAIL PROTECTED]> Sent: Sunday, October 09, 2005 4:38 PM Subject: Re: [PHP] ID from lines? /ID=([0-9]*)\ Thanx! /G @varupiraten.se Gustav Wiberg wrote: Hi there! H

Re: [PHP] ID from lines?

2005-10-09 Thread Gustav Wiberg
Hi Yes, it would work in these cases... But if there would be two or three =, then you couldn't generalize it in that matter... /G @varupiraten.se - Original Message - From: "Kevin Waterson" <[EMAIL PROTECTED]> To: "Gustav Wiberg" <[EMAIL PROTECTE

[PHP] Regular expressions

2005-10-09 Thread Gustav Wiberg
Hi there! I'm no good at reg exp... Yes, I confess.. Here's my code // Loop through our array, show HTML source as HTML source; and line numbers too. foreach ($lines as $line_num => $line) { echo "Line #{$line_num} : " . htmlspecialchars($line) . "\n"; if ($line_num > 0 ) { $getName = exp

Re: [PHP] Regular expressions

2005-10-09 Thread Gustav Wiberg
- Original Message - From: "Jasper Bryant-Greene" <[EMAIL PROTECTED]> To: "PHP General" Sent: Sunday, October 09, 2005 8:06 PM Subject: Re: [PHP] Regular expressions Gustav Wiberg wrote: // Loop through our array, show HTML source as HTML source; and l

Re: [PHP] GET variables and mySQL functions inside an Image header.

2005-10-10 Thread Gustav Wiberg
- Original Message - From: "Kristopher Kane" <[EMAIL PROTECTED]> To: Sent: Monday, October 10, 2005 8:33 AM Subject: [PHP] GET variables and mySQL functions inside an Image header. I am currently in Afghanistan and don't have much access to look these questions up. I consider them ba

[PHP] Any good free easy converting tool?

2005-10-12 Thread Gustav Wiberg
Hi there! Someone know of any good free tool for converting from Access to Mysql. I just need to import certain tables into an already existance database. /G http://www.varupiraten.se/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Any good free easy converting tool?

2005-10-12 Thread Gustav Wiberg
Hi there! I need to do a one time convert from an Access-databasetable to an MySQL-database-table. Is the MyODBC the only way? /G - Original Message - From: "Jay Blanchard" <[EMAIL PROTECTED]> To: "'Gustav Wiberg'" <[EMAIL PROTECTED]>

Re: [PHP] Any good free easy converting tool?

2005-10-12 Thread Gustav Wiberg
- Original Message - From: "Joe Harman" <[EMAIL PROTECTED]> To: Cc: "Gustav Wiberg" <[EMAIL PROTECTED]> Sent: Wednesday, October 12, 2005 9:00 PM Subject: Re: [PHP] Any good free easy converting tool? On 10/12/05, Gustav Wiberg <[EMAIL PROTECTED]&

[PHP] RegEx - Is this right?

2005-10-15 Thread Gustav Wiberg
Hi there! I want to get conents of a file and split into a array... $s = file_get_contents($fileName); $splitS = preg_split("/\n/",$s); Is this equal to using $splitS = file($fileName) ? /G http://www.varupiraten.se/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visi

[PHP] FileExists?

2005-11-07 Thread Gustav Wiberg
Hi there! File_exists doesn't seem to work with URLs that point to another domain. What to use? $x = fopen(http://www.stammis.com/getstart.php); if file_exists($x) /G http://www.varupiraten.se/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www

Re: [PHP] FileExists?

2005-11-07 Thread Gustav Wiberg
- Original Message - From: "Jay Blanchard" <[EMAIL PROTECTED]> To: "'Gustav Wiberg'" <[EMAIL PROTECTED]>; "PHP General" Sent: Monday, November 07, 2005 9:02 PM Subject: RE: [PHP] FileExists? [snip] File_exists doesn't see

Re: [PHP] Fixing ID's in mySQL Table

2005-11-08 Thread Gustav Wiberg
- Original Message - From: "Rahul S. Johari" <[EMAIL PROTECTED]> To: "PHP" Sent: Tuesday, November 08, 2005 2:37 PM Subject: [PHP] Fixing ID's in mySQL Table Ave, Is there a way to fix ID sequence in a MySQL table using PHP? Basically I have some tables with a lot of records, 1000

Re: [PHP] Fixing ID's in mySQL Table

2005-11-08 Thread Gustav Wiberg
- Original Message - From: "Larry E. Ullman" <[EMAIL PROTECTED]> To: "Rahul S.Johari" <[EMAIL PROTECTED]> Cc: "PHP" Sent: Tuesday, November 08, 2005 3:38 PM Subject: Re: [PHP] Fixing ID's in mySQL Table Is there a way to fix ID sequence in a MySQL table using PHP? Basically I have s

[PHP] Howto search in SQL for a specific character?

2005-11-29 Thread Gustav Wiberg
Hi there! in PHP i Write.. $v1 = chr(39); //39 is apostrofe $sql = "SELECT nameOfPedigree FROM tbpedigrees WHERE SUBSTR(nameOfPedigree,0,1) = $v1"; Why doesn't this work? I want the sql to select all nameOfPedigree - fields where the first character is apostrofe (') /G http://www.varup

Re: [PHP] Howto search in SQL for a specific character?

2005-11-29 Thread Gustav Wiberg
Hi I'm sorry but this didn't work either? If I replaced the ' with for example an a it worked /G - Original Message - From: "Stephen Johnson" <[EMAIL PROTECTED]> To: "Gustav Wiberg" <[EMAIL PROTECTED]>; "PHP General" Se

Re: [PHP] Howto search in SQL for a specific character?

2005-11-29 Thread Gustav Wiberg
Hi there! This didn't work. Ok, mysql 4.x don't have support for the command. Exuse my.. didn't realize that before... I have to do this another way around... :-) /G - Original Message - From: "Jay Blanchard" <[EMAIL PROTECTED]> To: "'

[PHP] Weird html - No "real"

2005-12-16 Thread Gustav Wiberg
Hi there! Why do I get this kind of ... why don't work? There is now as when you view source in an ordinary html-file... I hope you guys understand what I mean... DOWN BELOW IS THE PHP CODE! :-) main PCBAUTOMATISK INFOGNING AV PRODUKTER SOM INTE FINNS I VP's databas!Loggfil=logf

Re: [PHP] Weird html - No "real"

2005-12-16 Thread Gustav Wiberg
Hi Yes, but I assume that echo "Kontroll rad i textfil:$rowsInTextFile av $totalRowsInTextFile"; would render a ? /G - Original Message - From: <[EMAIL PROTECTED]> To: "Gustav Wiberg" <[EMAIL PROTECTED]> Sent: Saturday, December 17, 2005 12:15

<    1   2   3   >