[PHP] Optimize code?

2005-01-25 Thread Wiberg
Hi! I wonder if I can optimize following code (or do something better) below? It works fine when about 3.000 rows exists in the textfile, but when it gets to 10.000 rows then it will get a session timeout. (or internal server error) ?php function checkSaldo($url, $articleNrFieldNr,

[PHP] set-time-limit

2005-01-26 Thread Wiberg
Hi! when safe mode is one, i can't use set_time_limit. Is there any workarounds? why is it so that when I echo something to the screen then I can run the script for a longer time, than if I don't have echo? Don't get the logic... /G @varupiraten.se -- Internal Virus Database is out-of-date.

[PHP] Copy?

2005-02-23 Thread Wiberg
Hi there! How do I copy a file from an URL to my server? I url fopen wrappers is NOT enabled, and I'm not allowed to do that. /G @varupiraten.se -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.7 - Release Date: 2005-02-10 -- PHP

SV: SV: SV: SV: [PHP] Copy? - What am I doing wrong???

2005-02-25 Thread Wiberg
List Ämne: Re: SV: SV: SV: [PHP] Copy? - What am I doing wrong??? Jochem Maas wrote: Wiberg wrote: Hi there! fgtcvs works fine, but there's another problem now... I run updates to the db for each row (every row is unique) and must be updated. If I run the script with 2 rows then my

SV: [PHP] Difficulty with SQL LIKE clause

2005-02-25 Thread Wiberg
Hi there! A little off-topic but what the heck (it's a more MySQL - related question) Is 197* a numbertype field? Try maybe $query= SELECT * FROM my_table WHERE Year LIKE '197*'; /G @varupiraten.se -Ursprungligt meddelande- Från: David Freedman [mailto:[EMAIL PROTECTED] Skickat: den 25

[PHP] NH05 to 5, NH07 to 7

2004-11-25 Thread Wiberg
hi there! i guess you know a simple solution to convert the string NH01 into 1 NH02 into 2 .. ... NH13 into 13 and so on /Gustav Wiberg --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.799 / Virus Database: 543 - Release Date

[PHP] ScreenHeight?

2004-12-01 Thread Wiberg
Hi Is there any way of getting the clients screenheight in PHP? (or do I have to do it in Javascript) /Gustav Wiberg @varupiraten.se --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.802 / Virus Database: 545 - Release Date: 2004

[PHP] Strip of code - what could be wrong?

2004-12-18 Thread Wiberg
Hi there! I'm trying to figure out some code I haven't done myself, but I don't get what could be wrong. Check this code out: the coder says he when he import files, he gets a result that the line ends at wrong positions... Is it 4096 that is wrong? /G @varupiraten.se $file =

[PHP] Prado

2004-12-18 Thread Wiberg
Hi there! Anyone used PRADO? What's YOUR opinion? *curious* http://www.xisc.com/ /G @varupiraten.se --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.818 / Virus Database: 556 - Release Date: 2004-12-17 -- PHP General Mailing

[PHP] OpenSource -webshop?

2004-12-27 Thread Wiberg
Hi there! I have a thougt of making my site OpenSource. It's a webshop, so I'm unsecure about the security... Maybe someone will use the sourcecode for malicious attacks instead of making the code better? What are your thoughts about this? *curious* /G @varupiraten.se -- No virus found in this

[PHP] Why extra slashes???

2004-12-30 Thread Wiberg
Hi there! Right now I'm creating a form that saves the text from a textarea to an array. That doesn't seem to be any problem. But when I save the contents, I get extra / ? The code looks like this: - //Which main product category is to treat? // if

[PHP] Forgive me

2005-01-03 Thread Wiberg
AFAICS What does that mean? *feeling stupid* /G @varupiraten.se -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.296 / Virus Database: 265.6.7 - Release Date: 2004-12-30 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] URL-funtion - returnvalue into variable...?

2005-01-12 Thread Wiberg
Hi there! I'm a total newbie at connecting to diffrent servers, and b2b and such stuff , so I guess this is a simple question for you guys... Another company wants me to access their productinfo thorugh URL, something like this: https://www.anothercompany.com/returnValueOfProductID=1043 If I

[PHP] Re: [PHP-WIN] Confused

2007-08-24 Thread Gustav Wiberg
AHA.. Thanx :-) /Gustav - Original Message - From: John Mertic [EMAIL PROTECTED] To: Gustav Wiberg [EMAIL PROTECTED] Cc: Aaron Kenney [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, August 24, 2007 9:47 PM Subject: Re: [PHP-WIN] Confused Just grab the windows installer

[PHP] Why not user...?

2007-08-27 Thread Gustav Wiberg
Hi! Why is it so that I get this error. I'm using Windows Integrated authorization-method for actual webb I'm testing on. Notice: Undefined index: PHP_AUTH_USER in C:\www\utveckling\username.php on line 2 ? Best regards /Gustav Wiberg -- PHP General Mailing List (http://www.php.net

Re: [PHP] Why not user...?

2007-08-27 Thread Gustav Wiberg
Hi! Thanx! I figured it out. The username wasn't in server-variable PHP_AUTH_USER but in AUTH_USER Best regards /Gustav Wiberg - Original Message - From: Stut [EMAIL PROTECTED] To: Gustav Wiberg [EMAIL PROTECTED] Cc: PHP General php-general@lists.php.net Sent: Monday, August

[PHP] why?

2007-08-27 Thread Gustav Wiberg
regards /Gustav Wiberg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] windows auth with php

2007-08-27 Thread Gustav Wiberg
is not working automatically? (without logging in with username and password at first) I'm trying with IE6 and IE7... Best regards /Gustav Wiberg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] why?

2007-08-27 Thread Gustav Wiberg
Hi! No it doesn't seem to work locally either (I haven't tested myself, but a working-friend did) Best regards /Gustav Wiberg - Original Message - From: Stut [EMAIL PROTECTED] To: Gustav Wiberg [EMAIL PROTECTED] Cc: PHP General php-general@lists.php.net Sent: Monday, August 27

