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

2007-08-27 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: &

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&q

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" Sent: Monday, August 27, 2007 8:59 PM

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

[PHP] windows auth with php

2007-08-27 Thread Gustav Wiberg
Should it be larger than 5.1.0 ? Is that why the authentication 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

[PHP] why?

2007-08-27 Thread Gustav Wiberg
7. What could be the problem? Best regards /Gustav Wiberg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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 Ge

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

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

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

Re: [PHP] Random pictures - not twice

2006-12-03 Thread Gustav Wiberg
7;m sure others have had similar questions and just havn't asked. -TG = = = Original message = = = Hi there! I have created a script the generates random pictures...    With this above script the same picture can be shown twice. Is there any smart way of avoiding this without having to

[PHP] Random pictures - not twice

2006-12-03 Thread Gustav Wiberg
Hi there! I have created a script the generates random pictures...    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

[PHP] Quotes?

2006-09-05 Thread Gustav Wiberg
ork. tested diffrent types.. $str = ''; </pre><tt>$str = 'var uri = '<a rel="nofollow" href="http://impse.tradedoubler.com/imp/js/16350344/1122503">http://impse.tradedoubler.com/imp/js/16350344/1122503</a>?' + </tt><tt>ne

Re: [PHP] problem with Firefox print preview?

2006-08-11 Thread gustav
come across this problem before? > > Thanks in advance > Angelo > Seems like it is a standard html-problem. IE shows most webbpages, even if they're not strictly html-coded from the standard of html. FireFox is more sensi

Re: [PHP] Open Source mailinglist?

2006-07-19 Thread Gustav Wiberg
hat-function located at IRC, and I don't want 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] Open Source mailinglist?

2006-07-19 Thread Gustav Wiberg
ot doing advertising here, 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] Re: Range mktime?

2006-05-18 Thread Gustav Wiberg
- Original Message - From: "Barry" <[EMAIL PROTECTED]> To: ; "Gustav Wiberg" <[EMAIL PROTECTED]> Cc: "PHP General" Sent: Thursday, May 18, 2006 1:45 PM Subject: [PHP] Re: Range mktime? Gustav Wiberg schrieb: Hi I wondew which range the mk

