Re: [PHP] How to handle the POST data

2003-11-12 Thread Kim Steinhaug
"There are many solutions. My favorite:" That is, my favourite aswell! :) Works like a charm, not to say the benefits. You get all the processing detail inside 1 single file, which makes development easier in my opinion. Kim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visi

[PHP] Re: Share Folder...

2003-11-12 Thread Kim Steinhaug
Do you mean like windows shared folders? What do you mean ? kim "D. Jame" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi, I have three machine 1, 2, 3. all online & have unique IP. one of them (no. 3) running web server which configured with PHP, now my problem is I want

[PHP] Re: Delete Temporary Internet Files

2003-11-12 Thread Kim Steinhaug
Hmm.. This shouldnt be a problem from what I know. Though it woldt be a perfect system, all you would need to do, is have a script that does : 1: Read the IE cache directory and puts all the entries into an array (all the files), 2: unlink all the files in the array. This would in my opinion wo

[PHP] Re: Share Folder...

2003-11-12 Thread Kim Steinhaug
You wrote in email : > How to find the Drive letters and Drive Types of remote system WNT, i have > system administrator password too.. > this all work done by PHP, when my client give IP, user /password then > my PHP scirpt show him system drive/ folders... how it possible > > > Plz help

[PHP] Re: How to find the Drive letters

2003-11-12 Thread Kim Steinhaug
Check my reply under "Share folder". >From what I know you cant get hold of the accuall drive letter on a remote machine without hacking it, and therefore my short answer will be that U cant do it. U can get the shares, and access them as explained in the other post -> but not the physical drive l

Re: [PHP] Help with scripts to add records to a database

2003-11-12 Thread Kim Steinhaug
Important to mention, that the reason why the $variable probably doesnt work is that your service provider has turned off the globals. In this case you would need, as Zhuravlev mentions, use $_POST["variable"] to insert the records. All in all, since the factory setting in the new versions of PHP

[PHP] Re: sorting files by date

2003-11-12 Thread Kim Steinhaug
U wouldnt need to timestamp it, split the filename insert into 2 dimensional array, and use the sort() command and you have it. Se examples her, theres also examples of sorting into more levels, meaning you can sort first by date, then by filename aslong as you do your splitting right, :) http://

[PHP] Re: Time problem

2003-11-12 Thread Kim Steinhaug
Well, If your into your programming, have a look at this one : http://www.phpclasses.org/browse.html/package/1199.html It does something else, but the same approach can be used to format your readable dates. This wheel has surely been invented already, so you probably should do some googling to f

Re: [PHP] Re: Delete Temporary Internet Files

2003-11-12 Thread Kim Steinhaug
> wrote in message news:[EMAIL PROTECTED] > > --- Kim Steinhaug <[EMAIL PROTECTED]> wrote: > > Hmm.. > > > > This shouldnt be a problem from what I know. Though it woldt be a > > perfect > > system, > > > > all you would need to do, is have a

Re: [PHP] Re: Delete Temporary Internet Files

2003-11-12 Thread Kim Steinhaug
the fact he earlier mentioned cache files, could be Opera however) are controlled from an .INI file, this also should be no problem on the windows machine. But I think we have long passed the topic here. Kim "Mark" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >

Re: [PHP] Calling PHP functions from within javascript

2003-11-13 Thread Kim Steinhaug
"First thing is, it's possible" First of all PHP is server-side and has nothing to do with client side. If you have managed to do this, you must have some concepts screwed up! Lets not believe that PHP is client side all of a sudden! Sorry mac -> But you havnt done this in the past! a) On the oth

Re: [PHP] $_POST bug?

2003-11-13 Thread Kim Steinhaug
My system (win2000 IIS) also handles 0, and webserver (redhat apache) also handles 0. Your system sounds faulty in some way, what browser are U using and what version of PHP. I know from earlier experience that some versions of Netscape behaves strange on the elements, meaning when posting / "ge

Re: [PHP] Calling PHP functions from within javascript

2003-11-13 Thread Kim Steinhaug
"scripting techniques and a hidden iframe" Ahh... Nice one! This accually didnt come to mind at all for me, probably because this sort of scripting soon gets very complicated given that such applications are supposed to work flawlessy for the end user. And to many loading windows (hidden frames),

