[PHP] how to use mssql_connect()?

2002-11-28 Thread Kim
when i using mssql_connect() function,that's show "Fatal error: Call to undefined function: mssql_connect()" on php page,i don't know why that it is! php 4.2.3 sql server 2000 apache 1.3.19 windows 2000 pro "php.ini" had configurated ok. -- PHP General Mailing List (http://www.php.net/) To un

[PHP] Newbie problem - Slashes

2002-06-27 Thread kim
's? sorry if its a bit confusing, if need be I can send you all the 3 files i'm using and the table structure, kindly help. - Kim. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Newbie problem - Slashes

2002-06-27 Thread kim
is the MySql database's cutting off everything after the escapeing \.? eg: When i enter: My pal is Lisa O"neil and escape it with: (via addslashes) My pal is Lisa O\"neil in the database all thats entered is: My pal is Lisa O\ Why is that? Please help, -Kim. -- PHP General

[PHP] total (slightly OT)

2002-07-05 Thread kim
imple but. Any help appreciated, -Kim. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Encrypt and decrypt cookie

2002-12-13 Thread Titu Kim
meone give me suggestion on how to encrypt and decrypt a cookie? Thanks very much. Kim __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubs

[PHP] Newbie recursive directory

2003-02-10 Thread Kim Kohen
navigation after that (I'm _real_ new to *nix as well). Could someone please help as to how it would fit into my script? Cheers and thanks kim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Special characters

2003-02-19 Thread Kim Kohen
tried every form of encoding I can find in the docs but nothing seems to work. Can anyone suggest what to look for in the docs or a possible solution? cheers Kim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] help with getting php going(2)

2003-02-27 Thread Kim Kohen
G'day Karl > Hey guys I finally got my phpinfo file to show on apache server > But when I try to do a hello world or browser check I get a 500 error > message FWIW, I've seen this error when I've had mac line endings instead of unix. cheers kim -- PHP Ge

[PHP] problems with vAuthenticate 3.0

2003-07-29 Thread Kim Eichen
that vAuthenticate uses encrypted passwords in contradiction to vSignup. Do any of you have a clue about how I solve the problem? Kind regards Kim Eichen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP timeout

2002-06-15 Thread Kim Bauters
I'm running PHP script that check for the existance of certain pages on the web. The problem is that fopen to check for the existance of a page and this seems to consume time. It has to check for a nuber of pages, conforming to a certain pattern. This pattern is Ab# What I want to do is exten

Re: [PHP] PHP timeout

2002-06-15 Thread Kim Bauters
thx "Stuart Dallas" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Saturday, June 15, 2002 at 10:52:14 AM, Kim Bauters wrote: > > In the file php.ini, the 2 timeout settings are > > both changed from 30 to 300, but

Re: Re[2]: [PHP] PHP timeout

2002-06-15 Thread Kim Bauters
hi, My IIS version is 5.0 "Stuart Dallas" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Saturday, June 15, 2002 at 11:43:05 AM, Kim Bauters wrote: > > indeed, it is a IIS CGI timeout. However, when I take a look at the tab

[PHP] Echo issue

2003-10-28 Thread Kim Kohen
rned: ->"" I have spent about an hour looking at this and have found I can't echo anything with 16 characters or less! It can be over a single line or multiple lines eg. ->"" but ->12345678123456789 Am I missing something really obvious here? cheer

Re: [PHP] Echo issue RESOLVED!

2003-10-29 Thread Kim Kohen
10.3). All my PHP stuff is working correctly in IE so it looks like development will proceed there until Apple gets a fix. Cheers and many thanks for the replies kim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Echo issue RESOLVED!

2003-10-29 Thread Kim Kohen
would recommend developing with something like Mozilla if you > can't use Safari. IE is about the worst choice for testing. Mozilla is fine also - I just happened to have IE open and tested it there... cheers kim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Scripts not running on OS X 10.3

2003-11-02 Thread Kim Kohen
ontrolling things - including httpd.cong and log files. I used to use the Entropy builds but am sold on the serverlogistics ones now. cheers kim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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 u

