CP Web Hosting - reseller hosting
>
Server Scripting
>
PHP
turn register globals on and off via the htaccess
User Name
Remember Me?
Password
Register
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
LinkBack
Thread Tools
Display Modes
#
1
(
permalink
)
07-03-2007, 09:26 AM
stevon
Senior Member
Join Date: Mar 2007
Posts: 193
turn register globals on and off via the htaccess
Hello.
Is there a way to turn register globals on and off via the htaccess file and what is the code??
Also I need the proper cron code to dump a mailbox.
Plz. help
#
2
(
permalink
)
07-03-2007, 09:29 AM
biatche
Senior Member
Join Date: May 2007
Posts: 244
As about the crontab line, I don't understand exactly what you want to do, just adjust the command if I'm wrong:
Code:
0 0 * * * rm -rf /home/website/inbox/*
#
3
(
permalink
)
07-03-2007, 09:30 AM
Dolbz
Senior Member
Join Date: May 2007
Posts: 290
Code:
php_flag register_globals 0
Requires PHP running as an Apache module.
Not so sure about the cron. evoleto, below, has the code for having it run every day at midnight if that's all you wanted.
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
vB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Trackbacks
are
On
Pingbacks
are
On
Refbacks
are
On
All times are GMT. The time now is
07:53 PM
.
Contact Us
-
cpwebhosting reseller hosting forums
-
Archive
-
Top
Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by
vBSEO
3.1.0
LinkBack
LinkBack URL
About LinkBacks