[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

[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" .

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" Sent: Monday, May 15, 2006 10:32 PM Subject: Re: [PHP] Check before uploading Gustav Wiberg wrote: From: "Stut" <[

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" Sent: Monday, May 15, 2006 1:35 PM Subject: Re: [PHP] Copy of image -> smaller On 5/15/06, Gustav Wiberg <[EMAIL

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" Sent: Monday, May 15, 2006 12:50 PM Subject: Re: [PHP] Check before uploading Gustav Wiberg wrote: Just a thought. Someone pos

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" Sent: Monday, May 15, 2006 9:42 AM Subject: Re: [PHP] Copy of image -> smaller Gustav Wiberg wrote: Hi there! When I

[PHP] Check before uploading

2006-05-15 Thread Gustav Wiberg
might be better 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
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 -

[PHP] Copy of image -> smaller

2006-05-15 Thread Gustav Wiberg
omething I 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 Wiber

Re: [PHP] Uploading Image File

2006-05-10 Thread gustav
> Morning all. > > I would like to know if anybody could e-mail an example of code to upload > files into a MySQL server using PHP from > a form. > > Thanks a lot. > > Best Regards, > > RENZO CLAVIJO > What exactly do you mean? Best regards /Gustav Wiberg

[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" Sent: Tuesday, April 04, 2006 4:14 AM Subject: Re: [PHP] ID-tags from picture? Gustav Wiberg wrote: Hi guys! If I've got

[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.ph

Re: [PHP] HTTP status code

2006-03-31 Thread gustav
aybe the tags in the html-document screws it up regarding to the use of html. IE is more insensitive regarding correct typing of html-tags. >>header('HTTP/1.1 404 Not Found'); >>header("Status: 404 Not Found"); Why do you have ' on the first line and "

Re: [Fwd: Re: Re: [PHP] Problem with IE and not displaying the correct images...]

2006-03-29 Thread gustav
> if anyone feels like DDoS'ing ksa.zajil.com ... > > be my guest :-/ > *LOL* > Original Message > Return-Path: <[EMAIL PROTECTED]> > > Received: from localhost (localhost [127.0.0.1]) by mx1.moulin.nl > (Postfix) with ESMTP id 392B7172C08 for > > Received: from mx1.moulin

Re: [PHP] require_once hell

2006-03-29 Thread gustav
unsub.php > > Hi! It would be easier if you would include some code... /Gustav Wiberg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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" Sent: Tuesday, March 28, 2006 11:52 PM Subject: RE: [PHP] Div-element at same vert. position? [snip] A. The is a CSS ques

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" Sent: Tuesday, March 28, 2006 10:00 PM Subject: RE: [PHP] Div-element at same vert. position? [snip] I

[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"]; ?> align="top" wid

Re: [PHP] making a tutorial

2006-03-16 Thread Gustav Wiberg
? John Hi there! Do you have to name it as favourite[]? 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 r

Re: [PHP] Re: test security of code

2006-03-08 Thread gustav
ch for ;) > > Greets > Barry > -- > Smileys rule (cX.x)C --o(^_^o) > Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o) > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Or why not post to the list directly... and ask if WE see anything :-) Best regards /Gustav Wiberg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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" Sent: Tuesday, March 07, 2006 8:05 PM Subject: RE: [PHP] What am I missing? It is more of an HTML/HTTP question

[PHP] What am I missing?

2006-03-07 Thread Gustav Wiberg
his 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://www.php.net/unsub.php

RE: [PHP] output Today's date

2006-03-06 Thread gustav
ethod, which returns > the difference between local time and universal time in > minutes. > > Jared > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Hi there! Yes, Javascript may have a such function, BUT t

Re: [PHP] Convert all named entities into numeric character references

2006-03-06 Thread gustav
Hi there! http://se.php.net/manual/en/function.htmlentities.php ? Best regards Gustav Wiberg > Does anyone know of a Php funtion that can do this: > http://golem.ph.utexas.edu/~distler/blog/NumericEntities.html > > > Thanks, > Jacob > > -- > PHP General Mailing List

RE: [PHP] highlight_string()

2006-03-06 Thread gustav
> > Thanks > > berber > > -- > PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: > http://www.php.net/unsub.php > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Hi guys! Ma

Re: [PHP] Mysql Rows

2006-03-05 Thread Gustav Wiberg
- Original Message - From: "tedd" <[EMAIL PROTECTED]> To: 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, may

Re: [PHP] Mysql Rows

2006-03-04 Thread Gustav Wiberg
- Original Message - From: "tedd" <[EMAIL PROTECTED]> To: 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 wrote: Bu

[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

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: ; "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 wrot

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]>; Sent: Friday, March 03, 2006 8:04 PM Subject: Re: [PHP] Re: DOMElement::setAttribute() manual exam

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: 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 variable by reference,

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: 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 example in DOMElem

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

2006-03-03 Thread Gustav Wiberg
- Original Message - From: "John Nichel" <[EMAIL PROTECTED]> To: "PHP General" Sent: Friday, March 03, 2006 2:30 AM Subject: Re: [PHP] Only 4 of 5... Gustav Wiberg wrote: Hi there! What's wrong here?? You're pulling the first row here i

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" Sent: Thursday, March 02, 2006 11:13 PM Subject: Re: [PHP] Only 4 of 5... Because of this: $dbArray = my

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

2006-03-02 Thread Gustav Wiberg
- Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; 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 = $dbArray["picNameSmall"];

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

2006-03-02 Thread Gustav Wiberg
- Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; 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 1 or 0? Don't unders

[PHP] Only 4 of 5...

2006-03-02 Thread Gustav Wiberg
Hi there! What's wrong here?? 0) { ?> Visa telefonbilder för : 0) { $dbNameManufacturer = $dbArray["nameManufacturer"]; ?> Visa telefonbilder för : Alla telefonbilder i arkivet: height="130"> I have 5 posts in the table, but the images shown are only four! Why? /G -- PH

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 if (strtoupper(su

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" Sent: Wednesday, March 01, 2006 9:17 PM Subject: RE: [PHP]

[PHP] internal error when mailing...

2006-03-01 Thread Gustav Wiberg
Here's my code 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 $emailsubject="Stammis Internet nyhetsbrev " . date("Y/m/d H:i:s"); //Message Body ob_start(); require("emailbody.php"

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" Sent: Wednesday, March 01, 2006 7:29 PM Subject: RE: [PHP

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)) {

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

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'" Sent: Wed

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

Re: [PHP] About date & time...

2006-02-28 Thread Gustav Wiberg
- Original Message - From: "tedd" <[EMAIL PROTECTED]> To: ; "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

Re: [PHP] About date & time...

2006-02-28 Thread Gustav Wiberg
- Original Message - From: "Grant Young" <[EMAIL PROTECTED]> To: 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 =

Re: [PHP] About date & time...

2006-02-28 Thread Gustav Wiberg
- Original Message - From: "tedd" <[EMAIL PROTECTED]> To: ; "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 f

Re: [PHP] About date & time...

2006-02-28 Thread Gustav Wiberg
- Original Message - From: "tedd" <[EMAIL PROTECTED]> To: ; "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 f

[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

[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) { // Str

[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

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'" Sent: Saturday, February 25, 2006 7:37 PM Subject: RE: [PHP] RSS / XML Here are a

[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: http://www.php.net/unsub.p

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

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

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: Sent: Tuesday, December 20, 2005 8:10 PM Subject: [PHP] Hi! Hi! Using a Win 2000 WS (work station), I'm

Fw: [PHP] Load from db into -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 -list Ajax? What is that? /G - Original Message - From: "

[PHP] Load from db into -list

2005-12-18 Thread Gustav Wiberg
Hi there! Is it possible to load a -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

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

2005-12-16 Thread Gustav Wiberg
Ok, thanx!:-) /G - Original Message - From: "Brady Mitchell" <[EMAIL PROTECTED]> To: Sent: Saturday, December 17, 2005 12:35 AM Subject: RE: [PHP] Weird html - No "real" Hi Yes, but I assume that echo "Kontroll rad i textfil:$rowsInTextFile av $totalRowsInTextFile"; would ren

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

[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] 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: "'

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

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

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

[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

[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] How to know?

2005-10-13 Thread gustav
Hi there! I have a string like this... (envorinment string) HOSTfriggAUDIODEV/tmp/SUNWut/dev/utaudio/8dtstart_sessionlogfile/dev/nullDTSCREENSAVERLISTStartDtscreenBlankXMBINDDIR/usr/dt/lib/bindingsUTAUDIODEV/tmp/SUNWut/dev/utaudio/8AB_CARDCATALOG/usr/dt/share/answerbooks/C/ab_cardcatalogLC_ALLCDT

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

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

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

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

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

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

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

  1   2   3   >