Hello guys,
I need a script that backs up the database running under cron.
I just wrote an internal (quite important, but not fast growing) database
and I HAVE TO release it by next Monday.
Something is going quite strange in it on updates, it often updates other
fields that it shouldn't
On Thu, 18 Jan 2001 01:54:28 -0600, "Jeff Lacy"
[EMAIL PROTECTED] wrote:
anyone had thought/opinions on below10host.com as a web host?
I'm speaking as a budding competitor, so keep that in mind. :-)
According to their web page, below10host.com gives you 6GB per month
for $9.95. By way of
My vote is still just for include files to have a standard (already
accepted) extension.
I think you may be missing the point on this one.
The question wasn't what to name included files but how to stop apache
parsing or showing the contents of the include files.
The obvious solution of
if they are called the same then you can add them ... how? good question ...
how is .htaccess added.. the same way. there, in httpd.conf you can select
which files not to show wit h, i think regular expression.. if you don't
have the access to httpd.conf, or simply do not wish to use it, then
Alright, so here's my question on the whole phpwebhosting.blah thing...
If they are extremely pro-PHP for hosting, how come they haven't
responded to some of the _slams_ they've received on this list? I'd be
surprised to hear that no-one working for PHPwebhosting wasn't at least
lurking on this
Hello!
Could anyone give me an direction where I can find information something
like "session for dummies"!
It's not funny anymore. I don't have anymore hair left :-]
david
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hi people,
Can PHP3 work with flash movie? I mean, something like using Php3 to run flash content
from db? If so, is there anywhere I can find out more information?
cheers
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"
I have an problem with PDFLib and PHP.
I'm trying to include images in PDF file using pdf_open_image_file
If in my source code is line:
$o=pdf_open_image_file($pdf,"gif","pict.gif");
i get the error: Cannot find server or DNS Error (The page cannot be
displayed). What's wrong.
hi,
see www.artfuntasy.com
just flash4, php3, mysql
greetings
andreas
- Original Message -
From: "Jacky@lilst" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 18, 2001 11:23 PM
Subject: [PHP] flash and php
Hi people,
Can PHP3 work with flash movie? I mean,
Hello,
I need to know how to get apache to parse CGI output with the SSI parser (the
[php] script will have includes, which need to go through mod_include).
changing the mime-type to x-server-parsed or anything hooked by mod_include
doesnt help.
thanks,
Hrishi
--
PHP General Mailing List
-Ursprungliche Nachricht-
Von: changelog [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 17. Januar 2001 03:09
An: [EMAIL PROTECTED]
Betreff: [PHP-CVS-DAILY] cvs: php4 / ChangeLog
changelog Tue Jan 16 18:09:29 2001 EDT
Modified files:
/php4
I can't speak for Windows 2000, but for NT4, I've been running PHP4 as a CGI
under IIS, with MySQL since PHP4 was in beta, on several machines, with
moderate loading. I've never had a single problem, nor have I had to reboot
the machines during the last year.
That's stable enough for me! I have
In article DC017B079D81D411998C009027B7112AA93458@EXC-TYO-01,
[EMAIL PROTECTED] (Maxim Maletsky) wrote:
anyway, is there any script like that (fast and dirty is ok) to run on
MySQL, PHP4.0.2 ?
What about putting a mysqldump call into a crontab?
--
CC
--
PHP General Mailing List
Hi!
I have an array that looks kinda like this:
NAMEADDRESS
John DoeSome Street 1
Jane DoeAnother Street 2
Bill Gates Helsinki 666
How do I sort this array based on NAME? ADDRESS?
Thanks!!
- Nicklas
--
PHP General Mailing List (http://www.php.net/)
To
On Thu, Jan 18, 2001 at 04:23:58PM -0600, Jacky@lilst wrote:
Hi people,
Can PHP3 work with flash movie? I mean, something like using Php3 to run flash
content from db? If so, is there anywhere I can find out more information?
I use swift-generator from www.swift-tools.com, which integrates
sas Thu Jan 18 02:45:22 2001 EDT
Modified files:
/php4/ext/ircg README.txt
Log:
Add a pointer to the homepage at the beginning
Index: php4/ext/ircg/README.txt
diff -u php4/ext/ircg/README.txt:1.2 php4/ext/ircg/README.txt:1.3
---
On Thursday 18 January 2001 07:40, Nicholas Pappas wrote:
I was hoping someone could help me with this regular expression...
$pattern = "/\[b\](.*)\[\/b\]/Ui";
$message = preg_replace($pattern, "B\\1/B", $message);
The above works for:
[b]bold text[/b]
Nicklas af Ekenstam wrote:
Hi!
I have an array that looks kinda like this:
NAMEADDRESS
John DoeSome Street 1
Jane DoeAnother Street 2
Bill Gates Helsinki 666
How do I sort this array based on NAME? ADDRESS?
Hi,
When I try to connect to MySQL server I get message "Can't connect to MySQL
server (10060 )!
Please Help!
Thanks
Rosen Marinov
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
sas Thu Jan 18 02:46:18 2001 EDT
Modified files:
/php4/ext/ircg README.txt
Log:
Expand tabs
Index: php4/ext/ircg/README.txt
diff -u php4/ext/ircg/README.txt:1.3 php4/ext/ircg/README.txt:1.4
--- php4/ext/ircg/README.txt:1.3Thu Jan 18
Hello,
I tried to upgrade php3* to php4 on my win98 machine. Downloaded the binarie
and tried to install it. Every time I trie to request a *.php-file I get the
following error:
PHP: Unable to parse configuration file.
Does anyone know what this meens and how to solve it??
php 3 always
I am using write.exe in the windows to edit my php files, is there any
editor which I can test my syntax befor using the browser to execute it?
any help will be appreciated.
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hi Gurus ,
Can you give me pointers(read urls) to "Good Sites" on tutorials or info
from scratch on XML with PHP.
Thanks in Advance.
~Rahul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
on 1/17/01 10:12 AM, Chris Lee at [EMAIL PROTECTED] wrote:
There are occasions when I'd like to execute some long-running task
in the background, in response to some user action. It seems that
Im nearly posative this isnt what your looking for, but I thought I would
see if maybe it was :)
Miles Thompson [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
IIS I'm not familiar with, and Apache has a native scheme involving
.htaccess.
If you want a portable authentication method, I'd recommend authenticating
against a list of users/passwords contained
sas Thu Jan 18 03:59:17 2001 EDT
Modified files:
/CVSROOTgen_acl_file.m4 avail
Log:
Add phpweb Karma for zimt
Index: CVSROOT/gen_acl_file.m4
diff -u CVSROOT/gen_acl_file.m4:1.45 CVSROOT/gen_acl_file.m4:1.46
--- CVSROOT/gen_acl_file.m4:1.45
Thanks. Getting this error. Cannot increment/decrement overloaded objects
nor string offsets. Any idea?
Chris
At 05:54 AM 1/18/01, Knut Stre wrote:
Try this:
$array = array(1,2,3,4,5,3,3,1);
foreach(array_values($array) as $s)
{
$count[$s]++;
}
foreach(array_keys($count) as $s)
{
echo
sas Thu Jan 18 04:08:41 2001 EDT
Modified files:
/CVSROOTgen_acl_file.m4 avail
Log:
php_web karma for mk
Index: CVSROOT/gen_acl_file.m4
diff -u CVSROOT/gen_acl_file.m4:1.46 CVSROOT/gen_acl_file.m4:1.47
--- CVSROOT/gen_acl_file.m4:1.46Thu Jan
use ServerAlias in the httpd.conf file under the site you want it to point
to.
Ive got a RAQ3 and it works fine
Kevin Cawthorne
- Original Message -
From: "Gareth Davies" [EMAIL PROTECTED]
To: "PHP List" [EMAIL PROTECTED]
Sent: Thursday, January 18, 2001 12:55 PM
Subject: [PHP] Cobalt
I have a regular expression that's not giving me the results i really need.
I have a bunch of strings coming at me that need to be truncated if they're
over 15 characters... but not to truncate until after it reaches the first
word.
This regular expression just doesn't seem to want to work
Sounds a lot like Netmeeting
-Original Message-
From: Dallas Kropka [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 18, 2001 12:41 AM
To: PHP LIST
Subject: [PHP] Something cool I found in Wired,
Ok, I know that this is PHP, but I thought that allot of
the
samjam Thu Jan 18 05:21:33 2001 EDT
Added files:
/php4/ext/muscatLICENSE LICENSE.about Makefile.in aegis.log config
config.m4 muscat.c muscat.php muscat_handles.h
muscat_net.c muscat_net.h php_muscat.h
Log:
Does a calendar program exist in PHP similar to Yahoo's program?
(http://www.yahoo.com/calendar)
Todd
--
Todd Cary
Ariste Software
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I'm trying to grab a string from within a string based on a matching word or
phrase. Example...
$string = "This is a string I need to grab the middle out of"
$query_word = "need"
I need to get x amount of characters either side of $query_word, so the
result string would be like...
"string I
http://apc.communityconnect.com/download.html
The Doctor wrote:
On Wed, Jan 17, 2001 at 07:00:12PM -0500, Daniel Cowgill wrote:
Fixes this time around:
* class hierarchies more than two levels deep should work now :)
* should compile cleanly under PHP 4.0.2 through 4.0.4pl1
Dan
Hi,
I have a site which will be updated periodically by someone else, so have
made some forms with textareas for them to upload the text into the MySQL
database. I was wondering if there is a PHP function/class which could
spell check these forms?
TTFN
Nik
--
PHP General Mailing List
samjam Thu Jan 18 05:30:01 2001 EDT
Removed files:
/php4/ext/muscataegis.log config
Log:
Aghh. Despite my efforts two files still slipped through
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
http://www.php.net/manual/en/ref.pspell.php
There's also aspell which is deprecated.
Kristi
- Original Message -
From: "Nik Gare" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 18, 2001 9:12 AM
Subject: [PHP] Spell checker?
Hi,
I have a site which will be updated
How can I do it ??? I installed jpeg-6b, and I readed that before recompile PHP(with
option : --with-jpeg-dir=/.../jpeg-6b), I must recompile gd, its really necessary ? If
si, how recompile gd.
Thanks
Miguel Loureiro [EMAIL PROTECTED]
This should achieve a similar effect as that URI:
?php
echo "404 Document Not Found";
?
;-)
Cheers
Jon
-Original Message-
From: Todd Cary [mailto:[EMAIL PROTECTED]]
Sent: 18 January 2001 13:56
To: [EMAIL PROTECTED]
Subject: [PHP] Calendar program
Does a calendar program
On Thu, 18 Jan 2001, Christian Reiniger wrote:
On Thursday 18 January 2001 07:40, Nicholas Pappas wrote:
I was hoping someone could help me with this regular expression...
$pattern = "/\[b\](.*)\[\/b\]/Ui";
$message = preg_replace($pattern, "B\\1/B", $message);
The
Whooops! Wrong URL!
http://calendar.yahoo.com
Todd
Todd Cary wrote:
Does a calendar program exist in PHP similar to Yahoo's program?
(http://www.yahoo.com/calendar)
Todd
--
Todd Cary
Ariste Software
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To
I am having an issue hopefully someone else has encountered already. I
have successfully compiled the latest expat(0.50) and sablot(1.95.1)
libraries and configured and compiled php4 and apache1.3.14 to use the
Sablotron Extensions.
I think anyway it was successful because it says "Sablotron
Hi!
When I try to compile PHP 4.0.4 as Apache module with gettext support, the
gettext support doesn't function. But when I compile PHP as CGI, the gettext
support works fine. Where is the the problem (other functions works fine in
both case)?
I use Apache 1.3.14 with DSO support, GNU gettext
Well, essentially, a static class method is a method that can be called
without any instances of the class. It's just a nice way to group
functions for your class.
Check out chapter 13 of the php manual:
http://www.php.net/manual/en/language.oop.php
"Static class methods are apparently
I am having an issue hopefully someone else has encountered already. I
have successfully compiled the latest expat(0.50) and sablot(1.95.1)
libraries and configured and compiled php4 and apache1.3.14 to use the
Sablotron Extensions.
I think anyway it was successful because it says
So what editor is recommended? I'm a little familiar with Emacs (kinda
cool, but I'm use to keywords and such being colored - as in Interdev).
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Karl J. Stubsjoen wrote:
So what editor is recommended? I'm a little familiar with Emacs (kinda
cool, but I'm use to keywords and such being colored - as in Interdev).
Try emacs with a php-mode (there are several, search for them).
Wagner
--
One maniac alone can do what 20 together cannot
There is no recommended editor. Use whatever you like, as long as it
stores the files in plain text.
Jeremy
Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED]
http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more
Get your own Free, Private email at
andrei Thu Jan 18 06:36:43 2001 EDT
Modified files:
/php4/ext/standard datetime.c
Log:
@- Fixed 'O' and 'r' flags of date() to have correct sign for timezone
@ offset. (Andrei)
Index: php4/ext/standard/datetime.c
diff -u
Hi!
When I try to compile PHP 4.0.4 as Apache module with gettext support, the
gettext support doesn't function. But when I compile PHP as CGI, the gettext
support works fine. Where is the the problem (other functions works fine in
both case)?
I use Apache 1.3.14 with DSO support, GNU gettext
From: "Ignacio Vazquez-Abrams" [EMAIL PROTECTED]
Sent: Wednesday, January 17, 2001 11:33 PM
On Wed, 17 Jan 2001, Carsten Gehling wrote:
Is there a way to programatically enable the register_globals option for
a
php-script?
For certain reasons I have the register_globals option set to
I run Linux for server / testbed / devel so I cant say here for sure, but I
know in linux if I wanted to test a script without running it on my
webserver (Ive had scripts that crash apache) I compile php as a cgi and do
this.
php -q test.php
the '-q' just means "dont send the http headers"
can
jalist:
I'm trying to grab a string from within a string based on a matching word or
phrase. Example...
You say you want the middle, not two words before and two words after.
I see several ways.
1. Explode into an word-array and use that:
1. prepare string
sniper Thu Jan 18 07:09:35 2001 EDT
Modified files:
/php4/ext/sablotconfig.m4
Log:
Fixed a typo.
Index: php4/ext/sablot/config.m4
diff -u php4/ext/sablot/config.m4:1.12 php4/ext/sablot/config.m4:1.13
--- php4/ext/sablot/config.m4:1.12 Thu Jan 11
Karl,
I suggest Ultraedit (on the PC) at http://www.ultraedit.com. I use it along
side Dreamweaver with good results and good organization. Ultraedit (out of
the box) does not know about PHP; you configure it with one of the several
wordlist files and then you will have syntax highlighting. I
Try this, I know Ive botched your origonal code...
somepage.php
?
while(...)
{
...
echo "tdinput type='checkbox' name='account_num[$SkyAccNo]'
value='$SkyAccNo'/td\n";
}
?
someotherpage.php
?
function checked($val_1, $val_2)
{
if ($val_1 == $val_2)
return " checked ";
}
ciao
--
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]
php-general Digest 18 Jan 2001 16:09:35 - Issue 462
Topics (messages 35249 through 35370):
Re: Ethics question...
35249 by: Egan
35271 by: Angus Mann
35277 by: Les Neste
35278 by: Dallas Kropka
35294 by: Egan
35295 by: Romulo Roberto Pereira
Excellent, thanks a lot Chris.
Steve
(jalist)
[EMAIL PROTECTED]
http://ls2k.org
-Original Message-
From: Chris Hayes [mailto:[EMAIL PROTECTED]]
Sent: 18 January 2001 15:43
To: jalist; PHP
Subject: Re: [PHP] (Newbie) String within a string
jalist:
I'm trying to grab a string from
i work with php3 and mysql in IIS webserver,my project in php work right on
the localhost, but not in the other pc of the LAN, what can i do?
the internet options enable Cookies.
thank you?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
John Huggins wrote:
I suggest Ultraedit (on the PC) at http://www.ultraedit.com. I use it
along side Dreamweaver with good results and good organization. Ultraedit
(out of the box) does not know about PHP; you configure it with one of the
several wordlist files and then you will have syntax
You could either
Compile PHP as a command line executable
or
Use Lynx to call a php page through HTTP.
either wat cron is the way to go
Regards
--
Jon Farmer
www.workcam.co.uk
+44 (0)7968 524175
2001 should be pronounced twenty o one not two thousand and one
"Jason Murray" [EMAIL
Addressed to: CDitty [EMAIL PROTECTED]
[EMAIL PROTECTED]
** Reply to note from CDitty [EMAIL PROTECTED] Thu, 18 Jan 2001 06:58:22 -0600
I see someone else has another suggestion that might be better, using
array_count(). You learn something new every day, which is why I watch
Hi all!
Can someone shed any light on the internals of the session file
format? Is it documented somewhere?
We are building a system to log user paths, and are thinking of
harvesting PHP session objects to accomplish this. Has someone done
the same?
Thanks for all help! :-)
--
-- Eivind
Why would Microsoft be using Solaris, or Linux even? (hint, the same
reason -- their stuff works less good).
Do you know for a fact that they do? If so, how? That'd be a very cool
tidbit of information to share . . .
Yep it is (was) true. We used to laugh about it at work. (We were in
No if memory serves me correctly php by default saves the session files in
its own format, but you can tell php to save sessions in XML (wddx? am I way
off) Ive never used XML, WDDX, or tried doing anything directly with the
sessions files
Chris Lee
"Eivind Trondsen" [EMAIL PROTECTED] wrote
As a generalness, from what I've seen, people who just switched from ASP use
somethingUppercase at first. Then forget to capitalize it a few times, and
switch to completely lowercase in disgust (case-sensitivity can be quite a
shock when you're not used to it). And the people who've done PHP
Hello,
I am making a script that creates a dynamic htm page. One of the many
things that this script does is change the css. The problem I am having is
that it doesn't seem to display the css when it is loaded through the web
server. When I look at the source and save it as an htm file. It
I'm working with php3 and IIS, i had set cookie with: name,
$session-cookie,
$session-timeid+3600, "/"); ? but these cokkie work right only on
localhost and not on the others computer of the LAN, the options setting of
internet: enable Cookie, where is the problem?
Thank You!
--
PHP General
Hi
I have a web site that sends virtual greetings cards
But the mails are been sent as nobody@webserver
nobody is the user that runs the web server.
Should I run the web server as a different user so that the mails get
sent as this user instead of nobody ?
I've play with the headers in the
Check out chapter 13 of the php manual:
http://www.php.net/manual/en/language.oop.php
"Static class methods are apparently supported in php v4.02"... using
:: notation.
A user-comment that "it works" does not exactly qualify as a documented
feature...
I wouldn't count on it.
By Day:
What is the basic difference between print and echo? As I am understanding
it, Echo allows you to define a multi-line area to output text without
having to repeat quoting for each line but then what is the advantage of
print?
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To
Hello!
I have one script that has a bunch of checkboxes in a form, all them with
different names. As you know the form only submit the ones that are
checked. I would like to know witch ones the user checked (they will come in
the path as variables I suppose) because I need to make a sum of the
On Thu, 18 Jan 2001, Karl J. Stubsjoen wrote:
So what editor is recommended? I'm a little familiar with Emacs (kinda
cool, but I'm use to keywords and such being colored - as in Interdev).
Thanks!
I've found vim to be quite capable. Only a few syntax highlighting problems,
but no big
$mailsent = mail("[EMAIL PROTECTED]", "Subject",
$mesg, "From: [EMAIL PROTECTED]\n")
Try this,
Julia
Quoting Yurais Fernandez Leal ([EMAIL PROTECTED]):
Hi
I have a web site that sends virtual greetings cards
But the mails are been sent as nobody@webserver
nobody is the
samjam Thu Jan 18 08:16:28 2001 EDT
Modified files:
/php4/ext/muscatmuscat.c
Log:
Some decent credits and such in the phpinfo page
Index: php4/ext/muscat/muscat.c
diff -u php4/ext/muscat/muscat.c:1.1 php4/ext/muscat/muscat.c:1.2
---
Have a look here :
What is the difference between echo and print?:
---
http://www.faqts.com/knowledge_base/view.phtml/aid/1/fid/41
Philip
On Thu, 18 Jan 2001, Karl J. Stubsjoen wrote:
What is the basic
I am not sure what OS you are running but for windows I use PHPED. Check it
out at www.phped.com
-Original Message-
From: Karl J. Stubsjoen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 18, 2001 7:03 AM
To: PHP Mailing List
Subject: [PHP] PHP Editors
So what editor is recommended?
Check here, I have never messed with it just ran into it the other day. I
hope it helps.
http://www.php.net/manual/en/ref.pspell.php
Thank you,
Brandon Orther
WebIntellects Design/Development Manager
[EMAIL PROTECTED]
800-994-6364
Does anyone know a good tutorial on using the ClibPDF functions (I gave up
on pdflib, couldn't get it complied correctly)?
I don't need to know how to do anything complex, just put text into a pdf
that outputs directly to the browser.
Thanks.
--
PHP General Mailing List
Configuration File (php.ini) Path php.ini
is what it said before.
It still says that, I switched back to 4.04pl1 and now it works fine
I wrote an IC parts search engine that will search our MSSQL database for
partial part numbers and
part numbers with the dash in the wrong place. It's
Anyone have any ideas on how to make a function reset every 24-hours? For example, I
have a function that grabs a random quote from a file and selects a new one every time
the page is reloaded. What I want, however, is for the quote to remain the same for a
day and then reset at some
I'm a bit troubled with the fact that variables declared at the top of your
script are not then global to functions within that script. That in order
to see that variable within a function you'd have to declare it as global in
the function (understanding that the variable could have been set at
On 18 Jan 2001 08:28:50 -0800, Eivind Trondsen [EMAIL PROTECTED] wrote:
Can someone shed any light on the internals of the session file
format? Is it documented somewhere?
We are building a system to log user paths, and are thinking of
harvesting PHP session objects to accomplish this. Has
On 18 Jan 2001 08:58:45 -0800, Brandon Orther [EMAIL PROTECTED] wrote:
I am making a script that creates a dynamic htm page. One of the many
things that this script does is change the css. The problem I am having is
that it doesn't seem to display the css when it is loaded through the web
Static class methods certainly do work, and have for some time. I think
Shaun's point is that variable-named function support seems to be
missing for calling static class methods.
John
On Thu, 18 Jan 2001, Richard Lynch wrote:
Check out chapter 13 of the php manual:
A nice explanation, via the mind of Lars Torben Wilson, exists here :
http://marc.theaimsgroup.com/?l=php-generalm=97717398101040w=2
Also, you may want to check out :
http://www.php.net/manual/en/language.constants.php
http://www.php.net/manual/en/function.define.php
Philip
On
Hi all,
I've some strange problems.
I compiled apache PHP from fresh .tar.gz, as static. (and fresh GD,
libpng, jpeg-6b, zlib compilations)
PHP adn GD aren't giving any troubles at all, but the compilation of apache
gives some errors
when trying to compile the PHP4 module... here are they:
gcc -DLINUX=2 -I/root/source/php-4.0.4 -I/root/source/php-4.0.4/main -I/roo
t/source/php-4.0.4/main -I/root/source/php-4.0.4/Zend -I/root/source/php-4.0
.4/Zend -I/root/source/php-4.0.4/TSRM -I/root/source/php-4.0.4/TSRM -I/root/
source/php-4.0.4 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED
it is possible to use isset inside a echo?
like this:
$checked = "CHECKED";
$nothing = "";
echo "input type=checkbox name=cb[0] value=$value[0]
".isset(cb[0])?$checked:$nothing."";
Rom
I am trying to find out if I can take a the quantity of a product ordered
and find out if it is a multiple of three. Can someone point me in the
direction of some documentation or an exmaple of how this can be
accomplished.
Thanks,
Brett
--
PHP General Mailing List (http://www.php.net/)
To
On Thu, 18 Jan 2001, Romulo Roberto Pereira wrote:
it is possible to use isset inside a echo?
like this:
$checked = "CHECKED";
$nothing = "";
echo "input type=checkbox name=cb[0] value=$value[0]
".isset(cb[0])?$checked:$nothing."";
Rom
isset() is a proper function, so yes.
--
On Thu, 18 Jan 2001, Brett wrote:
I am trying to find out if I can take a the quantity of a product ordered
and find out if it is a multiple of three. Can someone point me in the
direction of some documentation or an exmaple of how this can be
accomplished.
Thanks,
Brett
if
Before Microsoft bought it, Hotmail had a FreeBSD/Apache frontend and a
Sun/Solaris backend. Supposedly, corporate wanted MS to move Hotmail to NT,
but supposedly it failed so miserably at serving up 10 million users that
they had to nix those plans. I think Hotmail is running FreeBSD/Apache for
Hello,
I've already compiled PHP4 on my server for php scripts, but there is
one
script which seems to only use PHP 3. So what i'd like to know is if it
is
possible to both install PHP 3 and 4 on the same server and use them both
at the same time? Thanks for any help!
Sincerely,
Jero
How about allowing for metaPasses within the castle? Am sure this topic
came up, what's the conclusion?
Philip
On Thu, 18 Jan 2001, Rasmus Lerdorf wrote:
I'm a bit troubled with the fact that variables declared at the top of your
script are not then global to functions within that
is there any benchmarks or proof that I should host a high traffic site on a
FREEBSD/APACHE instead of a redhat Linux/Apache server?
randy
-Original Message-
From: Ayan R. Kayal [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 18, 2001 1:42 PM
To: [EMAIL PROTECTED]
Subject: [PHP] RE:
I just did this the other day. It's quite a simple task really.
Instructions are at the end of the PHP4 INSTALL file. If you want to
compile
both as Apache modules, just re`configure` both with
--enable-versioning.
Regards,
Ollie
-Original Message-
From: OutBox [mailto:[EMAIL
I have come across numerous reports/tests comparing the various OS's in
terms of raw speed and scalability. There are many conclusions but some
things seem to stick out:
1.) Linux is very well supported and sometimes easier to maintain than the
BSD's (RedHat RPM's etc.)
2.) Linux and FreeBSD
1 - 100 of 222 matches
Mail list logo