Sorry, perhaps I should have been a bit more specific.
Here is my *.php file. I want the hello world
script to output to the Right Menu table on
my web page: http://213.84.71.105/ .
?php
$xml = ./test.xml;
$xsl = ./test.xsl;
$_parser = xslt_create();
if( !$result = xslt_process( $_parser,
Just off the top of my head wouldn't describe then mysql_num_rows() be a lot
more efficient.
Tim Ward
www.chessish.com http://www.chessish.com
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
--
From: John Holmes [SMTP:[EMAIL PROTECTED]]
Sent: 09 June 2002 18:29
If ($result = mysql_query(SELECT * FROM $table_user, $table_quiz
WHERE
$table_quiz.user_id=$table_user.user_id
AND username='$valid_user'
AND password='$valid_password'))
{ if
yes, I think getting the result set for 'describe $table' or 'show
fields from $table' and then doing mysql_num_rows() on that is best
because it will return right away and will work for empty tables as
well.
On Mon, 10 Jun 2002 09:00:41 +0100, Tim Ward wrote:
Just off the top of my head
Hi,
i must get the information saved in a several select list named
liv_1 select name=liv_1
liv_2 select name=liv_2
liv_3 select name=liv_3
liv_n select name=liv_n
To get the value i work in this way...
Hi all,
I have a .txt file containing a mysql dump. Normally when I would restore this dump I
would go to the mysql 'prompt' and type something like: mysql dimpfile.txt. I would
use SSH or telnet for this.
Now I have this new problem: I cannot reach the sql pompt via SSH/telnet. Is there
what's the matter with using mssql_num_fields() and get the answer directly.
$fields = mysql_list_fields($db, $table, $link);
$columns = mysql_num_fields($fields);
Hugh
- Original Message -
From: Mark [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]; John
You need to escape the dollar sign with a backslash to prevent PHP trying to
interpolate the variable $liv (which presumably doesn't exist).
echo \$liv_$i;
HTH,
- Kev
-Original Message-
From: Veronica Ghezzi [SMTP:[EMAIL PROTECTED]]
Sent: 10 June 2002 09:24
To: Php-General
Free hosting for PHP Developers!
As many MySQL Databases as you need (Also accessible remotely if needed)
PHP with all the bits http://scripts.operationenigma.net/phpinfo.php
FTP Access
Subdomain or Your own Domain
Tech Support over MSN if needed
98% Uptime
2 Megabit Connection based in
?php
$i = 1;
$liv_1 = one;
$liv_2 = two;
$liv_3 = three;
$liv_4 = four;
$liv_5 = five;
while ($i = 5 ) {
$do = echo \$liv_{$i};;
eval($do);
echo br;
$i ++;
}
?
Simply echoing the \$liv_$i will not work, need to evaluate the string
after parsed as in example above...
Kevin Porter wrote:
You
Try:
for ($i=1; $i=$n;i++){
...
$tmp=liv_$i;
echo {$$tmp};
...
}
Veronica Ghezzi wrote:
Hi,
i must get the information saved in a several select list named
liv_1 select name=liv_1
liv_2
This work for me:
liv_1select name=liv[1]
liv_2select name=liv[2]
liv_3select name=liv[3]
liv_nselect name=liv[n]
To get the value i work in this way...
$liv= $_REQUEST['liv'];
$n = 50;
for ($i=1; $i=$n;i++){
...
On Monday 10 June 2002 16:34, Wilbert Enserink wrote:
Hi all,
I have a .txt file containing a mysql dump. Normally when I would restore
this dump I would go to the mysql 'prompt' and type something like: mysql
dimpfile.txt. I would use SSH or telnet for this.
Now I have this new
http://www.php.net/manual/en/reserved.variables.php#reserved.variables.cooki
es
Use Superglobals...you will see what I mean.
Also, Apache 2.0 is not recommended as of yet for PHP commercial development
http://www.apacheweek.com/issues/02-06-07
Regards,
Craig
Scott 'Intense!' Reismanis [EMAIL
Hi, I recently upgraded my server and
now, when developing php, the
server takes ages to respond
to any php bug.
I.e. When I am trying to debug my
scripts, it takes ages to see what
warning messages I get.
Is there some check in the php.ini
I used to have set which allows
fast error
Can a php script be put within a stylesheet and
work properly? If so, how?
For instance, this script put inside an XSL
stylesheet file:
?php
$myvar = Hello World;
echo $myvar;
?
Then it is transformed into html via Sablotron.
--
Bill
On Sunday, June 9, 2002, at 12:56 AM, John Taylor-Johnston wrote:
Absolutely. I've done it. Cookies are cookies.
What I don't like is that the cookie is not saved unitl after a submit.
In Javascript, I have JS code that will assign a value and save it to a
cookie and then recall the
Hi NG Users,
I'm implementing some php 4.2.x code to manipulate Microsofts AD. I have already
set-up the domain controller to handle LDAP over SSL (Port 636) and it looks like it
is working, at least I can download a certificate when I browse the server with HTTPS.
The problem now is to get
Yes you can place one in a style sheet you just need to tell apache (or
whatever) that .css should be parsed by PHP, this can be done via a
.htaccess or something similar... Here is a example in a .htaccess file:
AddType application/x-httpd-php .css
andrew
- Original Message -
From:
I have a capture form using text fields. This form receives data from the
user and then through a php module the data will be stored on an Oracle
database via ODBC. All the data is converted to caps using the
strtoupper() function. However when the user writes characters like ñ the
On Mon, 10 Jun 2002, Miguel Cruz wrote:
On Sun, 9 Jun 2002, Greg Beaver wrote:
June 9, 2002
RELEASE ANNOUNCEMENT
phpDocumentor version 1.1.0rc1
http://www.phpdoc.org
Best of all, with OSX IE 5.14, the page comes up completely blank.
Well in Opera6/Win it's just a big mess, probably
Can you do the strtoupper() in your query, using the appropriate Oracle
function?
Maybe it'll handle the different character sets better.
---John Holmes...
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 07, 2002 3:07 PM
Subject: [PHP] HTML or PHP
Hi,
I have a RH 7.2 server with php 4.1.2 installed as a CGI.
I'm trying to run this script
#!/usr/local/phpcgi/bin/php -q
?
print hello;
?
I get this as output:
[root@dev bin]# ./test.php
Error in argument 1, char 3: option not found
Error in argument 1, char 3: option not found
Usage: php
I want to use this package,
with DBG v2.10pl1, (C) 2000,2001, by Dmitri Dmitrienko, [EMAIL PROTECTED],
http://dd.cron.ru
but I dont want to spend any money.
Any one know of a nusphere hack?
What is the story behind that?
Cheers, Dan.
--
PHP General Mailing List (http://www.php.net/)
To
#1 Don't cross post like this ... asking about a free Editor that
integrates with DBG would fit php-general but definitely not php-dev or
pdphoc
#2 Don't come to any of this lists for hacks for software
#3 DBG is freeware and there are several Editors that integrate DBG
SE IDE was bundeled with
Whenever a user runs the mail function, an e-mail messsage is sent
properly but the page just hangs.
Has anyone else had this problem?
Hello,
On 06/10/2002 12:07 PM, Phil Schwarzmann wrote:
Whenever a user runs the mail function, an e-mail messsage is sent
properly but the page just hangs.
Has anyone else had this problem?
I heard it happens on Windows but I am not sure why. It looks like it is
missing \r\n somewhere.
I have read that the mail function doesn't come back if it fails ... but
from what you are saying, the function didn't fail ...
- Original Message -
From: Phil Schwarzmann [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, June 10, 2002 4:07 PM
Subject: [PHP] mail() function hangs
Does anyone have or know of a function that will take an array and
do array_reverse() recursively? I have the following array/structure:
Array
(
[0] = Array
(
[0] = Array
(
[0] = bob
)
)
[1] = Array
Monday, June 10, 2002, 5:07:48 PM, you wrote:
Does anyone have or know of a function that will take an array and
do array_reverse() recursively? I have the following array/structure:
Something like this (UNTESTED!!)...
function recursive_array_reverse($arr)
{
foreach ($arr as $key =
Monday, June 10, 2002, 5:12:50 PM, you wrote:
Monday, June 10, 2002, 5:07:48 PM, you wrote:
Does anyone have or know of a function that will take an array and
do array_reverse() recursively? I have the following array/structure:
Something like this (UNTESTED!!)...
function
I was wondering can I create a new Object inside of a different class?
class One
{
//constructor
function One
{
$this-two = new Two;
$this-test = $this-two-test();
}
}
Can you do that? If so is that how you do it?
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
On Monday, June 10, 2002, at 12:17 PM, Jay wrote:
I was wondering can I create a new Object inside of a different class?
class One
{
//constructor
function One
{
$this-two = new Two;
$this-test = $this-two-test();
}
}
Can you do that? If so is that how you do it?
Exactly.
Yes, you can do that and yes that's how you do it :)
Danny.
- Original Message -
From: Jay [EMAIL PROTECTED]
To: Php-General (E-mail) [EMAIL PROTECTED]
Sent: Monday, June 10, 2002 5:17 PM
Subject: [PHP] OO Question
I was wondering can I create a new Object inside of a different
Miguel and others
Sorry about the OSX problem and Opera 6 issue, I am not responsible for the
web design, but will pass this on to the web designer. You can also
directly view the sourceforge project at
http://www.sourceforge.net/projects/phpdocu which will probably work in OSX
IE 5. However,
php-general Digest 10 Jun 2002 16:02:47 - Issue 1397
Topics (messages 101355 through 101394):
Re: simplicity with 2 queries..
101355 by: John Holmes
101356 by: Bogdan Stancescu
101368 by: Tim Ward
Re: Date?
101357 by: Bogdan Stancescu
fputs/fgets working
Im no OO coder but I did try this before.
I made (well started to anyway) a class that uses two other classes, and
yes,
$this-that-do_something() did work for me
Jay wrote:
I was wondering can I create a new Object inside of a different class?
class One
{
//constructor
function One
{
I am sending mails from my site by PHP code ( mail($em, $sub, $temp,
$headers); )
and wants to capture bouncers in one email address.( My intention is to
remove those bounced address ). I have set the from address like this
$from=From:[EMAIL PROTECTED]\n;
$headers = $from.Content-Type:
Hi
I am trying to feature a calendar on a web site. I would like it to display
on a page and be able to change to another month when this is requested and
display items for the general public. I want the client to be able to go
into the database and update the items and those items to appear on
FUDforum 2.0 is a web forum released under the GPL license, written in PHP4
utilizing a MySQL database backend.
The forum is completely customizable via a templating system, which is
compiled for optimal performance. The templating
system also has integrated i18n support, which allows the forum
Hello ppl...
i'd like to know if it's possible that a php script sends message to a cell phone...
i please anything about it ...
thnx in advance..
Alexandra Aguiar
Not as far as I know.
But the PHP script may very likely be able to send a message to a SMS
Gateway...
SMS messages doesn't run on TCP/IP (Your cell phone doesn't have a IP
Address).
Kind Regards,
Chris Knipe
MegaLAN Corporate Networking Services
Tel: +27 21 854 7064
Cell: +27 72 434 7582
Is it just me or the forum area totally overflowing with choices? I often
wonder why people don't pool talents and work on really great products,
instead people break off and make their own system - quite unusual...
Jeff
- Original Message -
From: Ilia A. [EMAIL PROTECTED]
To: [EMAIL
Try using a different database and it might be worth while...
Thank you,
RAY HUNTER
-Original Message-
From: Jeff Lewis [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 10, 2002 11:51 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] FUDforum 2.0 Stable Released
Is it
Jeff,
You are absolutely correct that there are many forum software choices out
there however, not are identical or even similar.
First there is the design language choice, there are many forums that are
written in PHP, but there are no less forums written in PERL, ASP and
ColdFusion because
I have compiled and installed php4.2.1 on my linux www server that runs
apache. Since we have many virtual hosts and utilize suexec I decided to
install php as a binary and be able to use php as a cgi binary. I am able to
run my php scripts through suexec which is great. The problem is that any
I had this exact need but I was solved partially by my cell phone provider.
I have verizon and verizon actaully assigns each phone an email address if
you have text messenging.
So all i had to do was send an email to that address and it would go to my
phone in about 30 seconds or so.
-Jared
Hi Subhendu:
On Mon, Jun 10, 2002 at 10:38:10PM +0530, Subhendu Mohapatra wrote:
$from=From:[EMAIL PROTECTED]\n;
$headers = $from.Content-Type: text/html; charset=iso-8859-1\n;
That should have a space in there. Also, it's best to have an \r too.
From: [EMAIL PROTECTED]\r\n;
--Dan
--
I've built an application framework in PHP that makes heavy use of the
smart URL technique for passing variables, which works great with
Apache 1.3.22. I have reports, however, that it breaks under Apache 2.x,
and would like to verify whether or not anyone can confirm this.
I'm using URLs to
hi list,
i have a question regarding a class for matrix modifications so i dont
have to re-invent the wheel ;)
i would like to do things like this:
matrix with 5*5 colums/rows
x x x x x
0 0 0 0 0
x x x x x
x x x x x
x x x x x
x x x x x
x x x x x
0 0 0 0 0
x x x x x
x x x x x
maybe that
After completing most of the coding for my site, I would like to use https
for restricted areas that require login. In short tests, I've discovered
that, yes, I can engage the encrypted mode while calling these pages, but
I've also discovered that it stays in the https mode even when it passes
I think this will work. You'll have to test it to confirm:
$A[0][0] = x;
$A[0][1] = x;
$A[0][2] = x;
$A[0][3] = x;
$A[0][4] = x;
$A[1][0] = 0;
$A[1][1] = 0;
$A[1][2] = 0;
$A[1][3] = 0;
$A[1][4] = 0;
$B = $C = array();
$B = $A[0];
$C = $A[1];
$A[0] = $C;
$A[1] = $B;
-Original
Isn't it just an issue of whether you call http: or https: ?
-Original Message-
From: Andre Dubuc [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 10, 2002 11:27 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Switching from HTTPS to HTTP using PHP?
After completing most of the coding for my
If there isn't one, (have you tried phpclasses.org etc.), I think the
string functions are powerful enough.
What kind of manipulations you need? Is it simple column/row transforms or
doing all kinds of maptrix operations?
hi list,
i have a question regarding a class for matrix modifications so
I ran into this problem too - but there is a conf directive to handle it now
(even on FreeBSD, which I use) -
http://httpd.apache.org/docs-2.0/mod/core.html#acceptpathinfo
Danny
- Original Message -
From: a.h.s.boy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, June 10, 2002 7:14
Kevin P [EMAIL PROTECTED] skrev i en meddelelse
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi
I am trying to feature a calendar on a web site. I would like it to
display
on a page and be able to change to another month when this is requested
and
display items for the general public. I want
Hi Ed,
Maybe it's just one of those slow days, brain-wise. But I have a 'problem'
with https remaining in that mode even on pages that haven't specifically
requested it. That was not my understanding how it worked. Now, if I have to
call http on pages that do not need https, then how would I
Glory!
I have Windows XP Home Edition.. and i downloaded the
latest PHP mySQL. I have Apache 1.3.19 earlier,
which for some reason gives Service Apache Not
Installed now even when everything is installed, on
my windows XP.
So i decided to get a new Apache Web Server.
They have 2 versions
Ok... i'll go for 1.3.24
Thanks,
T. Edison Jr.
--- R'twick Niceorgaw [EMAIL PROTECTED] wrote:
use apache 1.3.24..
php has experimental support for apache 2.0.x.. so
don't trust it much
- Original Message -
From: Thomas Edison Jr. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
On Tuesday 11 June 2002 01:24, Kevin P wrote:
Hi
I am trying to feature a calendar on a web site. I would like it to display
on a page and be able to change to another month when this is requested and
display items for the general public. I want the client to be able to go
into the database
Whenever I use a mult-line textfield, the data inside doesn't transfer
over. But single-line textfields work just fine.
how do i fix this?
Do you mean the data doesn't transfer over to your database?
Phil Schwarzmann [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Whenever I use a mult-line textfield, the data inside doesn't transfer
over. But single-line textfields work just fine.
how do i fix
I'm creating an upload form for users to upload files to my server. but I
don't want them to overwrite existing files if they try to upload using the
same file name...
THE FOLLOWING SCRIPT WORKS PERFECTLY
if (file_exists(uploads/documents/.$file_name)==TRUE) {
die (File already exists);
By multi-line text field do you mean a textarea field? Could be you're
not using it right. Remeber this construct *requires* the closing tag. The
vlaue goes between the two tags.
textarea name=text cols=15 rows=5/textarea
?
echo $_POST['text'];
?
- Original Message -
From: Phil
What kind of an error are you recieving? Could it be you're sending output
prior to the header function? The alternative solution would be to
include(file_exists.php); then exit.
-Kevin
- Original Message -
From: Shane Kelly [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, June
On Monday, June 10, 2002 at 8:03:40 PM, you wrote:
header(Location:http://www.mysite.com/file_exists.php;);
You should have a space after Location:...
header(Location: http://www.mysite.com/file_exists.php;);
If that's not it, please post the error/what happens. We are not mind readers.
--
hi all,
i was wondering,
i'm making a php page. this php page is outputting a very lot of html to a
browser.
is it also possible to capture this html code and store it in a database?
so later on i can retrieve a full html page without the dynamic elements in
it
thx Wilbert
Check out these articles at DevShed
http://www.devshed.com/Server_Side/XML/XMLwithPHP/
olinux
--- Dan Hardiker [EMAIL PROTECTED]
wrote:
I would like some of the text to be
bold, or maybe I would like to insert a
hyper-link. Unfortunately it
does not seem I can do this with ordinary HTML
I don't get an error message...but the page doesn't automatically forward to
the redirected url.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Also checkout phpbeginner.com it has an article about xslt, xml and php...
www.phpbeginner.com
Thank you,
RAY HUNTER
-Original Message-
From: Sebastian A. [mailto:[EMAIL PROTECTED]]
Sent: Sunday, June 09, 2002 9:21 AM
To: PHP General List (PHP.NET)
Subject: [PHP] Formatting XML
You might consider using output buffering in order to accomplish that goal.
http://www.php.net/manual/en/ref.outcontrol.php
You could buffer the entire page and store the buffer into the DB at the end
of the page load.
-Jared
-Original Message-
From: W. Enserink [mailto:[EMAIL
Look at the output buffering section in the manual. Read the user comments.
http://www.php.net/manual/en/ref.outcontrol.php
---John Holmes...
- Original Message -
From: W. Enserink [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, June 10, 2002 3:34 PM
Subject: [PHP] storing html
I am trying to display on a web page a daily message from a mailing list
that I am on. What I want is to have a script run on my server each day at
a certain time that reads the mail file that contains the daily email
message, takes the Article Titles and makes them the link text to be used
with
I'm pretty sure it's just an issue of using HTTPS for encrypted pages and
HTTP for unencrypted. For example:
http://www.example.com
is unencrypted and pulls from port 80 on the web server. Whereas,
https://www.example.com
would be encrypted and come from port 443 on the web
Give us a copy of the code so we can tell what you're talking about.
-Original Message-
From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 10, 2002 12:10 PM
To: [EMAIL PROTECTED]
Subject: [PHP] multi-line textfields don't post
Whenever I use a mult-line textfield, the
You'll need to have a cgi version of PHP to use in cronjobs and you'll need
to use http://www.php.net/manual/en/function.preg-grep.php
Good luck =)
-Original Message-
From: Jonathan Duncan [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 10, 2002 12:48 PM
To: [EMAIL PROTECTED]
Subject:
LE You'll need to have a cgi version of PHP to use in cronjobs
Not entirely true; you can run a script off your server as well, using
lynx -dump http://server/path/to/file as the line in crontab
- Julie
-- Julie Meloni
-- [EMAIL PROTECTED]
-- www.thickbook.com
--
PHP General Mailing List
The only thing I can think of is that you have a syntax error in the header.
-Kevin
- Original Message -
From: Shane Kelly [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, June 10, 2002 1:43 PM
Subject: Re: [PHP] Help with header function
I don't get an error message...but the
Good point.
-Original Message-
LE You'll need to have a cgi version of PHP to use in cronjobs
Not entirely true; you can run a script off your server as well, using
lynx -dump http://server/path/to/file as the line in crontab
- Julie
I'm pretty sure it was the lack of a space in the header field between
Location: and the actual url.
-Original Message-
The only thing I can think of is that you have a syntax error in the header.
-Kevin
thx great tip:-)
- Original Message -
From: Jared Boelens [EMAIL PROTECTED]
To: W. Enserink [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, June 10, 2002 9:41 PM
Subject: RE: [PHP] storing html in a db
You might consider using output buffering in order to accomplish that
goal.
Don't be so sure. :) I did a test with two location headers, one with and
one without a space, both worked properly. But when I purposfully
misspelled Location to introduce a syntax error, the page did not redirect
or give an error. This is exactly the result he was reporting so clearly
there
Hi,
I've two queries on the same table. They have the following structure:
Query1: SELECT FIELD1, COUNT(FIELD2) AS TOTAL from TABLE GROUP BY FIELD1
Query2: SELECT FIELD1, COUNT(FIELD2) AS SUB from TABLE WHERE FIELD2=1
GROUP BY FIELD1
Now I want to print a table that prints the values of
LOL Yea, it's always much easier if we have actual code to work from rather
than taking guesses in the dark.
-Original Message-
Why do I get the feeling I'm playing that mind bender game where you have
to guess the right combination within so many turns? LOL
I am looking for a way to pass two variables in a url string to a php script. I
originally was using java script to acomplish this because once the user is redirected
they can not press the back button to get back to the original page. It looks like
this:
?
script window.location =
Instead of window.location, try document.formName.target = file.php?params
- that's how I have mine set up and it works well.
You need to follow that with document.formName.submit()
-Natalie
-Original Message-
From: Kris Vose [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 10, 2002 4:41
What you're asking is considered a UNION. I'm not sure which database
you're using, so I can't tell if it supports UNIONs or not. If you're using
MySQL, UNIONs are supported in version 4.0-alpha.
Another approach is storing the results of both queries in single array and
then pulling it from
Ed,
Thanks for the reply. Actually, I have the module version and the cgi
version of PHP running on my server. I have another script that I run
daily, but that is a different beast with my own content. Also, I know
about egrep and preg_egrep, great functions. However, I am looking for an
Did you verify that the variables actually contain data?
They're probably empty, which is why they dont seem to
be passing correctly.
--
Scott Hurring
Systems Programmer
EAC Corporation
scott (*) eac.com
--
Kris Vose [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL
Exploding at the = is a good idea. I'd just fread the file into a
variable, explode it, and then egrep up to the first delimeter. I'm not
sure if this is the best approach... but it's the most likely approach I'd
take if I were working on this. =)
---
I am looking for an
On Mon, 10 Jun 2002, Andrew Brampton wrote:
Yes you can place one in a style sheet you just need to tell apache (or
whatever) that .css should be parsed by PHP, this can be done via a
.htaccess or something similar... Here is a example in a .htaccess file:
AddType application/x-httpd-php
CSS in this sense is client side. As long as the PHP output is valid style
codes, you should be ok.
-Original Message-
On Mon, 10 Jun 2002, Andrew Brampton wrote:
Yes you can place one in a style sheet you just need to tell apache (or
whatever) that .css should be parsed by PHP, this
The PHP parsing would take place before the file is sent to the browser. The
CSS goes into effect when it hits the browser, on the client side, so it
wouldn't matter. All the client cares is that there was a CSS file sent, it
doesn't care if it was text or created by PHP or whatever.
That's how
I am trying to feature a calendar on a web site. I would
like it to display on a page and be able to change to
another month when this is requested and display items for
the general public. I want the client to be able to go into
the database and update the items and those items to
That's how I interpret it at least... Does the CSS file _HAVE_ to end
in .css? Or does it just matter how you link
HTTP content headers can be used to tell the client that this is a file of
a different name. EG: I have a pdf outputted from a output.php file and to
make it look like file.pdf
while not documented, PHP now has the mail-parse functions (see
documentation for function list)
-Original Message-
From: Jonathan Duncan [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 10, 2002 3:48 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Parse an email message for content
Ed,
How do i setup safe mode scripting (each script has a different uid) on my
win32, apache, php setup? my plesk host has to use it and i want to be able
to test my scripts on my own computer.
i set safe mode = On in my php.ini file but the script still lets me
include a file, whereas the script on
I'm trying to get my head around arrays and how to munipulate them.
what I need to do is add html around the arrays eg.
lia href='.$link(0).'.$name./a/li;
I have my head around that but I the number of lines the I need to create is
going to change so I need the script to repeat untill all the
Thanks Ed,
As you mentioned in your last lines, I'll have to specify the http protocol
for the ordinary pages -- I hadn't done that yet. I assumed it would default
to http; but, if I had thought about it, that wouldn't make sense. Unless
told otherwise, https would not know that another
I am using the O'Reilly Programming PHP manual, and have copied the code
from Example 7.3, p. 166. I have the magic_quotes_gpc set to ON in php.ini
(though toggling between on and off doesn't seem to have any effect). My
processed form reports 0.00F is -17.78C regardless of the initial
1 - 100 of 138 matches
Mail list logo