Hi
We are shortly to release the next version of Form Generator Pro (automatic generation
of HTML form/PHP processing code) and are looking for some comments on the way in
which we intend to make the software available.
Due to the fact that we cannot distribute this PHP application without com
use a hidden input in front of each checkbox with the same name and
the value '0' (as opposed to '1' for the checkbox).
Tim
www.chessish.com
> -Original Message-
> From: Tom Ray [mailto:[EMAIL PROTECTED]]
> Sent: 24 September 2002 17:24
> To: [EMAIL PROTECTED]
> Subject: PHP Form and Arr
Hi All,
I would like to get at the SET information for a particular field in a MySQL
database.
I know how to get the type, length, name and flags alla the manual pages
but;
If I have a field which is of type SET ('one','two','three','four') how can
I get at this information from within PHP in o
Michael,
Thanks for the detailed reply. After some tests of my own I'd realized it
was the trans-sid parameter that was giving me problems. In 4.2.1, php is
compiled with this parameter set by default - it would appear.
I'll give your idea a try - thou' I'll have to reinstate my script, since
I'
You need to use SHOW COLUMNS FROM table LIKE 'yoursetfieldname'
You can then retrieve the values from the ["Type"] column which will look
like - set('val1','val2'...etc) - you will need to parse this string
Debbie
- Original Message -
From: "Henry" <[EMAIL PROTECTED]>
To: <[EMAIL PROTEC
Hi,
I wanted to write an Newsletter script. So I created two tables in my Database. One is
storing the Newsletters and one is Storing the bunch of folks who want to have them.
Everything works fine, I can write the Newsletter very easy in my selfwritten admin
tool, but when I send the Newslett
Thanks Debbie,
Your a star
Henry
"Debbie_dyer" <[EMAIL PROTECTED]> wrote in message
00dc01c2646f$06223dd0$19153c3e@homepc">news:00dc01c2646f$06223dd0$19153c3e@homepc...
> You need to use SHOW COLUMNS FROM table LIKE 'yoursetfieldname'
>
> You can then retrieve the values from the ["Type"] colum
Hi everybody,
Does anybody know why ftp_size returns the wrong file size? I get 1069602
bytes instead of 1065635 (which it should be) and 10458669 instead of
10419043. A difference of 3967 and 39626 does not really give me any clues.
I know the manual says that not all servers support this featu
Hi Debbie,
What are you going to do about customers who don't have PHP? To run the
field definition extractor part of the system.
Henry
"Debbie_dyer" <[EMAIL PROTECTED]> wrote in message
00a001c26468$80a50530$19153c3e@homepc">news:00a001c26468$80a50530$19153c3e@homepc...
Hi
We are shortly t
> Does anyone use VStudio .NET as your IDE in developing
> PHP Scripts? If so, have you found a way to make it so
> that it understands PHP? In particular color coding and the
> understanding of where functions start and end (for the
> solution explorer, etc).
I was not using VStudio .NET but i
> In browsers, my php pages are cached. All the code that is returned by php
> are stored. In version 4.1 this not ocurred, anybody can help me?
First: Check if you send headers:
header('Pragma: no-cache');
header('Expires: Thu, 01 Jan 1970 01:00:00 GMT');
header('Cache-Control: no-cache, m
In the german apache Mailinglist somebody wrote some like this:
a) aktivate the modul mod_expires.so
b) Fill in the lines
# enable expirations
ExpiresActive On
# expire php pages after a minute in the client's cache
ExpiresByType text/php A6
into httpd.conf
But I don't really know if it wor
Hi Henry
Well the software generates the code to process the forms as well (eg for an
insert form the code to check required fields are not empty, perform any
data validation and insert the record into the db) as well as the forms
themselves and this code is in PHP. You can choose to generate a s
Hello!
I want to write a line into a file (called $script) wich goes like that:
echo "`date` 192.168.10.123 is down, lets call the admin. I was
sleeping for 10 Minutes | smbclient -M Computer
This is what i have tried:
exec("echo "echo "`date` ===> $ip is down, lets call the adm
Hi Debbie,
That's fair enough. How are you ensure that only valid servers request
information from the field enquiry part?
Otherwise people might be able to use this part to gain access to the
database structure if not the actual data.
Henry.
"Debbie_dyer" <[EMAIL PROTECTED]> wrote in message
Shouldn't you have some selection criteria after
$MailQuery = "SELECT * FROM newsletter_db";
such as WHERE `newsletterID`=$_REQUEST['id'];
??
Other than that if its not dying and you actuall do have more than one
recipient I cannot see it.
Henry
"Sascha Braun" <[EMAIL PROTECTED]> wrote in m
use \" instead of " so that you don't actually end the string
Henry
"Mario Ohnewald" <[EMAIL PROTECTED]> wrote in message
001801c2647a$070aa100$350aa8c0@W2KDP">news:001801c2647a$070aa100$350aa8c0@W2KDP...
> Hello!
> I want to write a line into a file (called $script) wich goes like that:
>
>
Oops, I didn't read on Sorry
Henry
"Henry" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> use \" instead of " so that you don't actually end the string
>
> Henry
>
> "Mario Ohnewald" <[EMAIL PROTECTED]> wrote in message
> 001801c2647a$070aa100$350aa8c0@W2KDP"
Have you tried using single quotes arround the main string?
i.e. 'echo "echo blah blah"'
Henry
"Henry" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> use \" instead of " so that you don't actually end the string
>
> Henry
>
> "Mario Ohnewald" <[EMAIL PROTECT
Hi Henry,
> From: Henry [mailto:[EMAIL PROTECTED]]
>
>
> Have you tried using single quotes arround the main string?
>
> i.e. 'echo "echo blah blah"'
I have tried serveral of version, maybe you could give me your example from
the lines below.
I couldnt work it out ;(
>
> Henry
>
> "Henry" <[
OK so I've done this hundreds of times, but this time I cannot get it to
work.
Please cast an eye over the following code and output and tell me why $k and
$v are not being set:
Code:
-
$ser = array( 'first', 'second', 'third', 'fourth', 'fifth' );
reset($ser);
whi
I meant $key and $val of course :o)
- Kev
> -Original Message-
> From: Kevin Porter [SMTP:[EMAIL PROTECTED]]
> Sent: 25 September 2002 12:00
> To: '[EMAIL PROTECTED]'
> Subject: [PHP] looping through array with list()/each()
>
> OK so I've done this hundreds of times, but this ti
while ( list($key, $val) = each($ser) ); <--- ; should not be here
-Original Message-
From: Kevin Porter [mailto:[EMAIL PROTECTED]]
Sent: 25 September 2002 12:13
To: Kevin Porter; '[EMAIL PROTECTED]'
Subject: RE: [PHP] looping through array with list()/each()
I meant $key and $val of co
Thank you, thank you, thank you.
And, er, "D'oh!" :o)
- Kev
> -Original Message-
> From: Karl Phillipson [SMTP:[EMAIL PROTECTED]]
> Sent: 25 September 2002 12:13
> To: [EMAIL PROTECTED]
> Subject: RE: [PHP] looping through array with list()/each()
>
> while ( list($key, $val) =
Hi Henry
On set up of the side of the software that sits on the customers server a
table is created for users. Adminstration screens are provided for
adding/deleting users and a user can only gain access by logging in and they
can only log in if a record exists in this table. The whole thing (on
How about
$ip is down, lets call the admin. I
was sleeping for $var_timer_rechner1 Minutes\" | smbclient -M $popup_1 >>
$script";
exec("echo \"$command\"");
?>
"Mario Ohnewald" <[EMAIL PROTECTED]> wrote in message
001901c26480$5e280df0$350aa8c0@W2KDP">news:001901c26480$5e280df0$350aa8c0@W2KDP.
Some themes are not as fully worked out as they should be. At the MySQL
console, use this to reset the them to PostnukeSilver.
mysql> update nuke_module_vars set pn_value = 's:14:"PostNukeSilver";'
where pn_id = '9'
The "s" denotes a string
The "14" is the length of the theme name
Make certain
> Please cast an eye over the following code and output and tell me why
> $k and $v are not being set:
>
>
> Code:
> -
>
> $ser = array( 'first', 'second', 'third', 'fourth', 'fifth' );
>
> reset($ser);
> while ( list($key, $val) = each($ser) );
> {
> echo "\$ke
this code snippet:
function save($file)
{
$my_file=fopen($file,"wb");
$my_status=fwrite($my_file,$text);
fclose($my_file);
}
is intended to overwrite a file or create a file and write to it from a
string that's already containing text.
the problem is the after the script writes the fi
> -Original Message-
> From: Justin French [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 25, 2002 1:19 AM
> To: [EMAIL PROTECTED]; 'php'
> Subject: Re: [PHP] table-wide or database-wide search and replace?
[snip]
> > Give it a database name, the program find all the names of the
Use stripslashes() on the text before you write it to the file. Where is
this text coming from? The slashes are probably getting added by
magic_quotes.
---John Holmes...
> -Original Message-
> From: Khalid El-Kary [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 25, 2002 8:08 AM
>
I was able to pass parameters to the xsl stylesheet like this:
Then in the stylesheet do this (The parameter must be defined before any
template is declared):
http://www.w3.org/1999/XSL/Transform";>
Your html page
This will print "parameter_to_pass" to the browser
On Tue, 2002-09
I just want to email a dynamic page ( So I designed a page consisting of datas pulled
from db and are formated with html tags: here in below code $d is such variable to be
mailed)
But the problem is that, instead the code contained in $d is sent.
The code is as such:
$ebody="$d";
mail("[EMAIL
You probably have magic_quotes_gpc in php.ini off on your Windows platform
and on on your Linux platform
Magic_quotes_gpc automatically applies addslashes to POST, GET and cookie
data if its on.
Use stripslashes to remove it or to write code thats portable - write a
function like:-
function str
Hi,
I was wondering if somebody could tell me how to get sessions to work on
my local machine.
I am using easyPhp 1.6 to run my design platform, but have been unable
to get the sessions to work.
I tried the pages on a website and all worked so its not the scripts.
Any suggestions appreciated
Hi Henry!
> From: Henry [mailto:[EMAIL PROTECTED]]
>
> How about
>
> $command="\"`date` ===> $ip is down, lets call the admin. I
> was sleeping for $var_timer_rechner1 Minutes\" | smbclient -M
> $popup_1 >>
> $script";
> exec("echo \"$command\"");
> ?>
Nope, hasnt worked either ;(
any other i
You need to add another header telling it the content type = text/html
On Wed, 2002-09-25 at 17:04, usha wrote:
> I just want to email a dynamic page ( So I designed a page consisting of datas
>pulled from db and are formated with html tags: here in below code $d is such
>variable to be mailed
this must work:
exec('echo "`date` 192.168.10.123 is down, lets call the admin. I was
sleeping for 10 minutes" | smbclient -M '. $compname);
Mario Ohnewald wrote:
>Hi Henry!
>
>
>
>
>>From: Henry [mailto:[EMAIL PROTECTED]]
>>
>>How about
>>
>>>$command="\"`date` ===> $ip is down, lets call t
Could somebody help me with the correct syntax for an ereg_replace to
replace literal occurences of the quote character in a string. I can't
seem to get it right.
In other words, I have a form input variable -- that literally may look
like this: "some_value", and I want it to literally look lik
Could somebody help me with the correct syntax for an ereg_replace to
replace literal occurences of the quote character in a string. I can't
seem to get it right.
In other words, I have a form input variable -- that literally may look
like this: "some_value", and I want it to literally look lik
Hi
I have installed PHP on a Windows NT Server 4.0 and it works (almost) fine!
The thing is that I get the "Enter network password" - prompt when I first
go to a PHP-file. Not if I go to an ASP file.
So if I just hit enter in the prompt, I get in to the PHP-page and can
continue surfing.
I guess
I have variables $sk1,$fr2,$fr3,$sk4,
how i write values in this variables in statement for...
roman
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Multipart Mime messages... you can't just put HTML source in an email...
See Manuel's class on phpclasses.org for
Regards,
Justin French
on 26/09/02 3:04 AM, usha ([EMAIL PROTECTED]) wrote:
> I just want to email a dynamic page ( So I designed a page consisting of
> datas pulled from db and
hi all.
i'm interested in creating a php game that generates a page of random (ish)
images, one of which is waldo (or the like). when the player clicks on
waldo, they're taken to the next, slightly harder level.
anyone think that sounds fun?
any pointers, tips, advice, criticisms?
--
->-> http:
Hi there,
I would like to output a pdf with pdflib with 300 dpi
How could I define the output resolution? Default seems to be 72 dpi
Thanx for any hint,
Andy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
How do i set a default value for a url parameter ($_GET[".."]) in PHP 4.1?
I currently have a class that sets a default global value but this does not
work in this version - the script displays an error if no url value is
passed in the url.
Thanks
--
PHP General Mailing List (http://www.php.n
Does anyone have a good php script that will test (i.e. benchmark) my MySQL
machine and my Web server?
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This is for java, javascript, or flash, not much to do for php.
Kenneth Love wrote:
>hi all.
>
>i'm interested in creating a php game that generates a page of random (ish)
>images, one of which is waldo (or the like). when the player clicks on
>waldo, they're taken to the next, slightly harder l
> How do i set a default value for a url parameter ($_GET[".."]) in PHP
4.1?
> I currently have a class that sets a default global value but this
does
> not
> work in this version - the script displays an error if no url value is
> passed in the url.
if(!isset($_GET['...']))
{ $_GET['...'] == "de
Hi Jay,
> Does anyone have a good php script that will
> test (i.e. benchmark) my MySQL machine and my
> Web server?
Give ab a go - it comes with Apache, you should find it in your bin/
directory.
"man ab" for all the gory details.
Cheers
Jon
--
PHP General Mailing List (http://www.php.net
True. Perhaps.
But, I think, you can actually do something like that WITH php. Say
PHP+Flash or PHP+Javascript...
Of course, if you're able to do something like this just by using
PHP+Javascript (and HTML only), most probably, you can just take a peek at
the code and find out where "waldo" is...
One more thing... if you store your 'waldo co-ordinates' data in a text
file, make sure it is in a directory outside of the webtree...
- Kev
> -Original Message-
> From: Kevin Porter [SMTP:[EMAIL PROTECTED]]
> Sent: 25 September 2002 16:52
> To: '@ Edwin'; Marek Kilimajer
> Cc: [EMAI
Robert,
That str_replace() you wrote should work. But you might also try these
variations..
$key = str_replace('"', '', $key);
$key = str_replace(chr(34), '', $key);
Good luck,
Kevin
- Original Message -
From: "ROBERT MCPEAK" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesda
Good idea!
And your idea about this is also great:
It should work...
I forgot that there was someting like that in HTML... :)
- E
On Thursday, September 26, 2002 12:55 AM
Subject: RE: [PHP] where's waldo
Kevin Porter wrote:
> One more thing... if you store your 'waldo co-ordinates' data i
Chris,
That is a very good point. As stupid as it sounds, I forgot about the
include() statement (still new I guess, not used to all this extra cool
stuff!).
When I was suggesting the .htaccess, I was thinking more of the "require
valid-user" and thinking maybe the php could tell it whether it i
Hello,
I am trying to figure out why Squirrel Mail is giving the wrong time. I
did a basic script and the time is off in that
script too. I have checked the server time and the server hardware
clock. They are both on. Does anyone know a reason that the php time
would be off? I am thinking
I have PHP installed on a Cobalt RaQ550. I know there
are two ways of installing PHP, one as a binary, and
one as an Apache module. I am pretty sure PHP gets
installed as an Apache module for the Cobalt
installation.
My problem, is that I absolutely NEED to run a PHP
script using crontab. The scr
I received this shortly after posting to this list.
Anyone else get one of these? I'm confused...
thanks,
- Kev
> -Original Message-
> From: [EMAIL PROTECTED]
> [SMTP:[EMAIL PROTECTED]]
> Sent: 25 September 2002 17:10
> To: [EMAIL PROTECTED]
> Subject: Re: RE: [PHP] where's wald
You could setup cron to run lynx or some other command line web browser...
something like:
0 * * * * /path/to/lynx -dump http://server/path/to/script.php >/dev/null 2>&1
Then as the first thing in that script you will probably want to set the
time limit to 0 so it doesn't time out...
On Wed,
Howdy group!
I am outputting a rather large data set to an Excel spreadsheet from a MySQL
database on a healthy FreeBSD server. The Apache server is on the same
server as the database. The code looks like this
Now, even though I have set ob_start() the headers get sent (as it says in
the d
Hi Brandon,
> I did a basic script and the
> time is off in that script [...] I have checked the
> server time and the server hardware clock.
Well, date("h:I") means "display the hours (in 12-hour format), followed by
a colon, followed by a 1 or a 0 depending on whether daylight saving is i
Hi people, maybe someone here has experience with this question:
We have to create a CMS System for beginners. For storing data, we have 3
possibilities:
1. Store Data in MySQL, query the database, inlcude the dynamic content via
php.
echo $mysqldata[headline]."\n";
--
Hi,
apologies for the confirmation, didn't even know it was set on this Computer
(not my own) until I got it myself.
I hate it =)
Sorry again,
Holger
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What does the "-dump" and ">/dev/null 2>&1" stuff do?
--- Philip Hallstrom <[EMAIL PROTECTED]> wrote:
> You could setup cron to run lynx or some other
> command line web browser...
> something like:
>
> 0 * * * * /path/to/lynx -dump
> http://server/path/to/script.php >/dev/null 2>&1
>
> Then as
>
>
>On Wed, 25 Sep 2002, Daren Cotter wrote:
>
>>
>>My problem, is that I absolutely NEED to run a PHP
>>script using crontab. The script needs to send
>>numerous queries to a database every hour. Is there
>>any way I can accomplish this, directly or indirectly?
>>
Are you sure its not already th
-dump is an option to lynx to tell it to output the page and quits.
the rest of it says send all output (and errors) to /dev/null
On Wed, 25 Sep 2002, Daren Cotter wrote:
> What does the "-dump" and ">/dev/null 2>&1" stuff do?
>
> --- Philip Hallstrom <[EMAIL PROTECTED]> wrote:
> > You could se
Use lynx or wget to call your web page.
lynx --dump http://www.domain.com/my_cron_page.php
---John Holmes...
> -Original Message-
> From: Daren Cotter [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 25, 2002 12:36 PM
> To: PHP General Mailing List
> Subject: [PHP] Cronjob
>
> I
Output buffering is doing nothing for you in the given example. It does not
reduce client side resources... if anything it increases the usage
serverside resources. Perhaps you are thinking of gz compression? You
might use a combination of ob* functions and gz* functions to minimize
bandwidth r
Thanks for the info Chris, it works!
How do I pass arguments to the script? I'm assuming
it'd just be:
test.php arg1 arg2
The stuff I've read says $argc should be the count of
the # of arguments, and $argv should be an array
holding them...but when I do a simple:
print "# of Arguments: $argc\n"
[snip]
Output buffering is doing nothing for you in the given example. It does not
reduce client side resources... if anything it increases the usage
serverside resources. Perhaps you are thinking of gz compression? You
might use a combination of ob* functions and gz* functions to minimize
band
Sorry to butt in :)
Arguments to web scripts are done in the format:
page.php?arg1=data1&arg2=data2
So you would use that full string as the lynx path.
Hope this helps :)
-Jason
Daren Cotter wrote:
> Thanks for the info Chris, it works!
>
> How do I pass arguments to the script? I'm assuming
Jason,
I'm not using a web script any longer, I'm using
command-line (I determined that it is installed on the
server).
I read about $argc and $argv, but when I call the
script passing two arguments, both $argc and $argv are
blank. Is this a php.ini setting I need to change or
somethign?
--- Ja
I have two questions:
1. I would like to build a php page that contains a Windows explorer-like drill down
mechanism, where clicking the '+' beside an item will expand the sub-items below
(which can also have a '+' or '-' on the left) and clicking the '-' will collapse the
item. Is there any e
Hi Richard,
There are a couple out there... I created one for
myself (V1."un") that does something similar... It
relies on a couple of support files for mime-types and
icons. Here's the code... if you like the idea, I can
zip up the icons and extension-to-mime folders and
send it to ya. My web
I would recommend using javascript for the expanding/contracting list
stuff and I don't know of any vulnerablilities in MySQL Server...
- Mike D
>I have two questions:
>
>1. I would like to build a php page that contains a Windows
>explorer-like drill down mechanism, where clicking the '
I can't say I'm really too familiar with the php commandline..
You're using /usr/bin/php (or equivalent) and attempting to use your
exec() that way?
If you do 'php -?' you'll get a list of commands that you can use, and I
don't see a way to pass cmdline arguments as variables..
Having said th
Darren,
Do you want to use a shell script or a php page to run your queries?
- MD
>Jason,
>
>I'm not using a web script any longer, I'm using
>command-line (I determined that it is installed on the
>server).
>
>I read about $argc and $argv, but when I call the
>script passing two arguments, b
> I guess that this means I am out of luck here. Anyone know a cleaner
> method for delivering spreadsheets?
Can you get the server to write it to a file, and then let the client
download the file normally?
Beau
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
Jason Young wrote:
>
> I can't say I'm really too familiar with the php commandline..
>
> You're using /usr/bin/php (or equivalent) and attempting to use your
> exec() that way?
>
> If you do 'php -?' you'll get a list of commands that you can use, and I
> don't see a way to pass cmdline argume
[snip]
> I guess that this means I am out of luck here. Anyone know a cleaner
> method for delivering spreadsheets?
Can you get the server to write it to a file, and then let the client
download the file normally?
[/snip]
Believe me, if I could have taken that way out I would have done it. I am
Jason,
That's exactly what I'm trying to do, and it's not
working:
My Script:
#!/usr/bin/php -f
Running:
./test.php blah
Yiels only "This Works", but not "blah".
I'm using version 4.0.6
--- Jason Young <[EMAIL PROTECTED]> wrote:
> I can't say I'm really too familiar with the php
> command
I'm using a PHP script. I got a PHP script to run
mysql queries no problem, but the trouble is I need to
pass off arguments to the script (those arguments
shape the queries).
--- Mike Dunlop <[EMAIL PROTECTED]> wrote:
> Darren,
>
> Do you want to use a shell script or a php page to
> run your qu
I have a general question of a dynamic website using
PHP4 and mysql database. If there are many, many
users visiting a dynamic website at once, will it
cause the database to be bogged down with so many
users visiting the website? If so, how do you around
this problem.
Thanks, Ben
Robert,
This does not work, but thanks anyway =)
Script:
Command Line:
/usr/bin/php -f test.php blah
Output:
This Works
--- Robert Cummings <[EMAIL PROTECTED]>
wrote:
> Jason Young wrote:
> >
> > I can't say I'm really too familiar with the php
> commandline..
> >
> > You're using /usr/b
Daren,
This post from Robert explains why you're having trouble :)
I forgot the PHP version on my machine doesn't have the register_globals
problem.
THAT should work.
-Jason
>
> I'm think you're all forgetting about register_globals being off by
> default these days... The following may hel
Correction.. isn't it $_SERVER and not $SERVER
Jason Young wrote:
> Daren,
>
> This post from Robert explains why you're having trouble :)
>
> I forgot the PHP version on my machine doesn't have the register_globals
> problem.
>
> THAT should work.
>
> -Jason
>
>>
>> I'm think you're all fo
Jeez.. pardon me.. $_GLOBALS .. I don't know where I got SERVER from..
*sleeps before posting from now on*
-J
Jason Young wrote:
> Correction.. isn't it $_SERVER and not $SERVER
>
> Jason Young wrote:
>
>> Daren,
>>
>> This post from Robert explains why you're having trouble :)
>>
>> I forgot
How do I encrypt the data and decrypt it back using PHP? I do know that hte
random number can not be used becuase it will make it impossible to decrypt
it.
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
http://php.net/mcrypt
>How do I encrypt the data and decrypt it back using PHP? I do know that hte
>random number can not be used becuase it will make it impossible to decrypt
>it.
>
>Thanks!
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/uns
Nope, $GLOBALS remains as always...
http://www.php.net/manual/en/language.variables.predefined.php#language.variables.superglobals
Cheers,
Rob.
Jason Young wrote:
>
> Jeez.. pardon me.. $_GLOBALS .. I don't know where I got SERVER from..
> *sleeps before posting from now on*
>
> -J
>
>
In any case, register_globals is ON for my server.
I don't understand why this isn't working? I'm doing
exactly what the manual says. What could I be missing?
--- Robert Cummings <[EMAIL PROTECTED]>
wrote:
> Nope, $GLOBALS remains as always...
>
>
>
http://www.php.net/manual/en/language.va
[snip]
I am researching some classes
[/snip]
OK. One of the silly classes fails, saying --
Fatal error: No parent class available in this context in biff.php on line
52
line 52 is --
49 function BiffWriter()
50 {
51 error_reporting (E_ALL);
52 parent::B
On 25-Sep-2002 Daren Cotter wrote:
> Jason,
>
> That's exactly what I'm trying to do, and it's not
> working:
>
> My Script:
>#!/usr/bin/php -f
> $test = $argv[1];
> print $test;
> $demo = "This Works";
> print $demo;
> ?>
>
> Running:
> ./test.php blah
>
> Yiels only "This Works", but not
Daren Cotter wrote:
>
> In any case, register_globals is ON for my server.
>
> I don't understand why this isn't working? I'm doing
> exactly what the manual says. What could I be missing?
No idea the following worked as expected for me:
Script:
Execute:
php foo.php blah
Output:
X-Powered-B
Hello,
Sorry if this seems like a dumb question. But can PHP work with MS Access, for
example if I want to develop a web database application? Does the API exist
for that?
The system is going to be like Linux/Apache/PHP as the web server, and
Win2k/NT with M$ Access as the database. I am wonde
Holy wowsers...about 5 pages of jibberish printed out,
and at the end:
Warning: Nesting level too deep - recursive
dependency? in test.php on line 3
There isn't even a line 3 in the script:
--- Don Read <[EMAIL PROTECTED]> wrote:
>
> On 25-Sep-2002 Daren Cotter wrote:
> > Jason,
> >
> > Th
> Hi there. I'm trying to come up with a way to do
> PATH_INFO urls without having to call a script. Let me
> explain.
>
> I know how to make it work with a url like this:
>
> http://foo.com/bar.php/arg1/arg2/etc
>
> or even:
>
> http://foo.com/bar/arg1/arg2/etc
>
> What I'm trying to figure out i
On 25-Sep-2002 Daren Cotter wrote:
> Holy wowsers...about 5 pages of jibberish printed out,
> and at the end:
>
> Warning: Nesting level too deep - recursive
> dependency? in test.php on line 3
>
> There isn't even a line 3 in the script:
>
> var_dump($argv);
> var_dump($GLOBALS);
> ?>
>
S
This just prints out a bunch of info (seems to be
unimportant)...what am I looking for in this?
--- Don Read <[EMAIL PROTECTED]> wrote:
>
> On 25-Sep-2002 Daren Cotter wrote:
> > Holy wowsers...about 5 pages of jibberish printed
> out,
> > and at the end:
> >
> > Warning: Nesting level too dee
> Can you get the server to write it to a file, and then let the client
> download the file normally?
> [/snip]
>
> Believe me, if I could have taken that way out I would have done it. I
am
> researching some classes, but they all seem to take just as long to
create
> the spreadsheet.
What about
1 - 100 of 140 matches
Mail list logo