Does someone know where i can get various extension DLLs for 'Zend' PHP 4
for windows ?
I can't find any on the net !!!
I'm specialy lookin for the 'GD' dll extension
thanx.
(°-Nayco,
//\[EMAIL PROTECTED]
v_/_ http://nayco.free.fr
--
PHP General Mailin
I think that ODBC is your solution.
Niklas
-Original Message-
From: A. op de Weegh [mailto:[EMAIL PROTECTED]]
Sent: 15. syyskuuta 2001 13:05
To: [EMAIL PROTECTED]
Subject: [PHP] Can I use Microsoft Access as a database?
Hi all,
for testing purposes in a school environment, I would lik
Hi all,
for testing purposes in a school environment, I would like to use a
Microsoft Access database with PHP. I know how to connect to and use a MySQL
database, but I can't find any functions for accessing Microsoft Access
databases.
Can anyone help me out here?
Thankx,
Alex
--
PS: Replace th
On Fri, 14 Sep 2001, GATop wrote:
> Is there more like that?
Like what :)
Adrian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
>> Has anyone done this to date?? I was thinking
>> of compiling my programs for better perfomance,
>> and of course, protect the source code. Anyone
>> have any ideas on this issue?
Another question: is it possible to compile PHP
script in COM or EXE file?
--
Andrew Perevodchik
[EMAIL PROTECTE
Hey all. I'm trying to do a fopen for reading on many different sites and
web pages. However, I have found that many webpages can not be FOPENed at
all. For instance, one such example would be
http://www.800.com/prod.asp?P=5261
I do not understand as I can read from numerous other sites. Why
Kunal Jhunjhunwala wrote:
> Hi,
> Has anyone done this to date?? I was thinking of compiling my programs for
> better perfomance, and of course, protect the source code. Anyone have any
> ideas on this issue?
> Regards,
> Kunal Jhunjhunwala
>
There are sevral cache modules. These are cache modul
Out of curiosity, why do you avoid having functions generate HTML? Is this
just personal preference, or is there some performance or other reason?
-Jason
- Original Message -
From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
To: "speedboy" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sund
> > > How do you echo your html, do you put the html in your functions and
> > > escape the double quotes? There is some extra load there echoing all the
> > > html?
> >
> > echo HTML? I do this:
> >
> >
> > HTML stuff
> >
> >
> > I drop out of PHP mode to display raw HTML. If I have a l
> > How do you echo your html, do you put the html in your functions and
> > escape the double quotes? There is some extra load there echoing all the
> > html?
>
> echo HTML? I do this:
>
>
> HTML stuff
>
>
> I drop out of PHP mode to display raw HTML. If I have a lot of HTML with
> a
hallelujah...first time i've seen someone else mention here docs, and being
rasmus, not a bad person to make the mention ;-)
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 17, 2001 12:17 AM
To: speedboy
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] P
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Mark) wrote:
> calling empty($a) does not give a warning.
Sheesh. It doesn't at that. WTF?
--
CC
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED
It may not be a performance thing based on software in use, it could be
coding problems with the current software.
If you are having problems with 40 - 50 users, you may want to look at where
things are locking up. Table locking because of badly designed update
queries can freeze a good system b
> > ie. don't necessarily use 1 file per block, create functions that are
> > defined in a single file and call those instead of including a new file.
>
> How do you echo your html, do you put the html in your functions and
> escape the double quotes? There is some extra load there echoing all the
> print split("=",$testString)[0];
First, using split() on such a simple delimiter is a waste. Use
explode(). And yes, PHP does not support automatic dereferencing of
returned arrays like that.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTE
> ie. don't necessarily use 1 file per block, create functions that are
> defined in a single file and call those instead of including a new file.
How do you echo your html, do you put the html in your functions and
escape the double quotes? There is some extra load there echoing all the
html?
T
> I mean, for example say you have
> an html that consists of blocks... Making every block
> an include is clean, but this time, php engine has to
> read all of these includes, and parse the html+php and
> compile/run php everytime a request is made??? I am
> not sure about this?
I wouldn't say i
I would agree that the DB is probably the biggest bottleneck...
Are you connecting to the DB via ODBC? I'm not an expert at DB stuff
outside of the MySQL realm, but I've heard many say ODBC is horribly
slow. I don't know ASP that well, but could someone comment on ADODB?
It uses OLEDB, not ODB
> ??? I didn't get this? Aren't these pre-forked
> processes handle requests using threads internally?
> Say you configure apache to pre-fork 5 server
> processes, what you are saying implies that you can
> only handle 5 concurrent requests?? can you please
> explain this more?
That's exactly
Much as I don't like to defend MS, I'll take a stab here.
By 40-50 people in an office, I presume you're talking about an intranet
of some type - 40-50 aren't constantly hitting it (meaning 40-50 requests
per second all the time), but 40-50 are using it throughout the day for
various tasks.
You
Maybe this is one of FAQ, Please give me a URL of this kind of comparison
page, or your experience.
A web server program is running in my office. It consists of Visual
Basic, IIS, and MS SQL Server on Windows 2000. although the performance
is confortable for few users, it is terribly slow for 40-
> Threading instead of forking? None of these do
> either. Apache is a
> pre-forking multi-process server and both PHP and
> mod_perl are part of
> these pre-forked processes. Neither mod_perl nor
> PHP do any threading nor forking.
??? I didn't get this? Aren't these pre-forked
processes han
> Why on earth would you prefer java servlets?
Hmm... Let's see;Java is a full-fledge, totally OOP
and awesome programming language but not a scripting
language. Speed (will be mentioning this later),
having total control over whatever you want (exception
handling, db pooling, caching, syncrh
Hey I did it. A special thanks goes out to Michael Kimsal for giving me the
idea of output buffering. Here is the code I used. Hope this helps
ob_start(); // Start output bufering
include ("$filename"); //$filename is the file you want to include
$x = ob_get_contents(); //Set the contents of the
> Hi,
>
> Does anyone know how to send a sms message to a handphone using PHP?
>
> Thanks and regards,
> Alva Chew
I have a class that does it. It is very easy. See the RFC on SNPP and some
use standard mail servers.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [
I figured out another way to solve this. But, I need to know the downside,
if any.
I chmod the directory to 2777 and leave Apache as is. Obviously this opens
the directory up to danger if someone hacks in.
Comments?
--
Gaylen
[EMAIL PROTECTED]
http://www.gaylenandmargie.com
PHP KISGB v1.01 Gu
On Sat, 15 Sep 2001 13:02, Terry Reynolds wrote:
> Hi
> has anyone in the PHP world ever managed to run mysqlimport via exec?
>
> I have written a one line script
>
> mysqlimport -u user -ppassword table file.txt
>
> & chmodded it (+ x), which works from the command line every time.
> I've tried e
Hi,
Does anyone know how to send a sms message to a handphone using PHP?
Thanks and regards,
Alva Chew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [E
How about limiting results?
eg
limit the return page value after a certain number (say 10) to every 5
pages, then 50 pages a la google.
Page
1 2 3 4 5 6 7 8 9 10 ..15 ..20 ..50 ..100
This can be done relatively easily
eg (untested)
for ($count=1;$count<=$pages;$count++) { // loop thru
Close- this is what actually worked-
header ("HTTP/1.1 404 Not Found");
But thanks- it got me on the right track, anyway (i wasn't aware server responses were
sent from the header)
It doesn't log it in the error_log or send the 404 error page, but i have a custom
error page- so i just include
Nevermind, I made a stupid mistake.
"Tad" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am setting up a box to run Apache + mod_ssl + MySQL + PHP.
> Apache is configured with DSO support and everything goes fine until I do
> "make inststall" in the php sour
That's what I suspected and yes, that does work. However, it causes
problems with session handling variables since 'www' doesn't own the 'tmp'
file, etc. Thanks though for confirming what I suspected.
Any other thoughts from anyone?
--
Gaylen
[EMAIL PROTECTED]
http://www.gaylenandmargie.com
PH
On 16-Sep-2001 Kurt Lieber wrote:
> I'm trying to take a text file and count the number of lines that match
> a regexp. I've got it working using the following code:
>
> $data = file("myfile.txt");
> $total = 0;
> foreach($data as $i) {
> if (ereg("^1,",$i)) {
> $total = $to
Hi I am looking for an algorithm to generate the
permutation of the elements of a vector, say .
Does anybody know / have implemented such (in PHP or
different languages).
Best regards.
__
Terrorist Attacks on U.S. - How can you help?
Donate cash,
Although this is a little OT, I dont remember any online tutorials that
helped me and this is a fairly lengthy explanation. In your httpd.conf (this
is how i did it you can find your own way im sure) set the apache user to be
www and the group to www. Apache now knows to run as that user, but your
I just installed APC (Alternative PHP Cache). How do I know it's
loaded/running/working? Thanks.
David
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [E
No, my problem is that I haven't got this DLL ...
I only have an older php3_gd.dll who make PHP hang when loaded, so i'm lookin for a
"php4_gd.dll" with gif, png, jpeg, etc support !!!
--
(°-Nayco,
//\[EMAIL PROTECTED]
v_/_ http://nayco.free.fr
Gaylen Fr
Look in your php\extensions directory. There should be a php_gd.dll .
--
Gaylen
[EMAIL PROTECTED]
http://www.gaylenandmargie.com
PHP KISGB v1.01 Guestbook http://www.gaylenandmargie.com/publicscripts
"Nico_oreka" <[EMAIL PROTECTED]> wrote in message
00f401c13ef3$80ed60a0$0100a8c0@p2333">news:00
It is the delete (unlink) portion that the page cannot execute. So, I
assume this is a setting in my server conf? Apache is running as nobody,
but nobody is not a valid user on my linux server. Is that the problem? If
so, is the normal prcatice to have a user like 'web' and give all rights to
Does someone know where i can get various extension DLLs for 'Zend' PHP 4 for windows ?
I can't find any on the net !!!
I'm specialy lookin for the 'GD' dll extension
thanx.
(°-Nayco,
//\[EMAIL PROTECTED]
v_/_ http://nayco.free.fr
Browsers don't parse \n as a new line, try using which will make a new
line
Andrew
- Original Message -
From: "alpherjo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, September 16, 2001 9:51 PM
Subject: [PHP] \n not working
> I am just learning PHP. I have it installed on m
If you are trying to use \n for a new line in HTML code, it will not work.
In other words
echo "Hello\nWorld
instead. Also, be sure that you are using double quotes instead of single
quotes. Single quoted text is literally interpreted.
--
Gaylen
[EMAIL PROTECTED]
http://www.gaylenandmargie.com
I am just learning PHP. I have it installed on my Win 2000 IIS to practice,
and after I save PHP files in my wwwroot folder, I go ahead and access my
practice pages through IE via my full (universal) server address. However,
the \n code (to start a new line) never works. Any ideas?
Thanks!
--
ok... so the hard way.
I'm no regex wizard myself... as a matter of fact I suck at it.
I do it the hard (old C like) way.
You have to find some chunks of HTML that determine and end of the data in
the table and use them to walk trough the doc fetching what you want... let
me give an example...
As long as it doesn't interfere with any GET or POST data, you could
redirect the browser...
I haven't tried this, so I don't know if my syntax is perfectly correct,
but here's a suggestion...
BODY onLoad="document.location = 'somefile.php?screen_res=' +
screen.width + "x" + screen.height + '&c
Can someone please show me how to change the reply address in the mail function (and
the from address) cause i have a script im making for a mailing list and the script in
the manual doesnt work cause it has loads of different code aswell :(
-lk6-
http://www.StupeedStudios.f2s.com
Home of the
But you could then re-submit the page with this data somehow, couldn't you?
- seb
-Original Message-
From: Matthew Loff [mailto:[EMAIL PROTECTED]]
Sent: 16 September 2001 21:04
To: 'Salty Marine'; [EMAIL PROTECTED]
Subject: RE: [PHP] Getting screen resolution and color depth
Can't be
Can't be done...
1) Browser sends request
2) PHP page is compiled and executed
3) PHP output is sent to browser
4) Browser displays page/executes javascript/etc.
-Original Message-
From: Salty Marine [mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 16, 2001 3:54 PM
To: [EMAIL PROTEC
Greetings to You:
How do I get the user's screen resolution and color depth? Here's how it is
done in Javascript. I want to do it and put the results into a PHP varibal.
document.write(screen.width + " x " + screen.height)
document.write(screen.colorDepth + " bit")
Regards,
Salty
I am attempting to use the rename() function and am receiving the following
error:
Warning: Rename failed (Permission denied) in
/usr/local/apache/htdocs/mydir/myfile.php on line 7
The files all have a mod of 777 . My application can update the same file
w/o any problem, it's only when attempti
> Greetings to All:
>
> I'm inexperienced, although enthusiastic about using PHP. I want to write
> data more effectively to a file.
>
> This doesn't work: fputs($frank, "Testing " $whatever " more testing
> \n\n\n");
> Right now, all I know is using three separate fputs statements. I'd like
t
you would simply have the following:
blah1
blah2
blah3
Any problems let me know...
Regards
Davidt
-Original Message-
From: Nikola Veber [mailto:[EMAIL PROTECTED]]
Sent: 17 September 2001 07:48
To: php forum
Subject: [PHP] radio button help
Hi !
I know that this may be not the right pl
> 1.Speed: If you use mod_perl or fastcgi kind of deals
> (which are based on threadding instead of forking), I
> don't think PHP is considerably faster than perl? Is
> that the case?
Threading instead of forking? None of these do either. Apache is a
pre-forking multi-process server and both PH
On Sun, 16 Sep 2001, Bora Paksoy wrote:
> Hi;
>
> I am planning to implement a new site which will be
> using mysql db heavily, and I am in the middle of (and
> stuck:) deciding what I should use for implementation.
> I would definitely prefer Java Servlets, but it is
> very expensive to host ser
Greetings to All:
I'm inexperienced, although enthusiastic about using PHP. I want to write
data more effectively to a file.
This doesn't work: fputs($frank, "Testing " $whatever " more testing
\n\n\n");
Right now, all I know is using three separate fputs statements. I'd like to
use just one
Hi !
I know that this may be not the right place for this question, bu anyway:
The radiobutton tag looks like this:
How am I suposed to handle multiple buttons(what should I change, name or the
value?)
My point here is: Does the buttons with the same name return defined values for
one varia
Hello Michael,
Sunday, September 16, 2001, 9:05:35 AM, you wrote:
MAP> Is it possible to invoke the server 404 error error from php?
MAP> Where I would like to do such a thing is
MAP> http://24.5.29.77:10080/encryption/index.phps
MAP> I would like to replace the line
MAP> die ("The fi
Hi;
I am planning to implement a new site which will be
using mysql db heavily, and I am in the middle of (and
stuck:) deciding what I should use for implementation.
I would definitely prefer Java Servlets, but it is
very expensive to host servlets, so I am only
comparing PHP vs. Perl.
I have b
I'm trying to take a text file and count the number of lines that match
a regexp. I've got it working using the following code:
$data = file("myfile.txt");
$total = 0;
foreach($data as $i) {
if (ereg("^1,",$i)) {
$total = $total + 1;
}
}
but I'm still learning PH
On Sun, 16 Sep 2001 09:18:23 -0700, CC Zona wrote:
>In article <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] (Mark) wrote:
>
>> >if(isset($) and !empty($a) and !$a)
>>
>> this is the same as if(!empty($a))
>>
>> >or
>> >
>> >if(isset($) and $a===FALSE)
>>
>> this is the same as if(empty($a))
>
>Aside f
Hello,
This "issue" has got me beaten. Have been trying for days to make some
progress identifying a problem either with my php installation, or a class I
am attempting to make use of:
The error I receive is :
Unknown list entry type in request shutdown (0) in Unknown on line 0
How can I find
I am setting up a box to run Apache + mod_ssl + MySQL + PHP.
Apache is configured with DSO support and everything goes fine until I do
"make inststall" in the php source dir
Making install in .
make[1]: Entering directory `/root/programs/web/php-4.0.6'
/root/programs/web/php-4.0.6/build/shtoo
Sunday, September 16, 2001, 9:59:36 AM, you wrote:
TV> where can I find an introduction to sessions in PHP? They are mentioned in
TV> manual for example in a "Serializing objects - objects in sessions" section,
TV> but there toesn't seem to be any section covering sessions in general.
http://www
> What I want to do is have a drop-down menu where the options are files
This is matter of HTML or JavaScript
> located in a folder on the server that changes as items are added to or
> removed. Then the user can select an item from the menu, submit, and that
> page will load.
This is script f
On Sun, 16 Sep 2001, Luboslav Gabal ml. wrote:
> I have script for getting header of article from NNTP server using sockets:
> output have look so:
> From: "Antonin Mohaupt" <[EMAIL PROTECTED]>
> but it is only
> From: "Antonin Mohaupt"
> What's the problem ? I tried higher raise length of da
Is it possible to invoke the server 404 error error from php?
Where I would like to do such a thing is
http://24.5.29.77:10080/encryption/index.phps
I would like to replace the line
die ("The file you wish to download does not exist");
with instead an invocation of the http 404 error.
Hello,
where can I find an introduction to sessions in PHP? They are mentioned in
manual for example in a "Serializing objects - objects in sessions" section,
but there toesn't seem to be any section covering sessions in general. How
they work? Where to use this feature?
Tomas Valusek
--
PHP
Hello,
thank you for your help - I could get all the switches of PHP executable by
using a -? switch. It's just pity they aren't documented in manual ...
Tomas Valusek
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Mark) wrote:
> >if(isset($) and !empty($a) and !$a)
>
> this is the same as if(!empty($a))
>
> >or
> >
> >if(isset($) and $a===FALSE)
>
> this is the same as if(empty($a))
(Aside from accidentally omitted the "a" in the var name...oops...)
No I need to copy the rows values from HTML table you can see it in exlamle
http://66.96.230.191/table.html This is a live score system which updates
every 2 min, So I need to get these values and parse it in MySQL after that
I neeed to get some element from my database and show in my page..
I
- Original Message -
From: "Tomas Valusek" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, September 16, 2001 4:32 PM
Subject: [PHP] PHP as offline tool?
> Hello,
>
> I'd like to create a series of web pages and burn them to CD. To achieve a
> unified layout of these pages, I'
On Thu, 13 Sep 2001 11:10:03 +0200 impersonator of
[EMAIL PROTECTED] (_lallous) planted &I saw in php.general:
>here's your script,
>
..
>Kill 'em All
>The Wall";
>
>$mem = split("\n", $mem);
Explode() is less expensive then split(), as long as you don't use regexp,
which is the case here, and (
wait a minute... do you want to parse the HTML to get the values to
populate a mysql table, or do you have this table in another DB and just
want it copied to your mysql one??
If it is the former, you'll some very hardcore regex work to be done... I
once did this... it is very stressing work..
Hello,
I'd like to create a series of web pages and burn them to CD. To achieve a
unified layout of these pages, I'd like to use PHP to generate them. I'm
working on Win98 with no web server installed and a dial-up connection to
net. What's the php.exe's command line syntax? I can't find it in th
I need to get from another page table and put it into MySQL table
dynamically
for example http://66.96.230.191/table.html so I need to parse this table
in database.
If you have any code how to implement such operation by using php MySQL
please help me;
thanks in advance
__
Hi all.
I was wondering if a situation I'll describe below is possible. If it is,
I'm hoping someone could point me to the topics I would need to study to
learn how to do it. I hate to say that right now I don't have the time to
read the Manual or any books cover-to-cover to figure it out...but I
it was just a typo... I meant:
$categories[0]["id"]=2;
$categories[0]["name"]="lele";
$categories[1]["id"]=6;
$categories[1]["name"]="lala";
.. ...
and so on...
At 00:52 16/9/2001 -0400, you wrote:
>The below code would result in an array of:
>
>$categories[0]["id"]=2;
>$categories[0]["name"]=
I have script for getting header of article from NNTP server using sockets:
";
}
?>
output have look so:
...
Path: csnews.vslib.cz!not-for-mail
From: "Antonin Mohaupt" <[EMAIL PROTECTED]>
Newsgroups: cz.comp.lang.php
...
but it is only
...
Path: csnews.vslib.cz!not-for-mail
From: "Antonin Moh
> Thanks for the quick answer. It works, but I was curious what
> does the number
> before the adress mean. content="??>>>0<<
Delay in seconds before redirection occurs.
--
Richard Heyes
"I know not with what weapons World War III will be fought, but World War IV
will be fought with sticks and s
php-general Digest 16 Sep 2001 11:04:42 - Issue 879
Topics (messages 67471 through 67490):
PHP Auth problem
67471 by: Alex Sofronie
Please please please help!
67472 by: Kyle Smith
help with some nasty recursive algorithm
67473 by: Christian Dechery
Re: redirect to
Hi !
Thanks for the quick answer. It works, but I was curious what does the number
before the adress mean.
Thanks
Nikola
9/16/01 4:08:08 AM, "Gavin" <[EMAIL PROTECTED]> wrote:
>Yes, this HTML line will redirect the browser to the php page..
>
>
>
>Gavin
>
>"Nikola Veber" <[EMAIL PROTECTED]>
> Does anybody know how to get hold of the rownumber of the current row in a
> php-script?
> (Rownumber in the actual file.)
echo __LINE__;
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact
Hi
Does anybody know how to get hold of the rownumber of the current row in a
php-script?
(Rownumber in the actual file.)
Thanks
/Håkan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
83 matches
Mail list logo