Re: [PHP] help with adding

2005-02-25 Thread gustav
Hi there! I guess $sum =+ intval($_POST['qty'.$i]); should be $sum += intval($_POST['qty'.$i]); /G @varupiraten.se > Jay Fitzgerald wrote: >> I have messed with this for a couple of days and cant get it right. >> Maybe I >> need sleep :-) >> >> >> >> The code below is echoing the qty correctly

Re: [PHP] Create MDB File

2005-03-29 Thread gustav
What's the reason reason converting from MySQL to Access? *curious* /G @varupiraten.se > Thanks for your reply, > > but this only works on Windows. I need a program that will create an MDB > file on the fly from a query on the MySQL database... > > > "Johannes Findeisen" <[EMAIL PROTECTED]> wro

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] 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] 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] 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] 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] 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: [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] 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: [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] DOS-textfile?

2004-11-17 Thread gustav
do that??? /Gustav Wiberg Swedish site: http://www.varupiraten.se/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] File-handling

2004-12-17 Thread gustav
Hi there! Can someone explain the major difference between fgets and fopen? Which is the best together with plain textfiles? and why? eof and feof. What's the difF? *don't get it* When using fget. Is it something special you should think when taking care of line-breaks? (/n, /r/n ...) /G -- P

[PHP] or-die option - Opinions please...

2005-01-03 Thread gustav
Hi there all! I'm thinking of the "or die" suffix (or option or whatever it is called)... I can use or die together with opening a db. open_mysqldb("bla.bla.") or die("couldn't connect to db"); But this is just useful when developing? I don't want my users to see that a specific table can't be

[PHP] SSL

2005-01-05 Thread gustav
Hi there! Thinking of going from http to https on the server. My question is: Would there be any differences in my php-code from now? /G @varupiraten.se -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Which script runs first?

2005-01-08 Thread gustav
Hi there! I have two frames, one with left.php in the left frame and one with main.php in the right frame. I refresh the contents of main.hp at the end of left.php. (With help of Javascript actually, maybe could be done with HEADER(...)) My Question: Is it ALWAYS so that left.php must be execut

[PHP] Not about PHP, more about this list...

2005-01-08 Thread gustav
Hi there! I'm wondering. Why don't I see my own posts in the list? I have to guess that the mail has arrived correctly to the list. I only see them when someone has posted and replied on my questions... /G @varupiraten.se -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] $_REQUEST or $_POST?

2005-01-17 Thread gustav
Hi there! I've learned to use $_REQUEST but it seems to me that it uses any $_GEt, or $_POST. Is it better to $_POST when I'm just using $_POST? It seems like that if I want "good code", but I mean is it faster with $_POST? /G @varupiraten.se -- PHP General Mailing List (http://www.php.net/) To

[PHP] read file from specific line

2005-01-27 Thread gustav
Hi there! Is there any way reading a file from a specific line? (textfile) /G @varupiraten.se -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[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-I18N] Encoding detection

2001-03-18 Thread Gustav Foseid
n so in > my case encoding will do the trick... of course if I knew a way to get > the encoding of the user's browser... You have the information you need in $HTTP_ACCEPT_CHARSET. -- Gustav Foseid, Initio IT-løsninger AS [EMAIL PROTECTED] -- PHP Internationalization Mailing List (

Re: [PHP-I18N] Encoding detection

2001-03-19 Thread Gustav Foseid
nguage set, in my requests HTTP_ACCEPT_LANGUAGE is set to "no, en, sv". -- Gustav Foseid, Initio IT-løsninger AS [EMAIL PROTECTED] -- PHP Internationalization Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To con

Re: [PHP] source code protection

2005-02-26 Thread Gustav Wiberg
Hi there! What's the point of doing that? The PHP-codes are well protected if they are on a well configured server. /G @varupiraten.se - Original Message - From: "shabanip" <[EMAIL PROTECTED]> To: Sent: Saturday, February 26, 2005 4:43 PM Subject: [PHP] source code protection is there

[PHP] Apache and PHP

2005-02-28 Thread Gustav Wiberg
Hi there! I've just installed Apache on a new computer. (just for testing) It's Windows XP. I've then installed PHP and it says that Apache could be not configured automatically. Newbies question as hell probably but here it goes: I can access my Apache-server, I have the document-root to c:\webb

Re: [PHP] Apache and PHP

2005-02-28 Thread Gustav Wiberg
Hi there! Thanx! :-) I hope I can solve this myself now... :-) /G @varupiraten.se - Original Message - From: "dan" <[EMAIL PROTECTED]> To: Sent: Monday, February 28, 2005 11:23 PM Subject: Re: [PHP] Apache and PHP Gustav Wiberg wrote: Hi there! I've just inst

[PHP] Sessions and frames

2005-04-14 Thread Gustav Wiberg
Hi there! I have built my site into frames. I want to transfer a session-variable from my left frame to my right frame... How do I do this best? Thoughts? /G @varupiraten.se -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sessions and frames

2005-04-16 Thread Gustav Wiberg
Hi there! Thanx a lot, i thought it was like that, but I wasn't sure /G @varupiraten.se - Original Message - From: "Chris W. Parker" <[EMAIL PROTECTED]> To: "Gustav Wiberg" <[EMAIL PROTECTED]>; "PHP General" Sent: Friday, April 15, 2005

[PHP] Single SQL-statement in PHP to order...

2005-04-18 Thread Gustav Wiberg
Hi there! I guess this is off-topic? but I want to know if this is possible. (If there's anyone out there that have a solution, I would appreciate it though) I want to know if there is anyway of showing tables in PHP in an order like this in a single SQL-statement... Table is like this: IDCate

[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

[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

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?

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

[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

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

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! 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 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: &

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

[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

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

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

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

[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

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

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 11:34 PM Subject: Re: [PHP] About date & time... Gustav: I'm a swede, and I we use hours 0 - 24. Well... I

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

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

[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]>; "Jim Moseby" <[EMAIL PROTECTED]> Cc: "PHP General" Sent: Wednesday, March 01, 2006 9:17 PM Subject: RE: [PHP]

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

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

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

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

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

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

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

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

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

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

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

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

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

[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: ; "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] Freing memory resources?

2005-06-16 Thread Gustav Wiberg
s 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: "; //Close file for writing

[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 = $dbA

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

2005-08-06 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]>; Sent: Sunday, Augus

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

[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
rse I 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" <[EM

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

2005-08-23 Thread Gustav Wiberg
se ? /G @varupiraten.se - Original Message - From: "Jasper Bryant-Greene" <[EMAIL PROTECTED]> To: 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 from one

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: Sent: Tuesday, August 23, 2005 10:21 PM Subject: Re: [PHP] possib

[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

  1   2   3   >