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] 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

[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

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] 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

[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] 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] Pictures and caches

2006-05-18 Thread Gustav Wiberg
-online-system... (the customer uses IE) When I delete the file in code down below, the picture is not shown (I guess because the browser hasn't rendered out all info?) If you want more code, tell me :-) Best regards /Gustav Wiberg $fileName = pictures/products/$dbIDProduct1 . _small; $ran

[PHP] Range mktime?

2006-05-18 Thread Gustav Wiberg
Hi I wondew which range the mktime has? (in digits) In my case it always start with 1. something like 1147951344 Is this ALWAYS TRUE (that it would start with 1) Best regards /Gustav Wiberg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Range mktime?

2006-05-18 Thread Gustav Wiberg
- Original Message - From: Barry [EMAIL PROTECTED] To: php-general@lists.php.net; Gustav Wiberg [EMAIL PROTECTED] Cc: PHP General php-general@lists.php.net Sent: Thursday, May 18, 2006 1:45 PM Subject: [PHP] Re: Range mktime? Gustav Wiberg schrieb: Hi I wondew which range

[PHP] Copy of image - smaller

2006-05-15 Thread Gustav Wiberg
think... :-) I'm using PHP 4.x (don't know exactly the vers.nr, but I can search for it if it is of importance) The code down below is a function for uploading a picture. The part I want help with is after the comment: //What should/could I do here? Best regards Gustav Wiberg ?php function

Re: [PHP] Copy of image - smaller

2006-05-15 Thread Gustav Wiberg
Hi there! If I understand this right, I must have adminstration rights for installing Magic Wand... The problem is that my host doesn't have any support for this application. (It's not MY server) Is there any workaround? Best regards /Gustav Wiberg - Original Message - From

[PHP] Check before uploading

2006-05-15 Thread Gustav Wiberg
than nothing.. The important thing is not to RELY on the Javascript-code. Best regards /Gustav Wiberg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Copy of image - smaller

2006-05-15 Thread Gustav Wiberg
- Original Message - From: Chris [EMAIL PROTECTED] To: Gustav Wiberg [EMAIL PROTECTED] Cc: PHP General php-general@lists.php.net Sent: Monday, May 15, 2006 9:42 AM Subject: Re: [PHP] Copy of image - smaller Gustav Wiberg wrote: Hi there! When I upload a picture from a form, then I

Re: [PHP] Check before uploading

2006-05-15 Thread Gustav Wiberg
- Original Message - From: Stut [EMAIL PROTECTED] To: Gustav Wiberg [EMAIL PROTECTED] Cc: PHP General php-general@lists.php.net Sent: Monday, May 15, 2006 12:50 PM Subject: Re: [PHP] Check before uploading Gustav Wiberg wrote: Just a thought. Someone posted a question if you could

Re: [PHP] Copy of image - smaller

2006-05-15 Thread Gustav Wiberg
- Original Message - From: Rabin Vincent [EMAIL PROTECTED] To: Gustav Wiberg [EMAIL PROTECTED] Cc: PHP General php-general@lists.php.net Sent: Monday, May 15, 2006 1:35 PM Subject: Re: [PHP] Copy of image - smaller On 5/15/06, Gustav Wiberg [EMAIL PROTECTED] wrote: [snip] //What

Re: [PHP] Check before uploading

2006-05-15 Thread Gustav Wiberg
- Original Message - From: Stut [EMAIL PROTECTED] To: Gustav Wiberg [EMAIL PROTECTED] Cc: PHP General php-general@lists.php.net Sent: Monday, May 15, 2006 10:32 PM Subject: Re: [PHP] Check before uploading Gustav Wiberg wrote: From: Stut [EMAIL PROTECTED] Gustav Wiberg wrote

[PHP] Convert from jpg to gif ... change dpi...

2006-05-07 Thread Gustav Wiberg
Hi there! Is there any way of converting a jpg to gif and change dpi on the fly? Best regards Gustav Wiberg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ID-tags from picture?

2006-04-04 Thread Gustav Wiberg
- Original Message - From: Chris [EMAIL PROTECTED] To: Gustav Wiberg [EMAIL PROTECTED] Cc: PHP General php-general@lists.php.net Sent: Tuesday, April 04, 2006 4:14 AM Subject: Re: [PHP] ID-tags from picture? Gustav Wiberg wrote: Hi guys! If I've got this right, there will be some

[PHP] ID-tags from picture?