[PHP] Re: Extracting Source code from Binary Files(.dll,.exe.,class)

2003-11-13 Thread Kim Steinhaug
I used to think this was a very much needed tool, but now I have a different opinion. Thank god reverse engineering isnt the easiest thing to do! Why else do we accually pay licenses for products like IonCube and Zend Encoder! They would be worthless if such software were available, not to think

[PHP] Re: get some part of text

2003-11-14 Thread Kim Steinhaug
emp2[0]; Voila! Should always work, aslong as there there are always " around the text. -- Kim Steinhaug --- There are 10 types of people when it comes to binary numbers: those who understand them, and those who don't.

Re: [PHP] can I license a php script?

2003-11-14 Thread Kim Steinhaug
code to fit their needs without you getting credit /payd for it. 2) Your customers doesnt play "developers" and try jerking your scripts, which in the long run gives you alot of extra support time as the scripts go bugging out. Happ

[PHP] Re: get some part of text

2003-11-14 Thread Kim Steinhaug
- - The above example I use alot, I find pushing things into array beeing a very handy way of doing things, as its very nice and handles n occurencies. -- Kim Steinhaug --- There are 10 t

[PHP] Re: Storing images

2003-11-15 Thread Kim Steinhaug
your server, and how quick you want your site to accessible for your visitors I would stick to a) I dont think it good practise to store images into the database either. -- Kim Steinhaug --- There are 10 types of people when it comes to

[PHP] Re: Alternet row colors

2003-11-15 Thread Kim Steinhaug
1 replace #00 width $backcolor 2. Insert the logic (figc), all lines, into line 19 3. Place fig a in line 4. -- Kim Steinhaug --- There are 10 types of people when it comes to binary numbers: those who

Re: [PHP] Re: Alternet row colors

2003-11-16 Thread Kim Steinhaug
Thanks for this tip, i used to use this when I programmed Perl. But I didnt know it worked here aswell, hehe. Absolutely true that this is much better code practise, and it eases up the lines in the code. Great tip! -- Kim Steinhaug

[PHP] Re: Table statistics

2003-11-16 Thread Kim Steinhaug
1 for each instance of the user to meassure the counts : $count[$Screen_ Name]++; Finally you sort the array and print out the first 5. (The 2 last steps should be put together since its no use going through the data twice) -- Kim Steinhaug ---

[PHP] Re: Table statistics

2003-11-16 Thread Kim Steinhaug
By the way, while I write the message I forgot to correct the "2 dimentional array" to "array"... Context is everything, :) -- Kim Steinhaug --- There are 10 types of people when it comes to binary numbers: those

Re: [PHP] Unzip a file.

2003-11-16 Thread Kim Steinhaug
on phpclasses.org there is a ZIP class that does all you need to do. Havnt got the time to give you the url right now, but look there. -- Kim Steinhaug --- There are 10 types of people when it comes to binary numbers: those who

Re: [PHP] Unzip a file.

2003-11-17 Thread Kim Steinhaug
nd windows. This can zip down a directory of 1GB of data (tested), and depack it to another directory (tested). You can also extract single files out of the directory. If you havnt found a sollution you should try this one. -- Kim Steinhaug ---

Re: [PHP] Storing images for photo album?

2003-11-17 Thread Kim Steinhaug
you! -- Kim Steinhaug --- There are 10 types of people when it comes to binary numbers: those who understand them, and those who don't. --- "David T-G" <[EMAIL

Re: [PHP] Can't fetch HTTP POST data in PHP?

2003-11-17 Thread Kim Steinhaug
tring(3) "123" ["email"]=> string(3) "123" ["submit"]=> string(10) "Submit me!" } - Untitled \n"; //phpinfo(); echo "\n"; var_dump($_POST); ?> Your nam

[PHP] Re: thanks for the summary (was "Re: [PHP] Can't fetch ...")

2003-11-17 Thread Kim Steinhaug
? It might be a dumb question, but when I know this I might be able to look further into the problem. -- Kim Steinhaug --- There are 10 types of people when it comes to binary numbers: those who understand them, and those who don&#

[PHP] Arrays and performance

