INPUT TYPE=HIDDEN NAME=name_of_variable VALUE=value_of_variable
-Original Message-
From: Tim Olsen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 17, 2001 2:12 AM
To: [EMAIL PROTECTED]
Subject: [PHP] passing variables from forms to the same page
repetatively
People,
I have 4 forms
I think he means swap...
--
Lasse
Jack Dempsey [EMAIL PROTECTED] wrote in message
000601c10e81$03aca260$22ebd73f@2pqjp01">news:000601c10e81$03aca260$22ebd73f@2pqjp01...
What exactly are you trying to do? Switch around in what way?
Jack
-Original Message-
From: Alvin Tan
On Tue, 17 Jul 2001 15:41, Tim Olsen wrote:
People,
I have 4 forms in four seperate html pages included directly (no links
to includes) in the same .php file, i have it so all the form actions
is php.self, so when each form is submitted it goes on to display the
next form in line, using if
Hi again,
Just a long shot: since password() encrypts the password that's passed
through it, how did the original password get in to db anyway? Was it
encrypted too? Cause if the password in the db is plain text and the user
submits a plain text in a form called $password, the password()
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Tom Malone) wrote:
I am using sessions to track visitors to my site, and one of the things I'd
like to do is add a time-stamp to each entry in my MySQL database. The
problem is that, for some reason, the time-stamp part only seems to work
Hi! Please help me to use PHP under Netscape Enterprise Server 3.51 or Fast
track 4.1 Daniel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL
Sorry people just testing...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Why doesn't this work? Any ideas?!
$resolution = SCRIPT
LANGUAGE=\JavaScript\document.write(screen.width)/SCRIPT;
if ($resolution = '1024') {
$resolution = 1024;
} else {
$resolution = 800;
}
echo $resolution;
It always output 1024
Best regards
Fredrik A. Takle
Bergen, Norway
Hi,
Brian White [mailto:[EMAIL PROTECTED]] wrote on Tuesday, July 17, 2001
5:52 AM
To: Jack; [EMAIL PROTECTED]
Subject: Re: [PHP] email counter
How about changing link to
a href=mymailer.php?[EMAIL PROTECTED] Big George /a
Where mymailer.php is something like
?php
/*
Do
În 17 Jul 2001 19:47:23 +1200 Philip Murray a scris:
What about using a Windows COM object? There should be one for Access and if
not you can use the Word one and generate word documents
Don't use Words for that... We've had to generate invoices to be snail-mailed,
imagine if the address in the
Hi.
I'm running Apache 1.3.19/php 4.06 under OpenBSD.
I have 30 virtual domains... all plain html (or w/ little php), some
date functions and mysql queries.
But one of them has a lot of php.
It's giving me a strange problem...
Here is index.php
?php
require_once(include/layout.inc); // HERE IS
ok, i still am a newbie to this and therefor ill ask this silly question.
I have made a small test script which checks the inputted name and pass against my
database and if
it was successfull it typed out success! and if it wasnt successfull it types out
wrong password!
My problem is.
În 17 Jul 2001 09:56:23 +0200 Jörg Krause a scris:
PHP has Java-Support build in, has anybody checked out this with a tool
like FOP (calling Java program from PHP)? Is it stable, good for
production environment?
Yes, I'd like an answer to this too. Right now I can only call it
with system
When i install PHP.
Do i have to make anything special to activate the ldap function?
//Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL
Hi,
I'm having trouble compiling php with t1lib support. Actually, php
compiles fine, it stops when compiling apache.
./configure
make
make install
php works fine.
./configure
apache works.
But when I make apache, I get:
gcc -DLINUX=22 -I/usr/src/network/php-4.0.0
În 17 Jul 2001 19:47:23 +1200 Philip Murray a scris:
What about using a Windows COM object? There should be one for Access
and if
not you can use the Word one and generate word documents
Don't use Words for that... We've had to generate invoices to be
snail-mailed,
I've also done the
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
Hello,
I'm quite new to this list so i guess you've had this subject hundereds of
times before(?).
Anyway - I'm looking for articles/information about PHPlib, FastTemplate and
their clones.
I'm also looking for information about how to do big/complex sites. OOP in
php, filestructures etc.
This fixed it, but I don't like it! If you have any other suggestions, feel
free to email me.
SCRIPT LANGUAGE=JavaScript
if (screen.width = 1024) {
var resolution = (1024)
} else {
var resolution = (800)
}
/SCRIPT
Best Regards
Fredrik A. Takle
Fredrik A
--
PHP General
Hi everybody!
Please, have somebody any experience with displaying icons (type files
*.ico) in web pages?
When I have a pure html file that contain img src="abduction.ico", all is
OK - the icon is shown.
But when I create a html page with assistance PHP, the icon isn't shown.
Please, could you
$resolution = SCRIPT
LANGUAGE=\JavaScript\document.write(screen.width)/SCRIPT;
if ($resolution = '1024') {
$resolution = 1024;
} else {
$resolution = 800;
}
echo $resolution;
It always output 1024
At a guess becasue your mixing and matching languages.
If you got
How you want to get a value from client side to php on the same page?
Joseph
Orv î?÷inklÏ ²ørÏkîskî [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi Frederik
Run this code. It does what you want it to.
In your original code you compared two strings in the
all this is happening on the server. on the server $resolution is just a
string so if ($resolution = '1024') compares the two strings (using ascii
values) and finds that (60) is greater than 1(49). If you want the
server to know the screen width of the client you'll need to dig into the
header
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
How do you know it worked? :)
-Original Message-
From: Morten Winkler Jørgensen [mailto:[EMAIL PROTECTED]]
Sent: 17 iulie 2001 12:54
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Output (Urgent!)
How you want to get a value from client side to php on the
same page?
Well.
Hmm...
It seems that you're variables are beeing reposted upon each page reload.
yes, some code might help.
Johan Vikerskog [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]..
.
ok, i still am a newbie to this and therefor ill ask this silly question.
I have made a
Well, Yes...
you have to stick to JavaScript + JavaScript and not JavaScript + PHP!
You can let PHP talk w/ JavaScript and not the reverse!
SCRIPT LANGUAGE=JavaScript type=text
if (screen.width = 1024) {
var resolution = 1024;
} else {
var resolution = 800;
}
Jennifer wrote:
it seems to ignore the color that I specify and always came out
grey. (Of course now if I use ImageColorClosest(), some colors
work because they are in my image.)
Any idea on how solutions?
Oops. I didn't read far enough. I found the following in a
separate thread.
$MyArray['BUYVAL'] = 1.23;
-Original Message-
From: Sharat Hegde [mailto:[EMAIL PROTECTED]]
Sent: 17 iulie 2001 13:11
To: [EMAIL PROTECTED]
Subject: [PHP] Adding elements to an array
Hello,
I have a requirement to add elements to an associate array
dynamically based
on
Try
$MyArray = array('DATETIME' = $DateTime);
$MyArray[BUYVAL ] = 1.23;
Sharat Hegde [EMAIL PROTECTED] wrote in message
30402B4CB8C7D311A3C600C04F1513BC7E8976@bg2ipmail">news:30402B4CB8C7D311A3C600C04F1513BC7E8976@bg2ipmail...
Hello,
I have a requirement to add elements to an associate array
Hmm...
do you have write access on that directory?
IUSR_xxx and IWAM_ users must be appropriate writes on that folder...
Adam Whitehead [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi All-
I'm having trouble with a simple script that allows HTTP upload.
Hi!
I am trying to edit this xml-file:
I want to change one of the li-nodes.
?xml version=1.0?
kund
li
naper/na
enBylund/en
gaSemin/ga
/li
li
naAxel/na
enTiman/en
gaSemina/ga
/li
li
naLars/na
enBerg/en
gaSeminar/ga
/li
/kund
Hi,
A simple problem for you guys (I think),
I have 2 arrays - firstname and lastname, both have the same associative
index - lastname, I have then performed asort on both to order them
alphabetically. Now I just need to extract and display the array elements
that have the associative index
Hey guys,
I saw a post in here the other day that's prompted me to ask this
question... Because I can't seem to get the solution mentioned to work.
Maybe I'm missing something obvious... Anyway, here goes.
I have a list of categories contained in one table, and a list of entries in
another.
Kurt,
You might have some luck with adding [], I seem
to remember that making arrays for form posts,
so it might do gets too...
http://myhost/playlist.pls?song[]=100song[]=101song[]=102
and if you always end up with an array using [],
you might change the condition to
count($song) 1 or
I am trying to edit this xml-file:
Have a look at: http://ww.phpxml.org/
Bye
Jens
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
This is wrong. It should be
Content-Type: multipart/mixed;
boundary=B42DA66C4EC07C9B572A58FC
I don't know why it is not reading the whole string. It seems to treat
the *boundary* part as another line.
It _is_ another line; it just happens to starts with
I'm not going to comment on array processing techniques, but I suggest you
are into a situation where you have to rethink your database design from
the point of view of performance and normalization.
I don't know how many records you will eventually have, but the key to
performance in SQL
Can I send like custom headers?
header (Resolution: 1024);
and echo it in the phpscript?
Can I do this or is it a silly question?
Best Regards
Fredrik A. Takle
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
I am getting this error when using the trying to use the mail function. Any
insite will help, I have been up for too long working on a few projects and
my brain is damn near melted.
mail() is not supported in this PHP build in
so when I built PHP 4.06 I am assuming I missed a option, but just
What companies issue card numbers that are not 16 numbers? Are
they non-US cards? I haven't ever seen a card that wasn't 16 numbers.
A valid VISA card has between 13-16 digits.
I believe AMERICAN EXPRESS only has 15 digits.
-john
__John Monfort_
as afr as i know it's a recompile with a path to sendmail ...
great when it works though !
Steve
Patrick W. Rateliff [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I am getting this error when using the trying to use the mail function.
Any
insite will help, I
People!
I am getting nuts here about this thing i am working on right now.
I am trying to get make a ldap php script that get information about a user.
I can connect to the ldap server and get response on how many entries that was found.
But how do i print out something of use.
I mean. How do
hi, I was wondering if someone could help me with a small problem I'm
having.
I'm running a script that periodically dumps information from one server to
a database on another. We're running suse 7.1 and apache on the server
containing the information, and the problem is I don't know how to make
Use ldap_get_entries. See here:
http://www.php.net/manual/en/function.ldap-get-entries.php
Check the bottom of your code, I put something in there.
On Tuesday 17 July 2001 07:27 am, Johan Vikerskog (ECS) wrote:
People!
echo h3LDAP query test/h3;
echo Connecting ...;
We're running suse 7.1 and apache on the server
containing the information, and the problem is I don't know
how to make
linux run the php script, or how to set up crobtab with the php
script in
mind. anyone have any ideas?
You can use this Tutorial
whereas to echo it you'd have to concatenate the string. false
you don't have to concat strings with echo you can print vars the same way as print
regards
16/07/01 17:48:43, Steve Brett [EMAIL PROTECTED] wrote:
i seem to remember reading somewhere that print acts like (is) a function,
-Original Message-
From: ChengWen_Yu [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 10:54 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Problem about PHP
I want to write a library for the PHP on Solaris. But I
don't know how to do and where I should put this library
than
hello all.
i configured my php 4.0.5 with the following command on a REDHAT linux 7.0.
#./configure --with-apache=../apache_1.3.20 --with-mysql --enable-trackvar
--with-ftp.
Now i am trying to install/configure a NEWSLETTER php program and i have the
following message :
Warning: mail() is not
Hello,
How do I get the filename or script name if I run it in php comamnd line? For
example, if I run this
bash$ php test.php
I want to get something inside test.php that tells me the filename is
test.php, but *without* the actual path.
Thanks
Reuben D. Budiardja
--
PHP General Mailing
?
$s = 'somthing opentag1 .any content in between
.. closetag1 somthing else';
$opentag = 'opentag1';
$closetag = 'closetag1';
$other_content = 'the other content';
$content = ereg_replace(.*$opentag, '',
ereg_replace($closetag.*, '',
thanx for the help man, the script is running and I get to keep my job ,)
-petur
Johan Holst
You aren't getting the value to the PHP script... allow me to walk through
what is actually happening
$resolution = SCRIPT
LANGUAGE=\JavaScript\document.write(screen.width)/SCRIPT;
echo --.$resolution.--;
You have just set a variable to SCRIPT
thanks my king :)
it works !!!
Adrian Ciutureanu [EMAIL PROTECTED] schreef in bericht
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
?
$s = 'somthing opentag1 .any content in between
. closetag1 somthing else';
$opentag = 'opentag1';
$closetag = 'closetag1';
$other_content =
In the ldap script below i get the results when i use the decide function at the
bottom.
Anyone have a tip on how i can change this so i can push the results into variables
instead?
Thanks in advance
//Johan
?php
function printarray ($what, $display, $info, $i) {
for ($j=0; $j
I have noticed on the list over the past two months, an increasing number of
problems with the mail() function.
Mostly, people having this problem don't have sendmail installed. It would
seem that PHP's mail() function was written around sendmail. Is there a way
to resolve this, with either
Maybe I'm not using it right, but I'm using the sample in the manual.
Here's the code:
?
$text = A very long wrd.;
$newtext = wordwrap( $text, 8, \n, 1);
echo $newtext\n;
?
Here's the output:
A very long wooo ord.
Here's what the manual says the output should be:
A very
long
On a side note, qmail has a wrapper that pretends to be sendmail. You can
overwrite the /bin/mail with it and it will behave and accept mail just like
sendmail, but send it through qmail-smtp.
Nathan Cook
[EMAIL PROTECTED]
- Original Message -
From: Michael Geier, CDM Systems Admin
$PHP_SELF returns the filename with the full path. from there, you can use
split to split the string wherever a / occurs, then call count, to get the
total number of values in the array, decrememnt the count by 1 (Arrays begin
at 0) then, set a variable to store just the filename, like so:
i know this is a silly question, but you're
not looking at it thru a web browser, are you?
browsers are for HTML and markup code.
the output on my computer is the same as
the manual output:
A very
long
wooo
ord.
-Original Message-
From: Tyler Longren [mailto:[EMAIL PROTECTED]]
What's the pros and cons for storing uploaded images or documents
(.doc, .pdf) in a database versus something like
http://www.company.com/files/pic.jpg?
_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
Well, that was easy. I never even thought to change the \n to br. Thanks
for helping me over my mental block...
Tyler
- Original Message -
From: scott [gts] [EMAIL PROTECTED]
To: php [EMAIL PROTECTED]
Sent: Tuesday, July 17, 2001 10:25 AM
Subject: RE: [PHP] wordwrap()
i know this
[EMAIL PROTECTED] (Tyler Longren) wrote:
Maybe I'm not using it right, but I'm using the sample in the manual.
Here's the code:
?
$text = A very long wrd.;
$newtext = wordwrap( $text, 8, \n, 1);
echo $newtext\n;
?
you should use
$newtext = wordwrap( $text, 8, br, 1);
Seems that $PHP_SELF is not defined when it's run from the command line.
Reuben D. Budiardja
On Tuesday 17 July 2001 10:29 am, Jason Bell wrote:
$PHP_SELF returns the filename with the full path. from there, you can use
split to split the string wherever a / occurs, then call count, to get
Seems that $PHP_SELF is not defined when it's run from the
command line.
Try:
__FILE__
Chris
Is there a way that I can get the current URL, like
myfile.php?sub=web?page=web1
And then remove the ?sub=web from it, even if the value of ?sub is different
? Someone said something about $PHP_SELF but I dont know where to go from
there.
--
PHP General Mailing List (http://www.php.net/)
To
myfile.php?sub=webpage=web1 shouldn't it be?!!?!?
- Original Message -
From: Justin Colson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 18, 2001 1:51 AM
Subject: [PHP] Getting the current URL (with arguments) as a variable, then
removing another variable from that ?
Is
I had that before.
OK, seems that my problem is not that simple. The thing is , I have something
like this in my file test.php:
require('my_api.inc');
echo This is test.php3;
Now, in my_api.inc, I want to know that I run test.php3, when I do
bash$ php test.php3
and the filename is test.php3
I had that before.
OK, seems that my problem is not that simple. The thing is ,
I have something
like this in my file test.php:
require('my_api.inc');
echo This is test.php3;
Now, in my_api.inc, I want to know that I run test.php3, when I do
bash$ php test.php3
and the filename is
Hi Michael!
On Tue, 17 Jul 2001, Michael Geier, CDM Systems Admin wrote:
I have noticed on the list over the past two months, an increasing number of
problems with the mail() function.
Mostly, people having this problem don't have sendmail installed. It would
seem that PHP's mail()
I'd like to use php to do what I'm able to do in perl.
use String::Random;
use Crypt::PasswdMD5;
$foo = new String::Random;
$rand = $foo-randpattern(ss);
print Type in your password: ;
$password = STDIN;
$hash = unix_md5_crypt($password,$rand);
$salt = substr($hash,3,2);
print SUBSTR:
I don't know a way around the problem you're describing with your
version of PHP, but PHP 4.0.6 with GD 2.0.1 allows you to call
ImageCreateTrueColor(), which eliminates the 256-color limitation with
JPEG files-- solved my problem right away.
-Original Message-
From: Jennifer
Hey Ty,
I had the same problem. I read somewhere that you can use \r\n instead. \r
returns home and \n adds a new line!
It works fine here!
Rehuël
Tyler Longren [EMAIL PROTECTED] wrote in message
00aa01c10ed3$a3253ee0$[EMAIL PROTECTED]">news:00aa01c10ed3$a3253ee0$[EMAIL PROTECTED]...
Maybe
has this problem
check the annoted manual on php.net. i believe there is a work arround
posted on imagecolorallocate() and i reposted the same thing under
imagecreatefromjpeg. basically you create and image, allocate colors, and
then copy your jpeg on it.
Thank You,
Jon Yaggie
I know there's a function that takes a string argument and runs it as PHP
code.
i.e. function_name('echo $variable;');
I just can't remember what it is. Does any know?
_
Do You Yahoo!?
Get your free @yahoo.com address at
[EMAIL PROTECTED] (Rehuel Lobato De Mesquita) wrote:
Hey Ty,
I had the same problem. I read somewhere that you can use \r\n instead. \r
it's windows that uses \r\n so if you run your scripts on a windows
machine it might be a good idea to split on them too.
--
Henrik Hansen
--
PHP
eval(); ?
--
Julio Nobrega.
Because happiness is a warm gun
Bang-bang shoot-shoot
B R [EMAIL PROTECTED] wrote in message
005501c10ee3$e82b4740$c6655ad1@Test4">news:005501c10ee3$e82b4740$c6655ad1@Test4...
I know there's a function that takes a string argument and runs it as PHP
code.
i.e.
I installed Apache 1.3 for windows and php4 (Easywindows).
I take a sample of functions GD, but when the program execute don't appear
nothing.
What's the problem?
Thanks
Luiz Fernnado
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Previously, Johan Vikerskog (ECS) said:
How do i list the email for that entry? Ill get one answer from this, now
i want to print out the email adress for that entry.
How do i do that?
$sr=ldap_search($ds, $dn, $filter, $justthese);
$info = ldap_get_entries($ds, $sr);
print
I make a dll in Vb6 and it have a funcition that have a variable of type
VARIANT like parameter.
In the program php I call this dll and your method and send a array make in
php.
Occurs a error : Invoke Failed : Occured a exception, but if I pass a
variable of type integer or string to other
Yeah, I had thought about using hidden inputs, but hidden inputs are not
really hidden. They still exist on the HTML page, and although not visible
in the browser, are visible in the code. This may not be cool if you have
sensitive information that is passed, also if you have a lot of
Does anyone have a simple script that will GET a
web page and return the reply?
Something like this:
function getpage($host, $path, getstr)
{$getstr="whatever\r\n";
$host=www.whatever.com;
$hdr=sprintf("GET $getstr",
$path); $hdr .="Content-type:
application/x-www-form-urlencoded\r\n";
$site = fopen( http://www.whatever.com/ http://www.whatever.com/,
r);
$contents = fread($site, 102400);
fclose($site);
-Original Message-
From: Clayton Dukes [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 17, 2001 2:08 PM
To: [EMAIL PROTECTED]
Subject: [PHP] GEt Command
Does
There are a thousand ways to pass data... some are just more kludgy than
others =)
In addition to using hidden fields
You could put the data into a Database
You could Write it to a file
You could put it in a cookie
You could use sessions
etc, etc, ad nauseam
Two things to point out, however.
MessageHi,
Here's what I'm trying to do:
I want to test an IIS server for an invulnerability. This is done by sending
a GET command to test for it.
Here's a blurb from the security advisory that I am working with:
---snip---
A scan is performed over some region of the Internet, searching for
Ask yourself these questions:
Would a few thousand dollars extra each month make a difference?
Can you spare a few hours each week to earn the extra dollars?
If the answer is yes to these simple questions, and you have a PC with Internet
access, then you can get involved with the 40 BILLION
How can I pull my data from my SQL db, and store it as a string so that it can be
used? Specificly, I'm working with images.
When the images are stored in the database, the only pre-processing that is done is:
$img = addslashes(fread(fopen($userfile, r), filesize($userfile)));
(* note:
Hello,
I'm contacting you because we have recently released a new web development platform,
EO, that I would like for you to try out for use in building dynamic sites.
EO is a portable, flexible yet robust system that you can use to quickly build
interactive sites, plus it has features that
your query needs to be an actual query, such as a select statement...
- Original Message -
From: Yassel Omar Izquierdo Souchay [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 17, 2001 1:28 PM
Subject: [PHP] PHP- something i don't undestand
Hi
I'm having
trouble with
8:$result = mysql_db_query(users, $query);
9:$r=mysql_fetch_array($result);
10: $count=$r[count];
And the error message is
Warning: Supplied argument is not a valid MySQL result
resource in
c:\inetpub\wwwroot\PhpAndMysqlTest\test2\reg1.php3 on line 9
You need to validate that the
Hello,
I have a php script that connect to database and retrieve something, or do
something with the db.
I can run the script from the command line, it works just fine.
But when I run it as cron, it gives error cannot connect to the database.
Here is the script looks like:
?
// script name:
Dolores pressed the little lettered thingies in this order...
Ask yourself these questions:
OK...
Would a few thousand dollars extra each month make a difference?
Yes!
Can you spare a few hours each week to earn the extra dollars?
Yes!
If the answer is yes to these simple
On Tuesday 17 July 2001 11:14 am, Boget, Chris wrote:
in my_api.inc, have the following code:
echo Currently Running file is: ;
echo ( $CurrentRunningFile ) ? $CurrentRunningFile : __FILE__;
in test.php
?
$CurrentRunningFile = __FILE__;
include( my_api.inc );
echo This is
Yassel Omar Izquierdo Souchay pressed the little lettered thingies in this order...
Hey guys
here is my code
4: mysql_connect() or die (Problemas conectandose a la base de datos); 5:
$query=select * from info where FirstName='$FirstName' and 6:
LastName='$LastName' and email='$email'; 7:
Pardon my ignorance if you can really do it this way (because I have never
seen it done like this):
In line 4, I wasn't aware that you could call mysql_connect() without any
parameters. Can you?
HTH
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 x289
[EMAIL
Oops.. forgot to CC the group..
- Original Message -
From: Jason Bell [EMAIL PROTECTED]
To: Yassel Omar Izquierdo Souchay [EMAIL PROTECTED]
Sent: Tuesday, July 17, 2001 12:42 PM
Subject: Re: [PHP] php- something that i don't understand
try this:
try looking here:
http://www.php.net/manual/en/function.mktime.php
then here:
http://www.php.net/manual/en/function.date.php
-JB
- Original Message -
From: John Holcomb [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, July 17, 2001 12:53 PM
Subject: [PHP]
Steve Brett wrote:
don't echo and printf do different jobs ?
as i understand it echo will dump anything to screen, fprint will accept
formatted text args like you owe me %d dollars,$owed_amount) or something
like that.
i kind of use print by itself (harking back to the old days of
John Holcomb pressed the little lettered thingies in this order...
Hello and thank you.
I'm trying to find a function(method) or existing
code taht takes the number of minutes that have passed
in a day and returns the time of the day. For
example:
780 minutes == 1pm,
0 minutes ==
That's rather simple:
echo date(H:i:s,mktime(0,$minutes,0));
-Rasmus
On Tue, 17 Jul 2001, John Holcomb wrote:
Hello and thank you.
I'm trying to find a function(method) or existing
code taht takes the number of minutes that have passed
in a day and returns the time of the day. For
1 - 100 of 154 matches
Mail list logo