Re: [PHP] why?

2007-08-27 Thread Gustav Wiberg
Hi! Ok. Of course Why didn't I think of that? Thanx! :-) Best regards /Gustav Wiberg - Original Message - From: Stut [EMAIL PROTECTED] To: Gustav Wiberg [EMAIL PROTECTED] Cc: PHP General php-general@lists.php.net Sent: Monday, August 27, 2007 8:59 PM Subject: Re: [PHP] why

Re: [PHP] why?

2007-08-27 Thread Gustav Wiberg
Hi! Yes, a single sign-on it is... It doesn't work together with Windows (and PHP) you mean? Best regards /Gustav Wiberg - Original Message - From: Jay Blanchard [EMAIL PROTECTED] To: Jay Blanchard [EMAIL PROTECTED]; Gustav Wiberg [EMAIL PROTECTED]; PHP General php-general

Re: [PHP] Why not user...?

2007-08-28 Thread Gustav Wiberg
Hi! Thnank you for your input, but I used AUTH_USER-server variable instead of PHP_AUTH_USER and that did the trick! :-) Best regards /Gustav W iberg - Original Message - From: Richard Lynch [EMAIL PROTECTED] To: Stut [EMAIL PROTECTED] Cc: Gustav Wiberg [EMAIL PROTECTED]; PHP

[PHP] Open Source mailinglist?

2006-07-19 Thread Gustav Wiberg
, I'll skip the name :-) I can't seem to find any place on the net where you can discuss Open Source-related questions in general??? Best regards /Gustav Wiberg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Open Source mailinglist?

2006-07-19 Thread Gustav Wiberg
to install IRC. , but no mailinglists... (or else I'm blind) Best regards /Gustav Wiberg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Quotes?

2006-09-05 Thread Gustav Wiberg
= document.write('sc'+'ript language=JavaScript src='+uri+' charset=ISO-8859-1/sc'+'ript');; $str = /scriptbrbr; Best regards /Gustav Wiberg Stammis Internet -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Random pictures - not twice

2006-12-03 Thread Gustav Wiberg
} ? With this above script the same picture can be shown twice. Is there any smart way of avoiding this without having to rely on cookies/sessionids? Best regards /Gustav Wiberg Stammis Internet - http://www.stammis.com/ - pedigrees on the net -- PHP General Mailing List (http://www.php.net

Re: [PHP] Random pictures - not twice

2006-12-03 Thread Gustav Wiberg
(0,3); ? pnbsp;nbsp;img src=?php echo $pictures[$r];?/p ?php ? With this above script the same picture can be shown twice. Is there any smart way of avoiding this without having to rely on cookies/sessionids? Best regards /Gustav Wiberg Stammis Internet - http://www.stammis.com/ - pedigrees

Re: [PHP] Random pictures - not twice

2006-12-04 Thread Gustav Wiberg
- Original Message - From: tedd [EMAIL PROTECTED] To: Gustav Wiberg [EMAIL PROTECTED]; PHP General php-general@lists.php.net Sent: Monday, December 04, 2006 4:15 PM Subject: Re: [PHP] Random pictures - not twice At 11:20 PM +0100 12/3/06, Gustav Wiberg wrote: Hi there! I have