2003-11-18 Thread Kim Steinhaug
some experience on this? -- Kim Steinhaug --- There are 10 types of people when it comes to binary numbers: those who understand them, and those who don't. --- -- PHP Ge

Re: [PHP] Arrays and performance

2003-11-18 Thread Kim Steinhaug
200 MB = No PHP! b) I should do some benchmarking, to find the "magic" marker for how much XML data that is "affordable" to grab when done on a webserver with other clients to prevent angry customers or failures due to factory timeout setting to 30 secs. -- Kim Steinhaug

[PHP] Re: Max File Size exceeded

2003-11-24 Thread Kim Steinhaug
and he most likely would love to sell you a dedicated server (so would I, :). -- Kim Steinhaug --- There are 10 types of people when it comes to binary numbers: those who understand them, and those who do

Re: [PHP] Passing vars w/refresh w/register globals off?

2003-11-25 Thread Kim Steinhaug
g for here, but hey, it seems like you dont know yourself, hehe -- Kim Steinhaug --- There are 10 types of people when it comes to binary numbers: those who understand them, and those

[PHP] Re: Change Date

2003-11-25 Thread Kim Steinhaug
somthing use the date() command. -- Kim Steinhaug --- There are 10 types of people when it comes to binary numbers: those who understand them, and those who don't. --- &

[PHP] Re: House for rent - Good price

2003-11-27 Thread Kim Steinhaug
Fix your clock! Post like theese really screws up the layout in my newsreader! -- Kim Steinhaug --- There are 10 types of people when it comes to binary numbers: those who understand them, and those who don&#

[PHP] Re: Translate web site language

2003-11-27 Thread Kim Steinhaug
Fix your clock! Post like theese really screws up the layout in my newsreader! -- Kim Steinhaug --- There are 10 types of people when it comes to binary numbers: those who understand them, and those who don&#

[PHP] Re: Associative vs normal arrays

2003-11-27 Thread Kim Steinhaug
Fix your clock! Post like theese really screws up the layout in my newsreader! -- Kim Steinhaug --- There are 10 types of people when it comes to binary numbers: those who understand them, and those who don&#

[PHP] The clock issue in this forum!

2003-11-27 Thread Kim Steinhaug
several ways now, but I cant seem to fix them. Any help would be appritiated? Maby I should change newsreader? -- Kim Steinhaug --- There are 10 types of people when it comes to binary numbers: those who understand them, and those who

[PHP] Re: Print..

2003-11-27 Thread Kim Steinhaug
Fix your clock! Post like theese really screws up the layout in my newsreader! -- Kim Steinhaug --- There are 10 types of people when it comes to binary numbers: those who understand them, and those who don&#

[PHP] Re: Count online users question

2003-11-27 Thread Kim Steinhaug
Cookies, or browsersession. I found the latter to be very easy to work with. -- Kim Steinhaug --- There are 10 types of people when it comes to binary numbers: those who understand them, and those who don&#

[PHP] Upload issue - The 2MB barrier...

2003-12-02 Thread Kim Steinhaug
POST"? Or something like this? Maby this is a pointless idea to investigate further ? -- Kim Steinhaug --- There are 10 types of people when it comes to binary numbers: those who understand them, and those

Re: [PHP] Upload issue - The 2MB barrier...

2003-12-02 Thread Kim Steinhaug
Just need to locate this file first... -- Kim Steinhaug --- There are 10 types of people when it comes to binary numbers: those who understand them, and those who don't. --

Re: [PHP] Upload issue - The 2MB barrier...

2003-12-02 Thread Kim Steinhaug
. -- Kim Steinhaug --- There are 10 types of people when it comes to binary numbers: those who understand them, and those who don't. --- "Marek Kilimajer" &l

[PHP] Re: Dealing with large classes over several files

2003-12-03 Thread Kim Steinhaug
destructor function f () {} } Dont know if it helps you though. -- Kim Steinhaug --- There are 10 types of people when it comes to binary numbers: those who understand them, and those who don&#

[PHP] Opening large file problem - fopen

2003-12-15 Thread Kim Steinhaug
ut -> How do I parse the 280MB file all in 1 go? I have plenty of timeout and plenty of RAM in the php.ini file, so the problem isnt here. -- Kim Steinhaug --- There are 10 types of people when it comes to binary numbers: those w