[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

[PHP] Re: Delete Temporary Internet Files

2003-11-12 Thread Kim Steinhaug
/ delete them then. Kim "Joe Mack" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I am trying to use PHP to delete temporary internet files in IE6. I would > also like to access other "Internet Options" functions. Any assistance > would be apprec

[PHP] Re: Share Folder...

2003-11-12 Thread Kim Steinhaug
ne, I suggest U get a router with hardware firewall, where U insert the internet connection directly into the router, this will prevent NETBIOS over TCP/IP from the Internet. Kim >> Do you mean like windows shared folders? >> >> What do you mean ? >> >> kim >> >

[PHP] Re: How to find the Drive letters

2003-11-12 Thread Kim Steinhaug
e physical drive letters. Kim "D. Jame" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] hi, How to find the Drive letters and Drive Types of remote system WNT, i have system administrator password too.. this all work done with PHP pages, when my client give IP, u

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

2003-11-12 Thread Kim Steinhaug
example will fail mySQL and result in an error since the query doesnt match the table. In my example it will have no difference, aslong as first,last and phone are still in the table. The autoincrement value will still be updated as intended, aslong as the table is correctly formatted (and it is, sin

[PHP] Re: sorting files by date

2003-11-12 Thread Kim Steinhaug
://se.php.net/sort Kim "Justin French" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > I have a dir of files saved in the following format: -MM-DD.mp4. I > know how to get the file names into an array, but I don't know how to > sort t

[PHP] Re: Time problem

2003-11-12 Thread Kim Steinhaug
find a finnished class og function that does this for you. Kim "Erin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi All, > Sorry if this has been asked a 1000 times and if its easy to find in the > php manual but i cant seam to solve this. > >

Re: [PHP] Re: Delete Temporary Internet Files

2003-11-12 Thread Kim Steinhaug
ssume local innstallation on local machine. And when your on your local machine there are no problems accessing your files, even if they belong to the windows environment. Overwriting them can be problematic at times, since processed may use the file. Kim "Mark" <[EMAIL PROTECTED]

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
. If it could handle this, XML would be my sollution! Kim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] $_POST bug?

2003-11-13 Thread Kim Steinhaug
/ "getting" the data back to the server. I remember this as one of my "domain search" utilities always came "emtpy" in netscape, and not in Opera and Explorer. So it could be this, but if youre not on Netscape -> Its not this. :) Kim -- PHP General Mailing List (ht

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] Safe_mode and prepend/append includes

2001-02-26 Thread Kim Lindberg
suggestions how to solve this ? -- Kim Lindberg ([EMAIL PROTECTED]) The Summercamp Association Look at our site: www.scouting.dk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] Windows based Mail() problem (newbie)

2002-05-01 Thread Kim Kohen
ed, addressed and sent OK, but with a blank message. I'm wondering if there's something simple I'm missing here as far as configuration is concerned? Any assistance would be greatly appreciated. Cheers and thanks kim FWIW, the entire confirm.php script follows: -- PHP Gener

Re: [PHP] Windows based Mail() problem (newbie)