[PHP] Freing memory resources?

2005-06-16 Thread Gustav Wiberg
not a big matter how long the script takes. (As long as the server can do other things at the same time) (In production environment, the php-script is on Apache and Linux (if it matters)) Best regards Gustav Wiberg @varupiraten.se Here is my script: ?php //This script was updated 2005-06-16

[PHP] Fast count of recordset in php...

2005-08-06 Thread Gustav Wiberg
Hello there! How do i get a fast count of a recordset in php? Look at this code: $sql = SELECT COUNT(IDVara) cn FROM tbvara WHERE Varunamn LIKE '$checkLev%'; $querys = mysql_query($sql); //Count products in db // $dbArray = mysql_fetch_array($querys); $nrOfProducts =

Re: [PHP] Fast count of recordset in php...

2005-08-07 Thread Gustav Wiberg
Hi again! Thanx!!! I think this will help a lot!!! /mr G @varupiraten.se - Original Message - From: TalkativeDoggy [EMAIL PROTECTED] To: Sebastian [EMAIL PROTECTED] Cc: Gustav Wiberg [EMAIL PROTECTED]; php-general@lists.php.net Sent: Sunday, August 07, 2005 6:04 AM Subject: Re: [PHP

[PHP] Unique user?

2005-08-19 Thread Gustav Wiberg
Hi there! Is there any way of doing this: 1. User may vote 1-10 on a joke on a site X. 2. Same User may NOT vote again dependent of the computer... I know this works if I check IP-adress, but because some users doesn't have a fixed ip-adress... it won't work correct. Thought of getting a

[PHP] possible to get a function from another domain

2005-08-23 Thread Gustav Wiberg
hi there! Is it possible in PHP to retrieve value from one domain to another than my own? Something like this: Other domain: function getValueForMp3Player() My domain: $price = getValueForMp3Player('Inno AX VB4393') //retrieves value from other domain /G @varupiraten.se -- PHP General

Re: [PHP] possible to get a function from another domain

2005-08-23 Thread Gustav Wiberg
have to know the implemenation of the code that inwarehouse.se has given to varupiraten.se Do you understand what I'm trying to do? :-) /G @varupiraten.se - Original Message - From: Rory Browne [EMAIL PROTECTED] To: Gustav Wiberg [EMAIL PROTECTED] Cc: PHP General php-general

Re: [PHP] possible to get a function from another domain

2005-08-23 Thread Gustav Wiberg
? /G @varupiraten.se - Original Message - From: Jasper Bryant-Greene [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Tuesday, August 23, 2005 9:47 PM Subject: Re: [PHP] possible to get a function from another domain Gustav Wiberg wrote: Is it possible in PHP to retrieve value

Re: [PHP] possible to get a function from another domain

2005-08-24 Thread Gustav Wiberg
Hi there! Thanx for the help! And everybody else that helped me with the solution of course! :-) /G @varupiraten.se - Original Message - From: Rory Browne [EMAIL PROTECTED] To: Jim Moseby [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Tuesday, August 23, 2005 10:21 PM

[PHP] Computer name?

2005-08-25 Thread Gustav Wiberg
Is it possible to retrieve (view) the computers name from the client in PHP? /G @varupiraten.se -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Computers name?

2005-08-29 Thread Gustav Wiberg
Hi there! Is it possible to get (retrieve) the computername of the client? I just want the name for comparing... /G @varupiraten.se -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] divide-column?

2005-08-29 Thread Gustav Wiberg
Hi there! How do I do a sort in PHP where a column in a db must be two other columns divided...`? I tried to use DIV-function in MySQL but it doesn't seem to work ): Of course, I can hard-code it, but i want this value because of sorting ten largest of the resultvalue. ($gradeJoke). Ten

[PHP] ID based on position?

2005-08-31 Thread Gustav Wiberg
Hi there! Is there any function in PHP that gives an ID from a MySQL-db based on which position the record has in the table? Let's say, there's a table like this: 1. Record1 ID 33 2. Record2 ID 76 3. Record3 ID 100 If I know position 2, I want to get ID 76. Is the only way to loop through

[PHP] CookieMonster

2005-09-01 Thread Gustav Wiberg
Hi Simple question I guess.. How do I set a cookie so it will never expire? (I don't want it to expire) /G @varupiraten.se -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] session cookies

2005-09-01 Thread Gustav Wiberg
Hi there! Try using ob_start() and then set sessions, and then user HEADER... http://se.php.net/manual/sv/function.ob-start.php /G @varupiraten.se - Original Message - From: Philip Hallstrom [EMAIL PROTECTED] To: Jasper Bryant-Greene [EMAIL PROTECTED] Cc: php list

[PHP] Impossible???

2005-09-01 Thread Gustav Wiberg
Hi again! Is this impossible to do in PHP? Dim objNet On Error Resume Next 'In case we fail to create object then display our custom error Set objNet = CreateObject(WScript.NetWork) If Err.Number 0 Then'If error occured then display notice MsgBox Don't be Shy. vbCRLF _

Re: [PHP] deleting files on Windows...permissions issue

2005-09-02 Thread Gustav Wiberg
Hi there! Are you using rmdir? http://se2.php.net/manual/en/function.rmdir.php /G @varupiraten.se - Original Message - From: James [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Friday, September 02, 2005 6:45 PM Subject: [PHP] deleting files on Windows...permissions issue

[PHP] Content - strip...

2005-09-02 Thread Gustav Wiberg
Hi there! Anyone that has an easy solution to this? I have a string filled with content. A lot of content is before Jumping Jack flash I want the $content - string to start at Jumping Jack flash Is there any smart way of doing this? /G @varupiraten.se -- PHP General Mailing List

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: php-general@lists.php.net Sent: Saturday, September 03, 2005

[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! ?php echo $_SELF;? ? /G @varupiraten.se - Original Message - From: Chris Stenton [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Saturday, September 03, 2005 10:01 AM Subject: [PHP] Distinguishing between multiple browser windows for the same php session I need

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: php-general@lists.php.net; Tom Rogers [EMAIL PROTECTED] Sent: Saturday, September 03, 2005 10:49 AM Subject: Re: [PHP] socket_read()

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

2005-09-03 Thread Gustav Wiberg
multiple browser windows for thesame php session Gustav Wiberg wrote: ?php echo $_SELF;? ? 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 has

Re: [PHP] Impossible???

2005-09-03 Thread Gustav Wiberg
- Original Message - From: Rory Browne [EMAIL PROTECTED] To: Gustav Wiberg [EMAIL PROTECTED] Cc: PHP General php-general@lists.php.net Sent: Saturday, September 03, 2005 4:40 PM Subject: Re: [PHP] Impossible??? What exactly are you trying to do? That looks like clientside code

[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 php-general@lists.php.net Sent: Wednesday, September 07, 2005 12:55 PM Subject: [PHP] Session object destruction failed Hi there, I am using a

[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 php-general@lists.php.net Sent: Wednesday, September 07, 2005 5:03 PM Subject: RE: [PHP] Integer - boundary? -Original Message- From: Gustav Wiberg [mailto

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

2005-09-07 Thread Gustav Wiberg
- Original Message - From: Paul Groves [EMAIL PROTECTED] To: php-general@lists.php.net 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

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: php-general@lists.php.net Sent: Wednesday, September 07, 2005 5:53 PM Subject: Re: [PHP] Integer - boundary? M. Sokolewicz [EMAIL PROTECTED]

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 php-general@lists.php.net Sent: Wednesday, September 07, 2005 5:45 PM Subject: Re: [PHP] Breaking up search terms into an array intelligently Gustav Wiberg wrote

Re: [PHP] Assign values in foreach-loop

2005-09-07 Thread Gustav Wiberg
- Original Message - From: Sabine [EMAIL PROTECTED] To: PHP general php-general@lists.php.net 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?

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:

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 php-general@lists.php.net 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 that a cookie

[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-09 Thread Gustav Wiberg
- Original Message - From: Philip Hallstrom [EMAIL PROTECTED] To: Gustav Wiberg [EMAIL PROTECTED] Cc: PHP General php-general@lists.php.net Sent: Friday, September 09, 2005 3:38 AM Subject: Re: [PHP] How large string in cookie? How large can a string be in a cookie? (the value

[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

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) php-general@lists.php.net 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

[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. George -Original Message- From

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 php-general@lists.php.net Sent: Monday, September 12, 2005 11:05 AM Subject: [PHP] help me to draw a listview in my website

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

2005-09-12 Thread Gustav Wiberg
- Original Message - From: Mark Rees [EMAIL PROTECTED] To: php-general@lists.php.net 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

Re: [PHP] can't connect to mysql

2005-09-13 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: php-general@lists.php.net Sent: Tuesday, September 13, 2005 3:09 AM Subject: [PHP] can't connect to mysql I

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 php-general@lists.php.net Sent: Friday, September 09, 2005 7:21 PM Subject: RE: [PHP] session.gc_maxlifetime -Original Message- From: Gustav Wiberg [mailto

[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

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 php-general@lists.php.net Sent: Tuesday, September 13, 2005 9:26 PM Subject: Re: [PHP] ini_set() On Tue, September 13, 2005 2:11 pm, Gustav Wiberg wrote: Hi there! I don't

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: php-general@lists.php.net 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

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

Re: [PHP] linux embedded no db which way

2005-09-14 Thread Gustav Wiberg
- Original Message - From: adriano ghezzi [EMAIL PROTECTED] To: php-general@lists.php.net 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,

[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 ?php echo rand(1,1); ? code2.php //Here I want to get the output of code1.php without using functions. Is it possible? // //Something like $test = require(http://domain/mobil_info.php); but instead of returning 1 at success I want to

Re: [PHP] uk summer time

2005-09-14 Thread Gustav Wiberg
- Original Message - From: Ross [EMAIL PROTECTED] To: php-general@lists.php.net 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

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 independence), you need to do a lot more work

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 php-general@lists.php.net Sent: Wednesday, September 14, 2005 10:01 AM Subject: Re: [PHP] Webservices and PHP? Gustav Wiberg wrote: Hi there! I want to learn about

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

2005-09-14 Thread Gustav Wiberg
[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 value from a function written in PHP across

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 php-general@lists.php.net Sent: Wednesday, September 14, 2005 11:59 AM Subject: Re: [PHP

[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: Thursday, September 15, 2005 12:59 AM Subject

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 a site.. Gustav Wiberg wrote: All you

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 SOAP and WSDL etc Have a look at something called

[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: php-general@lists.php.net 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

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]; php-general@lists.php.net 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

Re: [PHP] Mail-format...

2005-09-19 Thread Gustav Wiberg
- Original Message - From: David Tulloh [EMAIL PROTECTED] To: Gustav Wiberg [EMAIL PROTECTED] Cc: PHP General php-general@lists.php.net Sent: Monday, September 19, 2005 8:19 AM Subject: Re: [PHP] Mail-format... It looks like somebody is trying to launch an e-mail injection attack

[PHP] RSS / XML

2006-02-25 Thread Gustav Wiberg
Hi there guys! Where is a good startpoint for learning XML Reader on a very, very basic level? (I appreciate links) Is RSS a technique for retrieving XML? I can't clue the pieces together... /G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] RSS / XML

2006-02-25 Thread Gustav Wiberg
- Original Message - From: Weber Sites LTD [EMAIL PROTECTED] To: 'Gustav Wiberg' [EMAIL PROTECTED]; 'PHP General' php-general@lists.php.net Sent: Saturday, February 25, 2006 7:37 PM Subject: RE: [PHP] RSS / XML Here are a few (from easy to hard) Parsing XML With DOMXML And PHP http

[PHP] Expat + PHP Examples...

2006-02-25 Thread Gustav Wiberg
Hi there! I've found out that I can use expat XML, but I can't figure out HOW to use... it seems simple, but I tried and can't figure it out... I'd like to get retrieve info from http://www.frisim.com/frisim/servlet/rss?searchString=google and convert it to html... I've read a lot a of text

[PHP] HOW update time and date-fields to mysql....

2006-02-28 Thread Gustav Wiberg
Hi there guys! I have used a date-field and a time-field in a mysql-database. How should I update these fields through php? This is my code now (it works fine locally with data on a win-machine, but not on Linux at my webhotel - Time doesn't work at all) function safeQuote($value) { //

[PHP] About date time...

2006-02-28 Thread Gustav Wiberg
Hi Thanx for your input about date time... Here's some functions that worked for me after some searching... function currenttime() { $today = getdate(); $ithours = $today[hours]; if (intval($ithours)10) { $ithours = 0 . $ithours; } $itminutes = $today[minutes]; if (intval($ithours)10) {

Re: [PHP] About date time...

2006-02-28 Thread Gustav Wiberg
- Original Message - From: tedd [EMAIL PROTECTED] To: php-general@lists.php.net; Gustav Wiberg [EMAIL PROTECTED] Sent: Tuesday, February 28, 2006 4:17 PM Subject: Re: [PHP] About date time... Thanx for your input about date time... Here's some functions that worked for me after

Re: [PHP] About date time...

2006-02-28 Thread Gustav Wiberg
- Original Message - From: tedd [EMAIL PROTECTED] To: php-general@lists.php.net; Gustav Wiberg [EMAIL PROTECTED] Sent: Tuesday, February 28, 2006 4:17 PM Subject: Re: [PHP] About date time... Thanx for your input about date time... Here's some functions that worked for me after

  1   2   3   >