[PHP] Re: Opening large file problem - fopen

2003-12-16 Thread Kim Steinhaug
der information - headers already sent by (output started at /home/xxx/public_html/admin/news_send.php:2) in /home/pilotman/public_html/admin/news_send.php on line 34 --- Hope this helpls. -- Kim Steinhaug --- There are 10 types of people whe

[PHP] Re: Opening large file problem - fopen

2003-12-16 Thread Kim Steinhaug
bad way of doing it, since the script still doesnt accually work... -- Kim Steinhaug --- There are 10 types of people when it comes to binary numbers: those who understand them, and those who don't. ---

Re: [PHP] Re: Opening large file problem - fopen

2003-12-16 Thread Kim Steinhaug
""; } while(true); fclose ($handle); echo $count; exit; Do you have an example, or link to a site discussing the issue, of buffering the data? -- Kim Steinhaug --- There are 10 types of people when it c

Re: [PHP] Re: Opening large file problem - fopen

2003-12-16 Thread Kim Steinhaug
Attached is a little textfile on 4 lines, it will choke afte 1 line due to the "\n\n" problem. I use this loop to parse it : $file= "error_log.txt"; if($fp=fopen($file, "r+")) { while($line=trim(fgets($fp))) { echo $line

[PHP] racing NO domain names problems! (For nordmenn!)

2003-12-16 Thread Kim Steinhaug
nkte kanskje det er en begrensning med GET eller at de har lagt inn en sperre på GET for å bare bruke POST, men den gang ei. POST med sockets gir samme resultat, uanhengig om man benytter "å" eller "%E5". Blir POST data kode

Re: [PHP] racing NO domain names problems! (For nordmenn!)

2003-12-16 Thread Kim Steinhaug
Finally! The answer was this : $url = utf8_encode('http://www.norid.no/domenenavnbaser/ace/?action=Convert&name=bl åbær.no'); And it all finally works, :) -- Kim Steinhaug --- There are 10 types of people when it c

[PHP] Re: sql query and some math

2003-12-17 Thread Kim Steinhaug
t2 has more entries for each entry in t1, your query will result in unpredictable manner. Hope this helps. -- Kim Steinhaug --- There are 10 types of people when it comes to binary numbers: those who understand them, and those who don&#

Re: [PHP] How do I protect downloadable files?

2003-12-30 Thread Kim Steinhaug
header("Content-Disposition: attachment; filename=\"".$fname."\""); header("Content-length: $size"); while(!feof($fd)) { $buffer = fread($fd, 2048); print $buffer; } fclose ($fd); exit; } -- Kim Steinhaug

Re: [PHP] How do I protect downloadable files?

2003-12-30 Thread Kim Steinhaug
er methods aswell should be tested on macintosh systems just to be sure. -- Kim Steinhaug --- There are 10 types of people when it comes to binary numbers: those who understand them, and those

[PHP] Re: Selecting between using letters

2003-12-30 Thread Kim Steinhaug
for. Remember ofcourse that you wuld need to use the regex syntax. The page on mySQL covering the topic has a lot of examples. -- Kim Steinhaug --- There are 10 types of people when it comes to binary numbers: those who understand them

[PHP] Re: JavaScript Enabled?

2004-08-05 Thread Kim Steinhaug
d the dopcument.write by then. (Ofcourse if he has deactivated images aswell we have problems but hey... ) Alot of nothing here really, but maby someone have some thoughts on the matter. -- Kim Steinhaug - There are 10 types of p

[PHP] PHP logic - Whats going on here?

2004-08-11 Thread Kim Steinhaug
s from phpmailer.sourceforge.net they use my initial loop aswell, not the "Why do I need this one???" part. Im beginning to wonder if there are something mystical going on with either my code or our servers. ?? Hope someone understand what Im wondering about here, hehe. -- -- Kim St

Re: [PHP] PHP logic - Whats going on here?

2004-08-11 Thread Kim Steinhaug
been a mail error sending to " . $row["email"] . ""; [ /SNIP] This is probably why I in the first place removed the extra ELSE statement, since I didnt see any reason for it. But in future Ill always include it it seems, :D -- Kim Steinhaug ---

[PHP] Re: dropdown box displays empty rule

