Jerry Miller wrote:
There's a FAQ section entitled PHP and Other Languages,
C isn't even listed among them!
Neither is COBOL. :-)
But you could Google for PHP and C and probably come up with something
worth reading.
But do feel free to write up a new section for the manual.
You can skip
Jerry Miller wrote:
Here's the code (with the domain name removed)
that doesn't work, despite the poor documentation
of the variable types:
?
$dir = /home/domain_name/www/binary/;
$dh = opendir ($dir);
do
{
$file = readdir ($dh);
}
Here's the code (with the domain name removed)
that doesn't work, despite the poor documentation
of the variable types:
?
$dir = /home/domain_name/www/binary/;
$dh = opendir ($dir);
do
{
$file = readdir ($dh);
}
while (!strncmp
There's a FAQ section entitled PHP and Other Languages,
C isn't even listed among them!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thursday 03 February 2005 07:00, Jerry Miller wrote:
There's a FAQ section entitled PHP and Other Languages,
C isn't even listed among them!
Neither is Prolog, Pascal, ADA, ...,
The point you seem to be missing is that PHP is geared mainly towards creating
web pages, that's why ASP, Perl,
It's a pretty big difference, so there's logic for that.. You can't really
compare them.. Not in my opinion anyway..
--
// DvDmanDT
MSN: dvdmandt¤hotmail.com
Mail: dvdmandt¤telia.com
Jerry Miller [EMAIL PROTECTED] skrev i meddelandet
news:[EMAIL PROTECTED]
There's a FAQ section entitled PHP and
On Thursday 03 February 2005 05:46, Jerry Miller wrote:
Here's the code (with the domain name removed)
that doesn't work, despite the poor documentation
of the variable types:
$filename = sprintf (%s%s, $dir, $file);
Wouldn't
$filename = $dir . $file;
be easier?
printf
You should use ord() on each of the $cont{} ones..
printf (%02x %02x %02x %02x, ord($cont{0}), ord($cont{1}),
ord($cont{2}), ord($cont{3}));
That'll probably work much better..
..
PHP != C++, or C for that matter.. C was designed to be as close as possible
to ASM, but high-level.. PHP
PHP files can be named whatever you want.. Just know that they are parsed on
the serverside, not the client side.. Therefore, text/php would be pretty
stupid to do.. And I don't know what you mean be that script thing, you
probably don't even understand what PHP is when you make that statement..
9 matches
Mail list logo