2002-05-01 Thread Kim Kohen
passing the variables with Windows but is with Macs. I checked the HTML forma and found I had the enctype set to plain/text. I changed it to multipart/form-data and now it works fine (although there are still some strange things going on with line endings which I'll need to resolve) Cheers

[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] Print window function???

2004-10-15 Thread Tony Kim
Is there a function for print window in php? I tried javascript window.print() but this doesn't work in ie 5.2 on mac. Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP + SQL..

2007-02-22 Thread Liz Kim
I am storing a lot of text into my mssql database. Are there any special characters I should watch out for? I think so far I've got ' covered. Also, when I retrieved the string later on... The ' is printed out with a \ in the front. How do I get rid of the \? When I try to get a really long strin

[PHP] Magic Quotes

2007-02-23 Thread Liz Kim
I've got all three Magic Quote directives turned off... When I use sql query to grab any string from a database, it still spits out the \ in front of the special characters.. Any ideas? thanks

[PHP] Size Limit PHP + MSSQL

2007-02-23 Thread Liz Kim
Is there size limit for select queries in php? I am trying to grab a very long string that exists in the database. When I do a select and print it out, php keep truncating the string - only outputing the first half or so when the string is too long. I have checked the actual database and the stri

[PHP] Header problem

2009-10-03 Thread Kim Madsen
(jaunty) Shiretoko/3.5.2 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/ *;q=0.8 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Referer: http://lps.netlinq.dk/?action=download&t

Re: [PHP] Header problem

2009-10-04 Thread Kim Madsen
nt; filename="Maxwell - Bad Habits (Remixes).zip" Content-Transfer-Encoding: binary Keep-Alive: timeout=15, max=96 Connection: Keep-Alive Content-Type: application/zip So I think my problem is cache related in some way. Kind regards Kim > Date: Sat, 3 Oct 2009 13:30:38 +0200

Re: [PHP] Header problem

2009-10-04 Thread Kim Madsen
siple to determine the length of the zipfile, when creating the file in memory. Instead I'm now writing the file to disk and uses filesize on the zipfile to get the length for Content-Length, then I use readfile("zipfile.zip") instead of echo $zip->file(); But the result is still

Re: [PHP] Header problem

2009-10-04 Thread Kim Madsen
magic behaviors" ... you need to download? Well, create a file which aims id to download and nothing else, or you gonna constantly find these kind of problems in your applications. I believe the testpage does forfill that request? Or do you mean otherwise? Kind regards Kim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Header problem

2009-10-05 Thread Kim Madsen
file = $_REQUEST['zipfile']; if($DOWNLOAD_OK) { include "inc/connect.inc"; include "inc/functions.inc"; include "inc/default_functions.inc"; As you said earlier, spaces could do wierd stuff to a header Also switching between utf-8 and latin-1 character sets can

Re: [Fwd: [PHP] Sessions in databases]

2009-10-06 Thread Kim Madsen
ions which time out anyways. I know Alfio don't have access to the php.ini file, but if you do and have the above setup, consider using a tmp dir like /phptmp and have one root server and mount the other servers /phptmp to the root servers /phptmp Kind regards Kim Emax Il pinguin

Re: [PHP] Need unrounded precision

2009-10-15 Thread Kim Madsen
trim($num), $regs); if($regs[1]) $digit = $regs[1]; else print "no digit found"; -- Kind regards Kim Emax -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Header problem - "solved"

2009-10-16 Thread Kim Madsen
e zipfiles outside webscope, but still...) -- Kind regards Kim Emax -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sanitizing potential MySQL strings with no database connection

2009-10-18 Thread Kim Madsen
versa) or on a string for that matter. It lies in the naming of the function what it's designed to do and work on. If you want a general function to sanitize an input, make your own function sanitize_input() based on ereg_* and/or str_replace and the likes. -- Kind regards Kim Emax -- P

Re: [PHP] Sanitizing potential MySQL strings with no database connection

2009-10-19 Thread Kim Madsen
Dotan Cohen wrote on 2009-10-18 21:21: I thought that one could not test if a database connection is established or not, this is the most relevant thing that I found while googling that: http://bugs.php.net/bug.php?id=29645 from http://www.php.net/manual/en/function.mysql-connect.php $link =

Re: [PHP] Blocking video streaming

2009-10-19 Thread Kim Madsen
either the headers, a caching problem or latin1/utf-8 What does your headers look like? (firefox has a lovely plugin "live http headers") Which character encoding do you use? Show us code bit from fopen to fclose -- Sincerly Kim Emax -- PHP General Mailing List (http://www.php.net/) T

Re: [PHP] Please don't kick me!

2009-10-19 Thread Kim Madsen
7;ve been using fpdf for 4-5 years for invoices among others and are very happy with that. -- Kind regards Kim Emax - masterminds.dk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Header problem - SOLVED

2009-10-19 Thread Kim Madsen
This has been solved today. Talawa had a similar problem and came up with a solution to his problem, namely using session_write_close() before creating the headers. That stunt also solved my problem :-) -- Kind regards Kim Emax Kim Madsen wrote on 2009-10-03 13:30: Hi PHP people I have a

Re: [PHP] Sanitizing potential MySQL strings with no database connection

2009-10-20 Thread Kim Madsen
missing, and even though I cannot make use of it at least I know in general what needs to be done. if(@mysql_real_escape_string($variable) === false) Well? -- Kind regards Kim Emax - masterminds.dk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Spam opinions please

2009-10-20 Thread Kim Madsen
#x27;m pretty happy with the solution, no spam for 3 years :-) -- Kind regards Kim Emax - masterminds.dk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Please don't kick me!

2009-10-20 Thread Kim Madsen
ll, you're always welcome to contribute to an open source project you take advantage of ;o) -- Kind regards Kim Emax - masterminds.dk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   3   4   >