2004-08-14 Thread Kim Steinhaug
($result1)){ if ($selected==$rowu->naamreis) echo "naamreis\">" . $rowu->naamreis . "\n" ; else echo "naamreis\">" . $rowu->naamreis . "\n" ; } -- Kim Steinhaug -

Re: [PHP] Using Post like Get

2004-08-14 Thread Kim Steinhaug
use session as the main system - cookies only works as a "saved session" in my systems. (Meaning, instead of having to logg onto the system again, the username and passowrd are stored in a cookie, this way the user can choose the famous "remember me" setting many of us enjoy)

Re: [PHP] String compare of 7 text strings

2004-08-14 Thread Kim Steinhaug
* Ed Lazor wrote : > Nice solution =) My thoughts exatly, :D -- Kim Steinhaug - There are 10 types of people when it comes to binary numbers: those who understand them, and those who do

[PHP] Re: Upload problems

2004-08-15 Thread Kim Steinhaug
stuff. -- Kim Steinhaug - There are 10 types of people when it comes to binary numbers: those who understand them, and those who don't. - www.steinhau

[PHP] matching system - anyone seen any?

2004-08-22 Thread Kim Steinhaug
There would be some sort of system inside here which could build a form of profile based on your ratings, and then compare theese profiles. I havnt really started planning how this would work, or should work, but first mainly if anyone has seen such a system around. Looking for existing wheels... :

[PHP] Read file backwards

2004-04-10 Thread Kim Steinhaug
the files and show the last lines, but this wouldnt really read it backwards and would work very "foolishly" on large files I would think. If there isnt a way of doing this Ill have to do the above, but you never know. Ill google in the meantime. -- -- Kim

[PHP] Re: Read file backwards

2004-04-10 Thread Kim Steinhaug
for the tip, Kim Steinhaug "Kim Steinhaug" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Anyone have a script that reads a file backwards? Im looking for > a way to trace a log file, say the last 30 lines each time I run the script. > I havnt found any D

[PHP] Re: function for backing up mysql

2004-04-14 Thread Kim Steinhaug
Take a look at phpclasses.org Last week there also came another class especially made for backups aswell if I recall. -- -- Kim Steinhaug -- There are 10 types of people when it comes to binary numbers: those who understand

[PHP] Rporting tool - CVS?

2004-04-17 Thread Kim Steinhaug
updated. I have a feeling CVS would maby be the trick here, but im not sure. Still I could manually do this, it isnt that hard, but you know - maby there already is such a system out there and in that case it would fit me perfectly. -- -- Kim Steinhaug

[PHP] Re: Reversing a string?

2004-05-13 Thread Kim Steinhaug
;"; echo $reversed; } else echo $string; ?> I added some errochecking if the string is only 1 character, since there should be no use in running the for loop then. -- -- Kim Steinhaug -- There are 10 types of people wh

Re: [PHP] Reversing a string?

2004-05-14 Thread Kim Steinhaug
hehe, Reading the manual is somewhat not so bad after all... -- -- Kim Steinhaug -- There are 10 types of people when it comes to binary numbers: those who understand them, and those who don&#

[PHP] Re: PHP graphing tool?

2004-05-10 Thread Kim Steinhaug
flash graphs out there, and the last year the pricing has dropped to a reasonable one aswell so you might aswell look at the comercial sollutions out there, they have become real good. Well, thats one day worth of work summed up for you in one handy little reply, :) -- -- Kim Steinhaug

[PHP] Re: Resequencing logic

2004-05-07 Thread Kim Steinhaug
orter from blabla wher id = source tempB = select sorter from blabla wher id = destination update blabla set sorter=destination where id = source update blabla set sorter=source where id = destination This was all abit quick'n'dirty as I call it, but I hope you got the general idea on how

[PHP] Re: form submission logic

2004-05-07 Thread Kim Steinhaug
e values in this array will be the onces you should $_POST["action"]. Have fun! -- -- Kim Steinhaug -- There are 10 types of people when it comes to binary numbers: those

[PHP] Re: PHP Website Architecture

2004-05-07 Thread Kim Steinhaug
some error handling here and there. Its really all up to you, there isnt a perfect way in doing this. But my advice again, use classess (OOP) as its very reusable and look at output buffering for total control. -- -- Kim Steinhaug -- Th