2006-04-03 Thread Gustav Wiberg
Hi guys! If I've got this right, there will be some kind of tag that is saved in a picture (hidden). Is it possible to retrieve this information from PHP and what it is called? Any ideas / suggestions would be approciated! /Gustav Wiberg -- PHP General Mailing List (http://www.php.net

[PHP] Div-element at same vert. position?

2006-03-28 Thread Gustav Wiberg
Hi guys! I have a code-snippet here: while ($dbArray = mysql_fetch_array($querys)) { $dbIDLevel1 = $dbArray[IDLevel1]; $dbLevel1Name = $dbArray[level1Name]; $dbFactsLevel1Name = $dbArray[factsLevel1Name]; $dbFactsPictureLevel1Name = $dbArray[factsPictureLevel1Name]; ? div id=factsmenu_?php echo

Re: [PHP] Div-element at same vert. position?

2006-03-28 Thread Gustav Wiberg
- Original Message - From: Jay Blanchard [EMAIL PROTECTED] To: Gustav Wiberg [EMAIL PROTECTED]; PHP General php-general@lists.php.net Sent: Tuesday, March 28, 2006 10:00 PM Subject: RE: [PHP] Div-element at same vert. position? [snip] I have a code-snippet here: while ($dbArray

Re: [PHP] Div-element at same vert. position?

2006-03-28 Thread Gustav Wiberg
- Original Message - From: Jay Blanchard [EMAIL PROTECTED] To: Gustav Wiberg [EMAIL PROTECTED]; PHP General php-general@lists.php.net Sent: Tuesday, March 28, 2006 11:52 PM Subject: RE: [PHP] Div-element at same vert. position? [snip] A. The is a CSS question 2. You didn't provide

Re: [PHP] making a tutorial

2006-03-16 Thread Gustav Wiberg
[]? Can't you name it as just favourite (without brackets) If you name it as just favourite, at least in Javascript you could loop through favourite as an array. I don't know if this works in PHP as well. Best regards /Gustav Wiberg -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] What am I missing?

2006-03-07 Thread Gustav Wiberg
this...? The requested URL /mobilkamera/admin/phpfunctions/addnewmanufacturer.php was not found on this server. ??? If this is not a question that suits the list, please guide me tips where to look... Best regards /Gustav Wiberg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] What am I missing?

2006-03-07 Thread Gustav Wiberg
- Original Message - From: Shaunak Kashyap [EMAIL PROTECTED] To: Gustav Wiberg [EMAIL PROTECTED]; PHP General php-general@lists.php.net Sent: Tuesday, March 07, 2006 8:05 PM Subject: RE: [PHP] What am I missing? It is more of an HTML/HTTP question than PHP but here's my shot

Re: [PHP] Mysql Rows

2006-03-05 Thread Gustav Wiberg
- Original Message - From: tedd [EMAIL PROTECTED] To: php-general@lists.php.net Cc: Gustav Wiberg [EMAIL PROTECTED]; Robert Cummings [EMAIL PROTECTED] Sent: Sunday, March 05, 2006 12:58 AM Subject: Re: [PHP] Mysql Rows Hi: Gustav said: No, maybe not when it's a small db, but when

Re: [PHP] Mysql Rows

2006-03-04 Thread Gustav Wiberg
- Original Message - From: tedd [EMAIL PROTECTED] To: php-general@lists.php.net Cc: benifactor [EMAIL PROTECTED]; Murray @ PlanetThoughtful [EMAIL PROTECTED]; Anthony Ettinger [EMAIL PROTECTED] Sent: Saturday, March 04, 2006 3:14 PM Subject: Re: [PHP] Mysql Rows planetthoughtful

Re: [PHP] Only 4 of 5...

2006-03-03 Thread Gustav Wiberg
- Original Message - From: John Nichel [EMAIL PROTECTED] To: PHP General php-general@lists.php.net Sent: Friday, March 03, 2006 2:30 AM Subject: Re: [PHP] Only 4 of 5... Gustav Wiberg wrote: Hi there! What's wrong here?? ?php ... open db... $sql = SELECT IDPic, picNameSmall FROM

Re: [PHP] Re: DOMElement::setAttribute() manual example question

