JNT If I do this:
JNT ?php
JNT echo $PHPSESSID;
I've encountered the same when instaling the Mandrake Linux 8.1 with a
precompiled php - also 4.1.0.
Sessions just doesn't seem to work no matter how I access them.
I installed Redhat 7.1 on my server again, and left the problem for my
ISP.
DK Ant is a hard worker in the summer and very powerfull ( can lift 30 times
DK it's weight ) and small.
Does that mean that php should be ineffective during winter? ;)
Great idea I sincerely think!
Kind regards,
Morten Winkler
--
PHP General Mailing List (http://www.php.net/)
To
OSv How can is check with php wether a number is even or not? What i want is
OSv that in a while loop the background color of a cell changes!
Try
echo (($i++ % 2) == 0) ? #FFBR : #00FF00BR;
First it performs an integerdivision and checks if the remainder is 0.
If that is the case it
RB ?php
RB if (strstr($DomResults,$Match))
RB print Congratulations! $domain.$suffix is available!;
?
RB form method=POST action=step2.asp name=form2
RB pinput type=submit value=Register name=B1/p
RB /form
RB ?php
RBelse
RB print Sorry, $domain.$suffix is already
I hate to have to duplicate the file with different permissions
AMK just so that the process can read it when it needs to.
How about persorm a exec(su username password) grabbing the output?
Or something like that...
--
Kind regards,
Morten Winkler
--
PHP General Mailing List
p $Query = INSERT INTO table_name (Obj,Descrip) VALUES (keyboard,Device
p to pound on when frustrated.);
p $Results = mysql_query($Query)
p or die (Query FAILED);
need to embed your strings in like
$Query = INSERT INTO table_name (Obj,Descrip) VALUES (\keyboard\,\Device
to pound on when
x The problem is, i need a javascript which i can write into the database,
x which on the oher side can read out a php SESSION. Is this possible?
x Yes? how?
Javascript in browser
php on server
Pass varibales from javascript - php via urls and forms
Pass varibales from php - javascript via
Hi php'ers
I'm about to build a site that allows payment with credit card.
Of cause the card number, expiration date etc. should be secured
when transfered. How do I do that?
I've been looking at the OpenSSL functions in php, but they seem to
be unsatisfying.
Kind regards,
NV Hi !
NV I'm making a web site which allows user to add his own news, or other data to the
page
NV via the form. The user inputs the data into the textarea and the data is placed
into a
NV table. The problem is that all the text is placed into a single line !
NV Is there a html catch to
EK I'm using a simple print() (PHP) but alert() would
EK be much better.
Have php print your BODY tag like this:
BODY onLoad=alert('Your warning')
That's the best solution I think.
--
Kind regards,
Morten Winkler
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
If you want to make a fixed size of your SELECET ... in IE you can
do it like this:
SELECT NAME=aname STYLE=width : 250px
OPTION VALUE=aa
OPTION VALUE=bb
OPTION VALUE=cc
OPTION VALUE=dd
/SELECT
or use 100% to make the box be as wide as the
Notice that if a user enters
life anger
in the search field
SELECT * FROM table WHERE question LIKE %life anger% none of the
questions
[1] How do you deal with anger?
[2] Ever been full of anger in your life?
[3] Is life always easy?
will match. For that you must split the query by and
Try this page. It is a hack but I think it does what you want it to.
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 3.2 Final//EN
HTML
HEAD
/HEAD
BODY BGCOLOR=#FF TEXT=#00 LINK=#FF VLINK=#80 ALINK=#FF00FF
BACKGROUND=?
?
function theAnswer($action) {
if($action
Hi Elias
This might be what you are looking for. Found on
http://www.hotscripts.com - PHP - Scripts and Programs -
Database Tools - TextDB (page 8 of 9, entry 76)
Kind regards,
Morten Winkler
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
Besides... do you REALLY have anything so mind bogglingly original in your
code that you have to
go to all these extremes to protect it?
MG That's what I've never understood about people wanting to hide their source.
MG HTML isn't rocket science. Any server side scripting won't be seen, and
CD Hey, I need a set of extra eyes:
OK. I'll put on my magic X-ray typ-oh-glasses ;)
CD $res_id = mysql_query (update contacts_data set (
CD description='$description',
CD data='$data',
CD filename='$input_file_name',
CD
Only use hide(), show(), block(), etc. if you want an ordinary
htmlpage to be shown. If you on the other hand want the values of form
elements to change you should do something like this:
SCRIPT LANGUAGE=javascript
function fillForm(){
document.form_name.txt.value =
Hi Frederik
Run this code. It does what you want it to.
In your original code you compared two strings in the IF-statement.
When the $resolution gotten from your JavaScript returned '800' it would
have a lexical higher value than '1024' and thereby do exacely what
you wanted it to - actually the
How you want to get a value from client side to php on the same page?
Well. Actually I didn't invent the code. I just correcteded it so it
worked on my installation. I must admit I was amazed that it somehow
worked, but it did.
Kind regards,
Morten Winkler
--
PHP General Mailing List
Hi Matthew,
MG Now I want to be able to generate this report from the web. It doesn't
MG have to use Access (and I would prefer that it didn't, so I can convert to
MG MySQL). But I don't know of a nice (and easy!) way to generate such a
MG report. Using HTML tables isn't acceptable---when
Hi php'ers
Since I have a site that relies on cookies it would be good to
detect if a user has turned them off.
How cat I determine if that is the case?
Kind regards,
Morten Winkler
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hi php'ers
Executing the following code on my Redhat 7.2 box, through Apache i
get the most annoying output:
Code:
function listDirectory($basedir){
$diary_directory = opendir($basedir);
while($filename = readdir($diary_directory)) {
if(strcmp(".", $filename) != 0) {
Joseph,
You will have to declare
SCRIPT LANGUAGE="javascript 1.2"
myArray = new Array();
myArray[0] = "a string";
myArray[1] = 11;
myArray[2] = new Array();
/SCRIPT
since JavaScript 1.2 has arrays implemented.
Kind regards,
Morten Winkler
--
PHP
It is most certain _not_ Norweigan.
To me it looks loke a mixture of Dutch and German.
I'll send it to a Duch exchangestudent.
Kind regards,
Morten
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
24 matches
Mail list logo