Hi,
How to do secure web server hosting +PHP? I don't want clients to see
filesystem usage, processes, etc. - even readonly on filesystem root /,
except on WWW CHROOT for example/home/user1.
Thanks
--
Mindaugas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
I am a recent fan of the single-quotes. I used to use double only but when some gurus
told me the disadvantages I converted my entire project over to single quotes. Single
quotes are ideal because as far coding goes it greatly decreases the time of
development when you don't have to worry
On Friday, October 24, 2003, at 10:43 AM, Shawn McKenzie wrote:
For example it is better to code:
Code:
echo 'td bgcolor='.$bgcolor2.'nbsp;/td/tr';
vs.
Code:
echo td bgcolor=\$bgcolor2\nbsp;/td/tr;
Better is a very loose term, but I've adopted a coding style which
uses
on 10/24/03 0:47, Nathan Taylor at [EMAIL PROTECTED] wrote:
I am a recent fan of the single-quotes. I used to use double only but when
some gurus told me the disadvantages I converted my entire project over to
single quotes. Single quotes are ideal because as far coding goes it greatly
Is there an upper limit to the number of elements that can be in an
array? If so, what is that limit?
--
Ian Truelsen
Email: [EMAIL PROTECTED]
AIM: ihtruelsen
Homepage: http://www.ihtruelsen.dyndns.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hi all,
I have the following statement:
$text = ereg_replace
([live/]*content\.php\?[]*Item_ID=([0-9]*)Start=([0-9]*)Category_ID=([0-
9]*)[]*, content\\1start\\2CID\\3.php, $text);
Basically what I'm trying to do is if the URL includes live/ then I want
to include it in the replace. The way I
Hi
I have tried the net , googling ect. but i cannot get a good description of
what the header function is al about ? Can anyone please define the header
function.
Thanks
Shaun
--
Novtel Consulting
Tel: +27 21 9822373
Fax: +27 21 9815846
Please visit our website:
www.novtel.co.za
--
PHP
http://uk.php.net/header
Have a look at that. As it says, sends an HTTP header. Useful if you want to
specify content type in the page that isn't HTML (maybe an image or a pdf).
Read the above for more info.
Regards
Chris
-Original Message-
From: Shaun van den Berg [mailto:[EMAIL
Hi everyone,
I need to know, if there is a possibility to read full contents of HTTP request. I
know, the response can be sent by header() function. But can I get the request of the
client for server?
Thank you,
Ivo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
hi folks,
i know it's not really php specific, but i think, you guys are the right
ones to address anyhow
i've been struggling all the evening with the followsymlinks option in
httpd.conf. i've already used it before and it always worked... since i
installed the gentoo distro last days. i
Hi all.
I have heard about open source software that is used in tertiary
institutions and other research institutions that handles all the management
of the research articles. In other words, administrating the research
articles - adding, editing, deleting, searching, etc... something similiar
to
Perhaps $_SERVER['REQUEST_URI'] in combination with $_SERVER['QUERY_STRING'] ?
Nathan
- Original Message -
From: Hanuska Ivo
To: [EMAIL PROTECTED]
Sent: Friday, October 24, 2003 6:10 AM
Subject: [PHP] HTTP request contents
Hi everyone,
I need to know, if there is a
Hi,
Friday, October 24, 2003, 8:10:03 PM, you wrote:
HI Hi everyone,
HI I need to know, if there is a possibility to read full contents of HTTP
HI request. I know, the response can be sent by header() function. But can I
HI get the request of the client for server?
HI Thank you,
HI Ivo
HI --
Hi all,
What's the syntax for including/requiring files located in directories
different than the root directory? Especially files from different sub
directories under the root? Going down (classes/globals.php) is ok,
but going up (../globals.php) makes problems
Example:
index.php:
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] says...
Is there an upper limit to the number of elements that can be in an
array? If so, what is that limit?
That rather depends on available memory. How big is each array element?
--
Quod subigo farinam
A: Because it messes up the order in
Hi,
I don't find anything about PHP module/integration for netscape
webserver. Does somebody has done it or know where I can found interesting
articles? (how to compile PHP, how to make a module, ...).
Many thanks in advance.
(o_ BENARD Jean-Philippe - Consultant STERIA
including/requiring a file does not change the directory, the code is
simply inserted into the current context. So you should have:
index.php: include_once('classes/globals.php')
dbase.php: include_once('classes/globals.php')
controller.php:
That style is also the one I use. It works well, it is clean, and it is
straightforward.
Joachim
Richard Baskett wrote:
on 10/24/03 0:47, Nathan Taylor at [EMAIL PROTECTED] wrote:
I am a recent fan of the single-quotes. I used to use double only but when
some gurus told me the disadvantages
Robert Sedlacek wrote:
On Thu, 23 Oct 2003 18:36:20 -0500, John Nichel wrote:
Scott Fletcher wrote:
What does the word, 'parse' meant when you do a XML parse? What is it and
what does it exactly do?
Ummm...it parses the XML document.
I think this would be a nice ~/.signature ;-)
Even better
I can't offer an answer but I can point you to some external resources. Hopefully
they help.
http://httpd.apache.org/docs-2.0/mod/core.html#directory
http://httpd.apache.org/docs-2.0/mod/core.html#options
Edward Dudlik
Those who say it cannot be done
should not interrupt the person doing it.
Basically what I was asking about is what is the true definition of the
'parse' when using XML parsing.
I thought it had to do with data conversion, like something with the quote
or double quote for example. But Chris pointed out a dictionary, I found
better definition there at
:-)
Burhan Khalid [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Robert Sedlacek wrote:
On Thu, 23 Oct 2003 18:36:20 -0500, John Nichel wrote:
Scott Fletcher wrote:
What does the word, 'parse' meant when you do a XML parse? What is it
and
what does it exactly do?
Will do...
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Try looking through http://pear.php.net for something.
check out the xml functions, its an xml parser
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'll look into it. Thanks for the head-up!
John Nichel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
snip
On Thursday 23 October 2003 17:02, Scott Fletcher wrote:
Hi Fellas!
I don't want to use the PHP's XML feature at this moment because I
found out that I need to
Will do...
Ryan Thompson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Try looking through http://pear.php.net for something.
On Thursday 23 October 2003 17:02, Scott Fletcher wrote:
Hi Fellas!
I don't want to use the PHP's XML feature at this moment because I
found out that
I wonder about overwritting the same tag twice, like 'FirstName' and end
up with one result when using hte XML parse... Does anyone know that PHP
XML Parse can work without overwriting in this case and still get two
different result?
Scott F.
Raditha Dissanayake [EMAIL PROTECTED] wrote in
Hi,
we have a site that is catering to webhosts and programmers, as you can
understand these people know computers and programs :-)
They are fooling around with the default settings of their accounts and
giving us funny results and basically being a PITA, asking them nicely to
quit... we are sure
I would probably make this a new thread since it is a new question.
Anyways, the answer to your question is no, unless you make that
happen. When you use the xml parser in php you are using a expat parser
(stream-oriented parser) that you set up (register) handlers for. So
when the parser
* Thus wrote Fernando Melo ([EMAIL PROTECTED]):
Hi all,
I have the following statement:
$text = ereg_replace
([live/]*content\.php\?[]*Item_ID=([0-9]*)Start=([0-9]*)Category_ID=([0-
9]*)[]*, content\\1start\\2CID\\3.php, $text);
Basically what I'm trying to do is if the URL includes
Thanks! Oh Boy! :-)
For the repeating of the same XML name tag, I guess one way to do it is to
depend on the higher up XML name tag that group them together. Chopped them
off and use it somehow.
For ex.
--snip--
Individual
FirstName***/FirstName
/Individual
Joint
FirstName***/FirstName
--- Shaun van den Berg [EMAIL PROTECTED] wrote:
I have tried the net , googling ect. but i cannot get a good
description of what the header function is al about ? Can anyone
please define the header function.
It allows you to specify an HTTP header to be included in the response to the
Web
--- Hanuska Ivo [EMAIL PROTECTED] wrote:
I need to know, if there is a possibility to read full contents of
HTTP request. I know, the response can be sent by header() function.
But can I get the request of the client for server?
In a way, yes, although most of this information is nicely parsed
I have been searching the web for ways to execute remote PHP files through
the use of JAVA code, but I haven't had any luck. I have found many ways to
call JAVA functions from a PHP script, but not the other way around. What
I'm trying to accomplish is I want to build a JAVA application that
Allex [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi all,
What's the syntax for including/requiring files located in directories
different than the root directory? Especially files from different sub
directories under the root? Going down (classes/globals.php) is ok,
but going
hello
thanks for replying. i think i'm almost there...
here's what i've tried so far...
?
//connect
if($ds = ldap_connect(my.domaincontroller.com)){
echo connected successfullybr;}
else {echo error connectingbr;}
//bind
if (
* Thus wrote Allex ([EMAIL PROTECTED]):
Hi all,
What's the syntax for including/requiring files located in directories
different than the root directory? Especially files from different sub
directories under the root? Going down (classes/globals.php) is ok,
but going up (../globals.php)
For this you will want to use a standard socket to port 80 with GET
yourscript.php?var=foo HTTP/1.0\r\n\r\n in the send method and the recieve
method will return the results. They have higher level APIs for HTTP but
this is my preference. You should easily be able to find examples on using
sockets
On Thu, 23 Oct 2003 12:46:29 -0500, Robb Kerr wrote:
Thanx for all the help. Your suggestions worked beautifully.
Robb
I'm a PhP /MySQL newbie so please excuse the simple question. I'm returning
results from a MySQL query on a webpage. My code includes...
td valign=top
?php echo
* Thus wrote Ryan A ([EMAIL PROTECTED]):
They are fooling around with the default settings of their accounts and
giving us funny results and basically being a PITA, asking them nicely to
Put in their .htaccess something like:
php_value engine off :)
all sub directories too went off...so
You have various options and it depends on how you want to accomplish it
and what you are familiar with.
Java has many capabilities of doing network io (class HttpUrlConnect).
You can contact your php page on your server and pull down the
information (similar to what a browser does).
Another
On Fri, Oct 24, 2003 at 02:59:58PM +0200, Ryan A wrote:
:
: (we are on a shared host and so dont have access to our php.ini file)
: we are planning to turn globals off via a .htaccess file...nearly all our
: php files are in root (/www/) , but we are also running a third party
: application 1
Sorry,
i forgot to mention the package that you might really want to review...
java.net is the java package that provides all these classes, like
URLConnection and Sockets as mentioned by another person.
--
Ray
On Fri, 2003-10-24 at 08:24, Ray Hunter wrote:
You have various options and it
Hello,
I'm trying to print the full date in spanish using the following lines:
setlocale(LC_TIME, 'es_ES');
strftime(DATE_FORMAT_LONG, mktime(0, 0, 0, 12, 31, 2002));
But my sysadmin tells me that the server doesn't have the spanish locale
installed. Is there a way that I can write the date in
Hello,
I'm trying to use PHP's imap_set_quota() function to manage user's quotas. I
can set user's quota to 0 with:
imap_set_quota($mbox, user/afif, none); or
imap_set_quota($mbox, user/afif, 0);
And for sure I can set user's quota to any other value 0
But when I'm trying to delete quota (set
* Thus wrote Mauricio Cuenca ([EMAIL PROTECTED]):
Hello,
I'm trying to print the full date in spanish using the following lines:
setlocale(LC_TIME, 'es_ES');
strftime(DATE_FORMAT_LONG, mktime(0, 0, 0, 12, 31, 2002));
But my sysadmin tells me that the server doesn't have the spanish
Benard Jean-Philippe wrote:
I don't find anything about PHP module/integration for netscape
webserver. Does somebody has done it or know where I can found interesting
articles? (how to compile PHP, how to make a module, ...).
What about
No special chars or vars:
echo 'td bgcolor=\'#ff\'nbsp;/td/tr';
For cases with vars and special chars, I think these
look terrible:
echo 'td bgcolor='.$bgcolor2.'nbsp;/td/tr';
I'm a fan of this style - works great with syntax
highlighting in homesite.
olinux
echo td
On Fri, 2003-10-24 at 03:57, Justin French wrote:
On Friday, October 24, 2003, at 10:43 AM, Shawn McKenzie wrote:
[--CLIPPETY CLIP CLIP--]
Whereas this is clear and easy to work with:
echo td bgcolor='{$bgcolor2}'nbsp;/td/tr;
Unless your $bgcolor2 variable has double quotes in it, then
On Fri, 2003-10-24 at 04:48, Ian Truelsen wrote:
Is there an upper limit to the number of elements that can be in an
array? If so, what is that limit?
I think it is only limitted by your computer's memory or the size of a
long integer (2.4 billion or so). I did a test one day to see just how
Hi,
For this scenario, Ray's suggestion of SOAP is IMHO the best option. But
just out of curiosity why do you want to mix the two languages? If you
are familiar with java you might be better off doing your server side
stuff using J2EE. Then you might be able to use
Object Streams for your
Justin French mailto:[EMAIL PROTECTED]
on Friday, October 24, 2003 12:57 AM said:
I also adapted wrapping all variables in {parenthesis} so that PHP has
no chance of being confused
heh... actually those are {curly braces} and these are (parenthesis).
No special chars or vars:
echo 'td
Robert Cummings wrote:
echo td bgcolor='{$bgcolor2}'nbsp;/td/tr;
Unless your $bgcolor2 variable has double quotes in it, then the above
is poor HTML style. I don't think omission of double quotes has been
considered valid HTML since version 3 (admittedly though, as long as
they let it render,
On Fri, 2003-10-24 at 12:03, Marek Kilimajer wrote:
Robert Cummings wrote:
echo td bgcolor='{$bgcolor2}'nbsp;/td/tr;
Unless your $bgcolor2 variable has double quotes in it, then the above
is poor HTML style. I don't think omission of double quotes has been
considered valid HTML since
Any help appreciated.
Regards,
Bas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello
I wonder if anyone can help me with this problem or suggest an alternative
strategy.
I have two PHP boxes, one windows box running PHP version 4.2.1 and DOM XML
version 2.4.9, and the other one a FreeBSD box running PHP version 4.3.3 and
DOM XML version 2.5.11.
What I need to do is to
When you make a file using data from what source?
--- Bas [EMAIL PROTECTED] wrote:
Any help appreciated.
Regards,
Bas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
__
Do you Yahoo!?
The New
Hi,
I am running a very simple query to the database, basically select all the
firms which start with 0-9,
eg.
1stcompany
3isgood
etc
using this:
$qry = select cust_no,firm from companies where firm LIKE `%0123456789%';
It gives me this error:
Error: Unknown column '0123456789%'' in 'where
`%0123456789%';
You have a ` instead a ' before the %0123. I believe that is what is
causing your grief.
-Dan Joseph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ok, don't know what I am doing wrong here...but for some reason I cannot
get new line or carriage return characters to work correctly...
For example,
When I send some emails, I try
$msg .= From: [EMAIL PROTECTED]
Content-Type: text/plain\r\n
And it doesn't work correctly... the
Hi,
I am trying to get my pages through the w3c-validator for html.
It doesn't like my
FORM action=mypage.php?para1=val1para2=val2
Changing to amp; got my page through the validator, but broke my
app, which seems not to be getting any parameters over URL anymore.
How can I fix that?
ok, I see, I have to use double quotes around it...
why is that?
On Fri, 2003-10-24 at 11:57, Jonathan Villa wrote:
Ok, don't know what I am doing wrong here...but for some reason I cannot
get new line or carriage return characters to work correctly...
For example,
When I send some
Timo Boettcher wrote:
Hi,
I am trying to get my pages through the w3c-validator for html.
It doesn't like my
FORM action=mypage.php?para1=val1para2=val2
Changing to amp; got my page through the validator, but broke my
app, which seems not to be getting any parameters over URL anymore.
It breaks your server side scripts. amp; should be translated to by
the browser and never get to php.
Timo Boettcher wrote:
Hi,
I am trying to get my pages through the w3c-validator for html.
It doesn't like my
FORM action=mypage.php?para1=val1para2=val2
Changing to amp; got my page
A textarea.
Daniel Guerrier [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
When you make a file using data from what source?
--- Bas [EMAIL PROTECTED] wrote:
Any help appreciated.
Regards,
Bas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
on 10/24/03 10:00, Jonathan Villa at [EMAIL PROTECTED] wrote:
ok, I see, I have to use double quotes around it...
why is that?
Because they actually have to be evaluated.. when they are in single quotes
php thinks they are the string \r\n and not newline or carriage returns that
they are
Bas mailto:[EMAIL PROTECTED]
on Friday, October 24, 2003 10:06 AM said:
A textarea.
Hey do us all a favor (or you can just do me a favor) and trim your
posts and don't top post.
thanks.
--
Don't like reformatting your Outlook replies? Now there's relief!
I have to apologies about this posting in advance so please
don't flame me too bad for being off topic.
Question:
I want to create an .htaccess file to protect my files
I did the passwrd -c /directory/file frank
the set a password and then confirmed the password
I created a .htaccess file
Hi, Timo. Why can't use use hidden fields instead of appending the
values to the url? It would be the same to access them via
$_GET['para1'] $_GET['para2] (unless you were using post as your method,
in which case it would simply be $_POST['varname']) if they were on the
url or in hidden fields.
Here's some of my considerations ;)
First of all, for the matter of anti-spam, please do not use the to for more
people than, well .. Usually just one actually. Rather use the 'Bcc:' line.
If there's no personalized information in the email (you might, for example,
want to start with Good
Whoops. The first sentense should be a question.
Marek Kilimajer wrote:
It breaks your server side scripts. amp; should be translated to by
the browser and never get to php.
Timo Boettcher wrote:
Hi,
I am trying to get my pages through the w3c-validator for html.
It doesn't like my
stripslashes
Bas wrote:
A textarea.
Daniel Guerrier [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
When you make a file using data from what source?
--- Bas [EMAIL PROTECTED] wrote:
Any help appreciated.
Regards,
Bas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
The following code causes IE to break the /h1 tag.
?php
session_start();
header(Cache-control: private);
echo html
headtitlelogout/title
/head
body
h1 align=\center\Logout page/h1;
$_SESSION = array();
session_destroy();
echo pSession destroyed/p\n;
echo /body
/html\n;
?
View/Source in IE:
Hi,
It's htpasswd and not passwd. As many others on this group i don't use
the redhat config system it's lame. You will be better off editing
httpd.conf and adding an AllowOverrides directive.
best regards
Frank Tudor wrote:
I have to apologies about this posting in advance so please
don't
Hi,
Friday, October 24, 2003, 9:37:07 PM, you wrote:
S Hello
S I wonder if anyone can help me with this problem or suggest an alternative
S strategy.
S I have two PHP boxes, one windows box running PHP version 4.2.1 and DOM XML
S version 2.4.9, and the other one a FreeBSD box running PHP
Frank Tudor wrote:
I have to apologies about this posting in advance so please
don't flame me too bad for being off topic.
Question:
I want to create an .htaccess file to protect my files
I did the passwrd -c /directory/file frank
The above is wrong, the below is right
htpasswd -c
can anyone recommend a good, and -free- PHP ide?
thanks
kenny
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Saturday, October 25, 2003, 2:50:46 AM, you wrote:
RA Hi,
RA I am running a very simple query to the database, basically select all the
RA firms which start with 0-9,
RA eg.
RA 1stcompany
RA 3isgood
RA etc
RA using this:
RA $qry = select cust_no,firm from companies where firm LIKE
Lai, Kenny wrote:
can anyone recommend a good, and -free- PHP ide?
thanks
kenny
Check the mailing list archives. This is discussed almost weekly.
--
By-Tor.com
It's all about the Rush
http://www.by-tor.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
I don't neccessarily WANT to mix the 2 languages. I just have an
application on my webserver that uses MySQL databases and the script is all
written in PHP (which I am pretty good at). The only reason I want to use
JAVA is so a user can download and install a program that I write (since
JAVA is
hi,
Great to hear that PHP is your language of choice. There are several
SOAP libraries available and they come with good docs. However if you
are building an image gallery type application, you will be able to do
mos of the work just by using java.net package has has been pointed out.
all
zend.com has one
and PHPEdit
use what you like.
--- Lai, Kenny [EMAIL PROTECTED] wrote:
can anyone recommend a good, and -free- PHP ide?
thanks
kenny
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Also, I would like to point out that you could possibly use php-gtk to
do some gui applications. Since it has a windows and *nix port you can
use that too. I have built a couple of apps with it that pull snmp data
from routers with it that worked great. I also used a java installer to
install the
http://us3.php.net/manual/en/function.addcslashes.php
--- Bas [EMAIL PROTECTED] wrote:
A textarea.
Daniel Guerrier [EMAIL PROTECTED] wrote in
message
news:[EMAIL PROTECTED]
When you make a file using data from what source?
--- Bas [EMAIL PROTECTED] wrote:
Any help appreciated.
I don't understand why gzinflate and gzuncompress don't work?
?php
$gz_content = file_get_contents('hello.txt.gz');
echo gzinflate($gz_content);
// Warning: data error
echo gzuncompress($gz_content);
// Warning: data error
?
but if I make it from bash the content is there :
cat hello.txt.gz |
Frank Tudor wrote:
John,
Sorry I did use htpasswd...
Override?
Do you have a snip from a config file that I can look at?
I don't mind editing the httpd.conf manually.
Frank
This controls which options the .htaccess files in directories can
override. Can also be All, or any combination of
--- Timo Boettcher [EMAIL PROTECTED] wrote:
I am trying to get my pages through the w3c-validator for html.
It doesn't like my
FORM action=mypage.php?para1=val1para2=val2
Changing to amp; got my page through the validator, but broke
my app, which seems not to be getting any parameters over
On Fri, Oct 24, 2003 at 01:24:32PM -0400, bill wrote:
:
: The following code causes IE to break the /h1 tag.
:
: ?php
: session_start();
: header(Cache-control: private);
: echo html
: headtitlelogout/title
: /head
: body
: h1 align=\center\Logout page/h1;
: $_SESSION = array();
:
I've had the exact same problem. I get .html.gz files uploaded to me. My
script does a file_get_contents on those, and then tried to use gzinflate or
gzuncompress. Neither works. Instead I use a shell command to use the 'gzip'
program to do the decompression.
This is a big bug that's been around
I don't know much about that, but it definitely sounds better, escpecially
since it's still PHP based. Do you know of any websites or tutorials I can
go to to learn more about it? It sounds like a much better option.
Thanks,
Matt
Ray Hunter [EMAIL PROTECTED] wrote in message
news:[EMAIL
I'm sorry to say I must agree with the parent post. There are too many free
programs out there to charge 50$ for a program that does the same thing.
The free programs might even do more than your 50$ product. mmcache's
primary function is to cache compiled opcodes to speed up code execution.
It's
i had a similar problem, it seems that a .gz file had 10 bytes of
header that inflate and uncompress didn't like, or something wierd
like that. but i can't find the code that i had in the end.
http://www.php.net/manual/en/function.gzinflate.php
but depending on how your actually using the
Hi Eugene,
Tried breaking up the echo, but still didn't work.
?php
session_start();
header(Cache-control: private);
echo html;
echo headtitlelogout/title;
echo /head;
echo body;
echo h1 align=\center\Logout page/h1;
$_SESSION = array();
session_destroy();
echo pSession destroyed/p\n;
echo /body
Chris Shiflett wrote:
--- Timo Boettcher [EMAIL PROTECTED] wrote:
I am trying to get my pages through the w3c-validator for html.
It doesn't like my
FORM action=mypage.php?para1=val1para2=val2
Changing to amp; got my page through the validator, but broke
my app, which seems not to be getting
Yeah,
http://gtk.php.net
Also they have a mailing list that you can join and get help from those
experienced users.
HTH
--
Ray
On Fri, 2003-10-24 at 13:26, Matt Palermo wrote:
I don't know much about that, but it definitely sounds better, escpecially
since it's still PHP based. Do you
I thought I read that this was possible once, but I can't find anything
to substantiate/refute it...
Is it possible to prepend a configuration file to my pages?
For example,
I have a app.config.inc file which contains an application specific
include path as well as includes the classes my
Add:
php_value auto_prepend_file /path/to/file
To your .htaccess or VirutualHosts section.
You might also want to use auto_append_file
Wouter
-Original Message-
From: Jonathan Villa [mailto:[EMAIL PROTECTED]
Sent: Friday 24 October 2003 22:00
To: [EMAIL PROTECTED]
snip from:
http://www.php.net/manual/en/configuration.directives.php
auto_prepend_file string
Specifies the name of a file that is automatically parsed before
the main file. The file is included as if it was called with the
include() function, so include_path is used.
The special value
Hi:
I am trying to create a function that can store the user's info.
Currently I have this:
sessionInfo.inc
===
?php
class sessionInfo {
/*
* @(#) sessionInfoBean.java
*
* A class to handle sessions.
*
* @version 10 1 Oct 2003
*
*
*/
/**
* Variables
*/
var $last_name;
* Thus wrote Jonathan Villa ([EMAIL PROTECTED]):
Ok, don't know what I am doing wrong here...but for some reason I cannot
get new line or carriage return characters to work correctly...
For example,
When I send some emails, I try
$msg .= From: [EMAIL PROTECTED]
Content-Type:
Fernando Melo wrote:
I have the following statement:
$text = ereg_replace
([live/]*content\.php\?[]*Item_ID=([0-9]*)Start=([0-9]*)Category_ID=([0-
9]*)[]*, content\\1start\\2CID\\3.php, $text);
Basically what I'm trying to do is if the URL includes live/ then I want
to include it in the
1 - 100 of 130 matches
Mail list logo