2006-03-03 Thread Gustav Wiberg
- Original Message - From: Rob [EMAIL PROTECTED] To: Andreas Korthaus [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Friday, March 03, 2006 4:43 PM Subject: [PHP] Re: DOMElement::setAttribute() manual example question Andreas Korthaus wrote: Hi! I've a question regarding the

Re: [PHP] Coding Practice: Use global $var or pass in by refernce

2006-03-03 Thread Gustav Wiberg
- Original Message - From: Mark Steudel [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Friday, March 03, 2006 7:46 PM Subject: [PHP] Coding Practice: Use global $var or pass in by refernce I was wondering what the general rule on using the global driective versus passing in a

Re: [PHP] Re: DOMElement::setAttribute() manual example question

2006-03-03 Thread Gustav Wiberg
- Original Message - From: Rob [EMAIL PROTECTED] To: Gustav Wiberg [EMAIL PROTECTED] Cc: Andreas Korthaus [EMAIL PROTECTED]; php-general@lists.php.net Sent: Friday, March 03, 2006 8:04 PM Subject: Re: [PHP] Re: DOMElement::setAttribute() manual example question Gustav Wiberg wrote

Re: [PHP] Coding Practice: Use global $var or pass in by refernce

2006-03-03 Thread Gustav Wiberg
- Original Message - From: Andreas Korthaus [EMAIL PROTECTED] To: php-general@lists.php.net; Gustav Wiberg [EMAIL PROTECTED] Sent: Friday, March 03, 2006 8:53 PM Subject: Re: [PHP] Coding Practice: Use global $var or pass in by refernce Hi Gustav! Gustav Wiberg wrote: My oponion

[PHP] Swedish sourgeforge for php-prg

2006-03-03 Thread Gustav Wiberg
Hi there! I wonder as a swedish PHP-programmer if there are any sites like sourgeforge.net but in swedish? /G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Only 4 of 5...

2006-03-02 Thread Gustav Wiberg
Hi there! What's wrong here?? ?php ... open db... $sql = SELECT IDPic, picNameSmall FROM tbpics; $querys = mysql_query($sql); $dbArray = mysql_fetch_array($querys); if (intval($frmIDModel)0) { ? bVisa telefonbilder för ?php echo $dbModelName;?:/bbr ?php } else if

Re: [PHP] Only 4 of 5...

2006-03-02 Thread Gustav Wiberg
- Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; php-general@lists.php.net Sent: Thursday, March 02, 2006 11:05 PM Subject: RE: [PHP] Only 4 of 5... [snip] I have 5 posts in the table, but the images shown are only four! Why? [/snip] Are you counting starting with

Re: [PHP] Only 4 of 5...

2006-03-02 Thread Gustav Wiberg
- Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; php-general@lists.php.net Sent: Thursday, March 02, 2006 11:15 PM Subject: RE: [PHP] Only 4 of 5... [snip] while ($dbArray = mysql_fetch_array($querys)) { $dbIDPic = $dbArray[IDPic]; $dbPicNameSmall =

Re: [PHP] Only 4 of 5...

2006-03-02 Thread Gustav Wiberg
- Original Message - From: Thorsten Suckow-Homberg [EMAIL PROTECTED] To: Gustav Wiberg [EMAIL PROTECTED]; PHP General php-general@lists.php.net Sent: Thursday, March 02, 2006 11:13 PM Subject: Re: [PHP] Only 4 of 5... Because of this: $dbArray = mysql_fetch_array($querys

[PHP] Mailto members..?

2006-03-01 Thread Gustav Wiberg
Hi guys! Anyone knows of something like this, but for free? http://www.webscriptsdirectory.com/PHP/E-Mail-Systems/Php-Newsletter-Script-L1237/ All I want to do is to send a html mail to all my members at http://www.stammis.com/ (swedish site for pedigrees). It would be a informative letter

Re: [PHP] Mailto members..?

2006-03-01 Thread Gustav Wiberg
- Original Message - From: Kevin Davies - Bonhurst Consulting [EMAIL PROTECTED] To: 'Jim Moseby' [EMAIL PROTECTED]; 'Gustav Wiberg' [EMAIL PROTECTED]; 'PHP General' php-general@lists.php.net Sent: Wednesday, March 01, 2006 4:32 PM Subject: RE: [PHP] Mailto members..? snip Others

Re: [PHP] About date time...

2006-03-01 Thread Gustav Wiberg
- Original Message - From: Marcus Gnaß [EMAIL PROTECTED] To: Gustav Wiberg [EMAIL PROTECTED] Sent: Wednesday, March 01, 2006 5:24 PM Subject: Re: [PHP] About date time... Gustav Wiberg schrieb: function currenttime() { $t = date('h\:\ i\:\ s'); $returnTime = str_replace( , , $t

Re: [PHP] Mailto members..?

2006-03-01 Thread Gustav Wiberg
- Original Message - From: Marcus Gnaß [EMAIL PROTECTED] To: Gustav Wiberg [EMAIL PROTECTED] Sent: Wednesday, March 01, 2006 5:29 PM Subject: Re: [PHP] Mailto members..? Gustav Wiberg schrieb: while ($dbArray = mysql_fetch_array($querys)) { ...sendmail (from, to, htmltext

Re: [PHP] Mailto members..?

2006-03-01 Thread Gustav Wiberg
- Original Message - From: Jim Moseby [EMAIL PROTECTED] To: 'Gustav Wiberg' [EMAIL PROTECTED]; Marcus Gnaß [EMAIL PROTECTED] Cc: PHP General php-general@lists.php.net Sent: Wednesday, March 01, 2006 7:29 PM Subject: RE: [PHP] Mailto members..? Gustav Wiberg schrieb: while

[PHP] internal error when mailing...

2006-03-01 Thread Gustav Wiberg
Here's my code ?php //Thanx to jcwebb at dicoe dot com //base of the code at php.net is used here // Is the OS Windows or Mac or Linux // if (strtoupper(substr(PHP_OS,0,3)=='WIN')): $eol=\r\n; elseif (strtoupper(substr(PHP_OS,0,3)=='MAC')): $eol=\r; else: $eol=\n; endif; //Message Subject

Re: [PHP] Mailto members..?

2006-03-01 Thread Gustav Wiberg
- Original Message - From: Jim Moseby [EMAIL PROTECTED] To: 'Gustav Wiberg' [EMAIL PROTECTED]; Jim Moseby [EMAIL PROTECTED] Cc: PHP General php-general@lists.php.net Sent: Wednesday, March 01, 2006 9:17 PM Subject: RE: [PHP] Mailto members..? This type of email may be more

Re: [PHP] internal error when mailing...

2006-03-01 Thread Gustav Wiberg
- Original Message - From: John Nichel [EMAIL PROTECTED] To: Gustav Wiberg [EMAIL PROTECTED] Sent: Wednesday, March 01, 2006 9:57 PM Subject: Re: [PHP] internal error when mailing... Gustav Wiberg wrote: Here's my code ?php //Thanx to jcwebb at dicoe dot com //base of the code

[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

Re: [PHP] About date time...

2006-02-28 Thread Gustav Wiberg
- Original Message - From: Grant Young [EMAIL PROTECTED] To: php-general@lists.php.net Cc: [EMAIL PROTECTED] Sent: Tuesday, February 28, 2006 11:25 PM Subject: Re: [PHP] About date time... Hi Gustav. I'm a swede, and I we use hours 0 - 24. 8 pm = 20 for us. 9 pm = 21 for us 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 11:34 PM Subject: Re: [PHP] About date time... Gustav: I'm a swede, and I we use hours 0 - 24. Well... I don't know what I am

[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] PHP on domain...

2006-01-29 Thread Gustav Wiberg
Hi guys! How can you check if a domain (that you don't own), can run PHP-code? Is it possible? /G @varupiraten.se -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP on domain...

2006-01-29 Thread Gustav Wiberg
- Original Message - From: Steve Edberg [EMAIL PROTECTED] To: Gustav Wiberg [EMAIL PROTECTED]; PHP General php-general@lists.php.net Sent: Sunday, January 29, 2006 10:51 PM Subject: Re: [PHP] PHP on domain... At 10:08 PM +0100 1/29/06, Gustav Wiberg wrote: Hi guys! How can you

Re: [PHP] Pages Expiring

2006-01-05 Thread Gustav Wiberg
Hi there! Yes, actually there is a dirty solution to this. You can use javascript to skip certain pages in historylist. window.document.replace('page1.php'); window.document.location = 'page2.php'; window.document.location.replace('page3.php'); The only page that would exist in the history

Re: [PHP] Hi!

2005-12-20 Thread Gustav Wiberg
Hi there! View source-code of output. Maybe that could give you a clue! :-) /G http://www.varupiraten.se/ - Original Message - From: Nanu Kalmanovitz [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Tuesday, December 20, 2005 8:10 PM Subject: [PHP] Hi! Hi! Using a Win 2000

[PHP] Load from db into select-list

2005-12-18 Thread Gustav Wiberg
Hi there! Is it possible to load a select-list with databasinfo without reloading a page??? /G http://www.varupiraten.se/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Fw: [PHP] Load from db into select-list

2005-12-18 Thread Gustav Wiberg
- Original Message - From: Gustav Wiberg [EMAIL PROTECTED] To: Curt Zirzow [EMAIL PROTECTED] Sent: Sunday, December 18, 2005 8:46 PM Subject: Re: [PHP] Load from db into select-list Ajax? What is that? /G - Original Message - From: Curt Zirzow [EMAIL PROTECTED] To: php

[PHP] Weird html - No real cr

2005-12-16 Thread Gustav Wiberg
-16 //by Gustav Wiberg / [EMAIL PROTECTED] //Please visit www.varupiraten.se for more scripts // require(phpfunctions/datefunctions.php); $todayDate = dateOfCurrentTime(); require(phpfunctions/dbsafety.php); require(phpfunctions/opendb.php); //Delete unessary products (products without

Re: [PHP] Weird html - No real cr

2005-12-16 Thread Gustav Wiberg
Hi Yes, but I assume that echo hrKontroll rad i textfil:$rowsInTextFile av $totalRowsInTextFilebr; would render a newline ? /G - Original Message - From: [EMAIL PROTECTED] To: Gustav Wiberg [EMAIL PROTECTED] Sent: Saturday, December 17, 2005 12:15 AM Subject: Re: [PHP] Weird html

Re: [PHP] Weird html - No real cr

2005-12-16 Thread Gustav Wiberg
Ok, thanx!:-) /G - Original Message - From: Brady Mitchell [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Saturday, December 17, 2005 12:35 AM Subject: RE: [PHP] Weird html - No real cr Hi Yes, but I assume that echo hrKontroll rad i textfil:$rowsInTextFile av

[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

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 php-general@lists.php.net Sent: Tuesday, November 29, 2005 10:00 PM

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: 'Gustav Wiberg' [EMAIL PROTECTED]; PHP General php

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

2005-11-08 Thread Gustav Wiberg
- Original Message - From: Rahul S. Johari [EMAIL PROTECTED] To: PHP php-general@lists.php.net 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

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

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

Re: [PHP] FileExists?

2005-11-07 Thread Gustav Wiberg
- Original Message - From: Jay Blanchard [EMAIL PROTECTED] To: 'Gustav Wiberg' [EMAIL PROTECTED]; PHP General php-general@lists.php.net Sent: Monday, November 07, 2005 9:02 PM Subject: RE: [PHP] FileExists? [snip] File_exists doesn't seem to work with URLs that point to another

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

[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] Sent: Wednesday, October 12, 2005 8:56 PM Subject: RE

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

2005-10-12 Thread Gustav Wiberg
- Original Message - From: Joe Harman [EMAIL PROTECTED] To: php-general@lists.php.net 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] wrote: Hi

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

[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 : NH01LiteOn DVD±RW 16725http://www.varupiraten.se/web/spec_product.php?ID=1711PC-CD-DVD-LDW-1653S-09C1 Line #4 : NH01LITEON

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! How do I get ID number from these lines

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 PROTECTED] Sent: Sunday, October 09, 2005 4:37 PM

[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 ?php $lines = file('export/nhExportVarupiraten.txt'); // Loop through our array, show HTML source as HTML source; and line numbers too. foreach ($lines as $line_num = $line) { echo Line #b{$line_num}/b : .

Re: [PHP] Regular expressions

2005-10-09 Thread Gustav Wiberg
- Original Message - From: Jasper Bryant-Greene [EMAIL PROTECTED] To: PHP General php-general@lists.php.net Sent: Sunday, October 09, 2005 8:06 PM Subject: Re: [PHP] Regular expressions Gustav Wiberg wrote: ?php $lines = file('export/nhExportVarupiraten.txt'); // Loop through our

Re: [PHP] passing a variable with php_self

2005-09-27 Thread Gustav Wiberg
- Original Message - From: A.J. Brown [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Tuesday, September 27, 2005 3:26 PM Subject: Re: [PHP] passing a variable with php_self a href=?=$PHP_SELF?action=bigger? works well too -- Sincerely, A.J. Brown Jim Moseby [EMAIL

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

Re: [PHP] selfreferencing script with output

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

Re: [PHP] LINKS

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

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

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

[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

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 php-general@lists.php.net Sent: Sunday, September 25, 2005 1:26 AM Subject: Re: [PHP] OT - database and indexes... but anyone please? I'm not an expert on databases, and I

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

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

Re: [PHP] serialize

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

Re: [PHP] Opensource webshop

2005-09-23 Thread Gustav Wiberg
- Original Message - From: Vince LaMonica [EMAIL PROTECTED] To: Jasper Bryant-Greene [EMAIL PROTECTED] Cc: php-general@lists.php.net 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

[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

  1   2   >