[PHP] Re: Installing GD library

2004-05-07 Thread Kim Steinhaug
put the DLL file in your PHP DLL file directory, uncomment the line in php.ini referring to it. Restart apache if running, IIS doesnt need to be restarted. -- -- Kim Steinhaug -- There are 10 types of people when it comes to

[PHP] Re: auto saving data in forms

2004-05-07 Thread Kim Steinhaug
iframe (which can be hidden), Sure you could use javaapplets and such, but there really shouldnt be any need for it. Surely such an autosave function shoudl use a temp database /table to store the data, just as word uses temp files for autosaves. Have fun! -- -- Kim Steinhaug

[PHP] Re: form submission logic

2004-05-07 Thread Kim Steinhaug
JS enabled. The friendslyness and functionality you can do with JS makes the total experience far better than not using JS. And you alse can save alot of reloading of the pages with confirmation dialogs and such. Anyway, its all a matter of opinion. -- -- Kim Steinh

Re: [PHP] page_title

2004-05-08 Thread Kim Steinhaug
Is it me or is the sollution here incredible simple? -- -- Kim Steinhaug -- There are 10 types of people when it comes to binary numbers: those who understand them, and those who don&#

[PHP] reversing an IF statement

2004-05-01 Thread Kim Steinhaug
en using more statements I never seem to find the way of doing it without having an empty {} in it, dont know if you see my problem here however, its the best I can exmplain. For all I know it has to be like this. -- -- Kim Steinhaug ---

[PHP] Re: Include from another URL?

2004-05-06 Thread Kim Steinhaug
You could always use this : $text = ""; $fd=fopen($url,"r"); while ($line=fgets($fd,1000)) { $text.=$line; } fclose ($fd); echo $text; -- -- Kim Steinhaug -- There are 10 types of people when it com

[PHP] Re: gifs, icons etc

2004-05-06 Thread Kim Steinhaug
my story went, :) -- -- Kim Steinhaug -- There are 10 types of people when it comes to binary numbers: those who understand them, and those who don&#

[PHP] Re: Carrying Variables

2004-05-15 Thread Kim Steinhaug
You could ofcourse also use sessions. If you need to store alot of values, this would be the way to go. If its only a couple of short ones, ofcourse some GET variables is the simplest and fastest way to go. -- -- Kim Steinhaug

[PHP] Re: sessions pls help

2004-05-17 Thread Kim Steinhaug
xit; } // The rest of page comes here ?> This is a brief explernation which should give you what you need to get going on your session handling. You also might want to add more variables into the prosess, like IP, browseragent and such to prevent session

[PHP] Re: session

2004-05-17 Thread Kim Steinhaug
a session database which grows out of proportions is kinda waste of space. -- -- Kim Steinhaug -- There are 10 types of people when it comes to binary numbers: those who understand them, and those

Re: [PHP] Re: Decompressing files via php

2004-05-22 Thread Kim Steinhaug
There is some ZIP classes on phpclasses.org that work very well, you dont need to install anything on the server aswell as all code is included in the class. -- -- Kim Steinhaug -- There are 10 types of people when it comes to

[PHP] Re: export from mysql to csv file

2004-06-12 Thread Kim Steinhaug
u could also go in "rounds" of limit 0,5 thereafter limit 50000,5 but that wasnt your question. -- -- Kim Steinhaug -- There are 10 types of people when it comes to binary numbers:

[PHP] Re: Header target?

2004-06-12 Thread Kim Steinhaug
Steve Douville had a long answer, the short answer : no -- -- Kim Steinhaug -- There are 10 types of people when it comes to binary numbers: those who understand them, and those who don&#

[PHP] Re: array_rand() not random

2004-06-12 Thread Kim Steinhaug
quot;. Im sure there also exists a mathematical approach calculating a sort of the elements based on the earlier views (meaning that we count each view). -- -- Kim Steinhaug -- There are 10 types of people when it comes to bina

[PHP] Re: Best Lossless Hi-Res Photo Storage with PHP

