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
'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
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
imple but.
Any help appreciated,
-Kim.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
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
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
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
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
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
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
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
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
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
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
"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
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
/ 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
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
>>
>
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
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
://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
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.
>
>
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]
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]
>
. 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
/ "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
"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),
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
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.
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
- -
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
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
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
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
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
---
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
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
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
---
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
tring(3) "123" ["email"]=> string(3) "123"
["submit"]=> string(10) "Submit me!" }
-
Untitled
\n";
//phpinfo();
echo "\n";
var_dump($_POST);
?>
Your nam
?
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
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
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
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
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
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.
---
&
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
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
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
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
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
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
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
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.
--
.
--
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
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
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
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
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.
---
"";
} 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
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
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
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
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
header("Content-Disposition: attachment; filename=\"".$fname."\"");
header("Content-length: $size");
while(!feof($fd)) {
$buffer = fread($fd, 2048);
print $buffer;
}
fclose ($fd);
exit;
}
--
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
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
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
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
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
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
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
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
---
($result1)){
if ($selected==$rowu->naamreis)
echo "naamreis\">" . $rowu->naamreis .
"\n" ;
else
echo "naamreis\">" .
$rowu->naamreis . "\n" ;
}
--
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)
* 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
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
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... :
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
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
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
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
(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
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
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
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
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
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
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
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
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
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 =
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
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
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
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
#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
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 - 100 of 352 matches
Mail list logo