2004-06-12 Thread Kim Steinhaug
g. Often I tend to ZIP the lossless images aswell, but then again I dont need to since HD isnt a problem atleast in my case. Hope this helps. -- -- Kim Steinhaug -- There are 10 types of people when it comes to binary numbers:

Re: [PHP] Re: Best Lossless Hi-Res Photo Storage with PHP

2004-06-13 Thread Kim Steinhaug
ust fine. -- -- Kim Steinhaug -- There are 10 types of people when it comes to binary numbers: those who understand them, and those who don't. -- www.

Re: [PHP] Re: array_rand() not random

2004-06-15 Thread Kim Steinhaug
the one with the smallest impressions. $result = query("select * from my_stats_table where order by counter limit 1"); You would here need to add more information, probably might aswell include the entire banner in the database. Well, BTW, hope this helps you. -- -- Kim Steinhaug

[PHP] Re: comparing timestamps

2004-06-20 Thread Kim Steinhaug
Well, Since the current timestamt is now, and 5 minutes equals 60seconds * 5 minutes = 300, this would give you your range as : $range = time() - 300; If you are working with time() in your database your select would be something like : select * from table where timestamp >= $range -- --

[PHP] Re: is there any application , by using i can produce php exe files in windows ?

2004-06-20 Thread Kim Steinhaug
look abit "unprofessional" if your thinking of applying somthing for your business customer. -- -- Kim Steinhaug -- There are 10 types of people when it comes to binary numbers: those who understand them, and those

[PHP] Re: Mysql fetch_row()

2004-06-20 Thread Kim Steinhaug
Whatabout : mysql_fetch_array() or mysql_fetch_object() Both gives you both the results and the names of the coloumns. Maby I didnt get the question right but since nobody else mentioned it, .) -- -- Kim Steinhaug -- There are

[PHP] Re: Can I detect size of files which are too large to upload?

2004-06-20 Thread Kim Steinhaug
confront this problem. If you find a sollution be sure to inform me, I would love to know it. Happy hunting! -- -- Kim Steinhaug -- There are 10 types of people when it comes to binary numbers: those who understand them, and those

[PHP] Re: Encryption Question

2004-06-22 Thread Kim Steinhaug
Do you really need to use stripslashes when retrieving the data? Wouldnt stripslashes only affect magic quotes or already added slashes, I mean when you addslashes to the SQL the slashes are indeed removed when inserted in the table. -- -- Kim Steinhaug

Re: [PHP] Re: is there any application , by using i can produce php exe files in windows ?

2004-06-22 Thread Kim Steinhaug
Still, the problem at the time I experimented with it was that you get an extra DOS window which lies on the taskbar. This was a year ago, maby things have happened since then. -- -- Kim Steinhaug -- There are 10 types of people wh

[PHP] Re: Benchmarking a script

2004-06-23 Thread Kim Steinhaug
27;ll email it to you, I remember I spent some time finding it. -- -- Kim Steinhaug -- There are 10 types of people when it comes to binary numbers: those who understand them, and those who

[PHP] Re: bad programming?

2004-06-23 Thread Kim Steinhaug
Could be something about the server environment, you could try changing to : $_SERVER["REQUEST_METHOD"] Run a phpinfo() and see what variables are active on your new server. I know that IIS webservers lack alot of the variables we take for granted mostly. -- -- Kim

[PHP] Re: encryption needed?

2004-07-13 Thread Kim Steinhaug
are back to the login system again. -- Kim Steinhaug - There are 10 types of people when it comes to binary numbers: those who understand them, and

[PHP] Re: Opinion: PHP Sessions or Cookies

2004-07-13 Thread Kim Steinhaug
ing in the /tmp folder getting messed up. If you still havnt solved your problem, get your provider to move you to another of his servers (physically!), or change provider. You shouldnt be having theese problems. -- -- Kim

[PHP] Re: PHP and Excel

2004-07-13 Thread Kim Steinhaug
proprietary Excel systems out there? Anyone? -- Kim Steinhaug - There are 10 types of people when it comes to binary numbers: those who understand them, and those who don&#

Re: [PHP] pdf

2006-06-29 Thread Kim Steinhaug
really whatever you need. The other class people mentions are free, but far from as advanced as pdflib. Grab it here : http://www.pdflib.com/ regards, Kim Steinhaug http://www.steinhaug.no/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   >