Hi people
Does anyone outthere know any javascript mail list that I can subscribe to? And also,
just in case, does anyone know how can I validate a form that has radio button to see
if the radio button is checked before submit?
cheers
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than
I am having a problem with this script. It works perfect if I just do
a Query like ("SELECT * FROM customers") but if I call it from
another script with a form to set the search criteria for this Query
("SELECT * FROM customers WHERE $metode LIKE '%$search%'") It will
show the first pa
On Friday 18 May 2001 06:16, MaD dUCK wrote:
> also sprach Zak Greant (on Thu, 17 May 2001 09:35:18PM -0600):
> > Or just use a simple chain of if statements :)
>
> yeah, but that's so O(n) !
> i can do in O(lg n)
> or, given n CREW processors, in O(1) time!
>
> yes, i have just finished my comput
Hi Richard.
Two methods, POST and GET: Post for forms and best works with hidden
elements.
Get can be put across URL's:
echo "Next";
Or
" METHOD="POST">
" VALUE="">
Of course form buttons look dreadful, so if you use that method, create a
graphic to use, or do a javscript work around for
Gah! Forgot an element for that form: Page element.
">
:)
> Hi Richard.
>
> Two methods, POST and GET: Post for forms and best works with hidden
> elements.
>
> Get can be put across URL's:
>
> echo "Next";
>
> Or
>
> " METHOD="POST">
> " VALUE=" ?>">
>
>
>
> Of course form buttons look d
Hello!
I am in an server with Apache and PHP. I want PHP to authenticate in other
server (Novell with Netscape). Like this:
SSL (PAGE 1 SERVER 1) ->-->- SSL (PAGE 2 SERVER 2)
SERVER 1: Apache and PHP
SERVER 2: Novell with Netscape
PAGE 1: PHP script page
PAGE 2: PHP script page
Wi
also sprach Joseph Blythe (on Fri, 18 May 2001 02:29:40PM +0930):
> I give these ideas a go unfortunately the ranges are not contiguous,
> they are all over the place.
so you make new ranges to fill spaces and associate a bool with
each... or you check them linearly...
martin; (gre
also sprach Zak Greant (on Thu, 17 May 2001 11:50:35PM -0600):
> Do you really need a chainsaw to cut a piece of cake? ;)
hehe. depends.
and come on, i simultaneously have a point and am joking...
martin; (greetings from the heart of the sun.)
\ echo mailto: !#^."<*>"|tr "
All,
Billy Harvey wrote:
> > 2. If I copy the html outputted to the browser and past it into an html file
> > it loads good. When I say I suspect this to be something wrong with PHP I
> > mean that Netscape doesn't play good with PHP.(Not that PHP has a bug in it)
> Neither Netscape nor any
Hi,
Is it posibble to have more than one session for one user?
I have a page with forms(report_select.php) and result
page(show_report.php),
when someone has two windowa opened with differents data postet from
(report_select.php),
old data are replaced by new and the effect is that there is one
in this simple script(not for me).
What should i do to print out $result?
//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 PROTECTE
below you'll see a bit of code that is not working for me. I have tried
exec, shell_exec, passthru, system. nothing works. If I copy the echoed
copy of the command and paste it in an SSH session it works 100%. all of
the exec, and such use the 'sh' shell. So I changed to that shell to verfy
t
On Wed, May 16, 2001 at 05:13:16PM -0400, jtjohnston wrote:
> I am parsing the contents of a text file.
Congratualtions.
> I have certain lines that start with "&&4;" I would like to attach these
> lines to the previous line as follows. But I don't know how. I figure I
> have to search and replac
On Thu, May 17, 2001 at 04:49:43PM -0700, Chris Cowan wrote:
> Does anyone know why the $PHPSESSID would be automaticly added to the url on
> PWS on Win2000 but not on IIS 4 on WinNT 4.0? Is this a feature dependent on
> the web server of is there something wrong on my server?
Most likely they ar
continue then like:
while ($r = mysql_fetch_array($result))
{
echo "title=$title, body=$body";
}
-elias
""Johan Vikerskog (ECS)"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]..
.
> /* Search for the criteria in $search
> */
> mysql_connect('localhost', 'roo
Brandon,
You may wish to try ODBC. Counter to some misconceptions expressed, ODBC is
neither slow nor necessarily an 'additional' layer, and will provide you the
abstraction you mention.
ODBC requires a Driver Manager to work, there are HOWTO's on compiling PHP
with the iODBC Driver Manager at
hello,
i have my file which reads like:
dir3/dir3-3/
dir2/
dir1/
s
now when i run this script:
$a = file("exclude_dir.txt");
$t = "dir3/dir3-3/";
$temp = in_array($t, $a) ? "yes" : "no";
echo "\$a=";
var_dump($a);
echo "";
echo "in_array(\$t=$t, \$a)=$temp";
i have this output:
Jacky!
der Man
die Frau
and group:
www.ozoneasylum.com
-elias
- Original Message -
From: ""Jacky"" <[EMAIL PROTECTED]>
Newsgroups: php.general
Sent: Friday, May 18, 2001 12:30 AM
Subject: [PHP] javascript group
Hi people
Does anyone outthere know any javascript mail list that I c
Hi Dears,
Please tell me the alternate software of Telnet, because i've problem
with talnet.
Regards,
khuram
--
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
At 09:31 AM 5/18/2001, khuram latif wrote:
http://www.openssh.org
you want SSH (Secure Shell) why anyone uses telnet anymore is beyond me.
~kurth
>Hi Dears,
>Please tell me the alternate software of Telnet, because i've problem
>with talnet.
>
>Regards,
>khuram
>
>
>--
>PHP General Mailing Lis
I use php as a CGI from a secure location to do it all.
To add a user to .htpasswd on Apache:
$thefile=fopen("$pathtofile/.htpasswd", "a");
$newuserline="$username:" . crypt($pass) . "\n";
fwrite($thefile, $newuserline);
kind regards,
bill hollett
YoBro wrote:
> After much
Have located ( I think ) the problem.
I have been calling 'super' from the php script and when I call 'cadduser'
it works perfect but when I call 'caddvsite' I get an 'Unable to setgid=0'
error. Any idea why this would happen? Both executables are owned by
root.root and permission of both are s
This is a program i wrote to get some information at keep track with some
stats. I am very new at this so bare with meI keep on getting this
Warning:
Warning: Supplied argument is not a valid MySQL result resource in
/home/virtual/ppcu/home/httpd/html/php2/stat.php on line 13
Warning: Suppli
Here is another error i keep on getting, this is suppose to send me an email
each time someone enters in my website but i keep on gettong this error
message:
Parse error: parse error in
/home/virtual/ppcu/home/httpd/html/php2/login.php on line 8
I don't see anything wrong, please help.
You forgot to select the database!
mysql_select_db($db_name);
-elias
http://www.eassoft.cjb.net
""Taline Makssabo"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> This is a program i wrote to get some information at keep track with some
> stats. I am very ne
> Here is another error i keep on getting, this is suppose to send me an email
> each time someone enters in my website but i keep on gettong this error
> message:
>
> Parse error: parse error in
> /home/virtual/ppcu/home/httpd/html/php2/login.php on line 8
> I don't see anything wrong, please hel
In reply to [EMAIL PROTECTED]:
> Return-Path: <[EMAIL PROTECTED]>
> Received: from toye.php.net (va.php.net [198.186.203.51])
> by cobalt1.intermedia.com.sg (8.10.2/8.10.2) with SMTP id f4IDicZ30638
> for <[EMAIL PROTECTED]>; Fri, 18 May 2001 21:44:39 +0800
> Received: (qmail 2336
On 18-May-01 Taline Makssabo wrote:
> This is a program i wrote to get some information at keep track with some
> stats. I am very new at this so bare with meI keep on getting this
> Warning:
>
> Warning: Supplied argument is not a valid MySQL result resource in
> /home/virtual/ppcu/home/htt
In reply to [EMAIL PROTECTED]:
> Return-Path: <[EMAIL PROTECTED]>
> Received: from toye.php.net (va.php.net [198.186.203.51])
> by cobalt1.intermedia.com.sg (8.10.2/8.10.2) with SMTP id f4IDicZ30638
> for <[EMAIL PROTECTED]>; Fri, 18 May 2001 21:44:39 +0800
> Received: (qmail 2336
It should be something like:
function AccessHit()
{
...
}
--
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]
Were you a LISP programmer or something?
""Taline Makssabo"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Here is another error i keep on getting, this is suppose to send me an
email
> each time someone enters in my website but i keep on gettong this error
Hi list members,
I'm trying to develop a script that work like the MS jscript function
called RSexec () (Remote Script execute). During this develop, I'm having a
doubt regarding the use of that function RSexec(), cause I was reading about
it, and every reference points do use it with ASP (act
Until recently I have been using php3 on a linux webserver. Most of my sites
uses php_track_vars at some point.
I have just set up PHP 4 on my NT webserver in house to use a development
machine rather than uploading everything to test it. This has been great and
has been saving me a lot of time,
I dont think there are ways of doing that. can you give some code snippits ? what data
are you storing in the session ? sessions are great for storeing unique id's etc, you
can use them to store your entire db, but you shouldnt IMHO...
--
Chris Lee
[EMAIL PROTECTED]
"jarek" <[EMAIL PROT
> Until recently I have been using php3 on a linux webserver. Most of my sites
> uses php_track_vars at some point.
>
> I have just set up PHP 4 on my NT webserver in house to use a development
> machine rather than uploading everything to test it. This has been great and
> has been saving me a lo
Two things:
1. You might want to read the Zend article on chained selectors:
http://www.zend.com/zend/tut/drop-down.php
2. If it's a site to do with cars, it's "marques", not "marks".
Cheers
Jon
-Original Message-
From: Felipe Moreno [mailto:[EMAIL PROTECTED]]
Sent: 18 May 2001 15:10
T
> Jeff wrote:
>
> > I am trying to find the maximum security for storing credit card
> > numbers.
> >
> > >From reading the archives someone mentioned using a PGP based encryption
> > to encrypt the credit card number and store it into the database, and
> > have the company that is processing th
that should work, if you dont want the username and password seen in the url bar the
once your at that page, see if the username:password@ are in the url, if so
header_redrect to the same page minus the username/passwd. once a browser has the
username/passwd it remembers it and sends it on ever
Thanks for the reply but now i have problems with my pop up! Here is the
message in getting. Whats the problem now
Warning: Supplied argument is not a valid MySQL result resource in
/home/virtual/ppcu/home/httpd/html/php2/login.php on line 29
Warning: Cannot add header information - headers
Jason,
I've Replyed also to the lsit, because someone could help us on this...
Jason Lotito wrote:
> Lucas Persona wrote:
> > I was used to think on that way...
> > Some time ago I have problems with Netscape 6 and PHP. It
> > was not a HTML error
> > but something related to PHP/Netscape 6.
Also take off the semicolon of the closing of the function }
""Taline Makssabo"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Here is another error i keep on getting, this is suppose to send me an
email
> each time someone enters in my website but i keep on g
Try SSH (Secure Shell)
__John Monfort_
_+---+_
P E P I E D E S I G N S
www.pepiedesigns.com
"The world is waiting, are you ready?"
-+___+-
On Fri, 18 May 2001, khuram latif wrote:
> Hi De
Hi
I use PHP 4.0.5 and Apache 1.3.19 on Windows 2000, with PHP running as an
Apache module.
If I use the exit construct from within a function Apache crashes. I made a
small test-page like this:
I would expect it to print "foo1" and then nothing more. But instead Apache
crashes. Why?
Regards
I'm having serious issues with session management in PHP and am trying
to
determine if it's a problem with my hosting company or a problem in my
code.
The flow of my site is:
login_page -> session_start_page -> form_page -> display_results_page
Upon login a POST is made to session_start_page.
I have just release the Flash / SQL component kit. This makes it simple to
execute SQL queries from within Flash (and then manipulate the results from
Flash).
I am posting this here because it includes PHP server components (for
connections to ODBC and MySQL).
Basically, the kit makes it easy to
Thanks for all the help guys but one more minor issue, i am not receiving
the email that someone accessed my page...why??
--
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 admini
it happens quite often on Win2k. Don't know why, but in my case it happened
with some loopy-loops containing SQL in it. Sometimes it works sometimes it
doesn't. Try also renaming files. I know it sounds ridiculous, but happened
to work for me.
m
-Original Message-
From: Jakob Kruse [mail
Here's the server config if it's more help. Thanks!!!
John
PHP Version 4.0.5
System Linux xxx 2.2.16-3 #1 Mon Jun 19 18:10:14 EDT 2000 i686
unknown
Build Date May 17 2001
Configure Command './configure' '--with-mysql' '--with-apache=../apache_1.3.19'
'--enable-track-vars' '-
Try this:
File: netscape6.php
\n";
echo "this is a test...this is the first part\n";
echo "this is a test...this is the second part\n";
echo "\n";
echo "\n"; // here
echo "\n";// and here
echo "\n";
echo "\n";
?>
---
Hi!. I have the following problem (we are going crazy about it!!) and i
think there's many people out there that have experienced the same thing:
A session created in one page is killed on the next one. Check an example:
PAGE 1:
session_start();
session_register("myvar");
yes. netscape is incredibly anal about tables.
if you miss even one tag, the entire table
will not show... and netscape handles table background
images weird too, so keep that in mind if the table
shows up, but looks like someone vomited all over it.
per your subject header:
1) it's a netscape
Have you tried this test with your code?
http://www.php.net/FAQ.php#7.8
The FAQ does not give a solution, but the problem is known to have affected
only select users. The problem is no-one seems to know what the selection
criteria is! Some people have the problem, some do not.
DAve
on 5/18/01
I have this problem as well (see "Where the hell did my session vars go?").
We were using 4.0.4pl1 and it was occuring under both Netscape 4.74 and IE 5.5.
We upgraded PHP to version 4.0.5 and everything works nicely under Netscape, but IE
5.5 is
still screwing up.
Just for info...
Thanks,
Jo
According to the w3c validation program;
A URL for a CGI program that uses `&' as a separator, such as
"http://host/prog?x=1&y=2";. This is a common problem: the inventors of CGI
didn't think things through very carefully when they decided to use the '&'
character as a separator between CGI argum
> According to the w3c validation program;
>
> A URL for a CGI program that uses `&' as a separator, such as
> "http://host/prog?x=1&y=2";. This is a common problem: the inventors of CGI
> didn't think things through very carefully when they decided to use the '&'
> character as a separator betwee
At 11:37 AM 5/18/01 -0400, scott [gts] wrote:
>yes. netscape is incredibly anal about tables.
Actually, it's "incredibly anal" about following the HTML
specification(s). An incomplete tag pair (ie: ) is to be
_ignored_ ...similarly, unrecognized parameters inside certain tags are
ignored
from the shell, you can use the mysql program
./mysql -uUser -pPass dbname
from PHP, why dont you just use: mysql_connect(...);
it seems that you might be confused about mysql, trying to
access it "via PHP" from the "unix shell". if you want to
set a unix shell enviornment variable and access
do you have a "ScriptAlias"
directive in the apache conf's?
> -Original Message-
> From: midget2000x [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 17, 2001 5:16 PM
> To: Nathan Cook; [EMAIL PROTECTED]
> Subject: Re: [PHP] running a stand-alone PHP program
>
>
> Excellent. I got this
Jon,
Thank you for your help, but unfortunately, this won't help me, cause I
tested the script you told me in ZEND, and it is different of what I'm
trying to reach, cause it generate the javascript inside the file...but,
imagine if I have about 2000 models and 100 Maquees (now I got it!
heheheheh
I've a web programmer ( just beginner ) using PHP .
And I also learn / write java at my university since I'm a student .
As I know , developing a page using PHP is much faster than java .
Not just 1 / 2 hrs , but maybe one day to a week .
Learning Java including servlet takes times , but you can
Taline,
You cannot have ANY OUTPUT before sending a header. Strip out every blank
line and try again. Tighten it up. A space at the top of the page before
"Thanks for the reply but now i have problems with my pop up! Here is the
>message in getting. Whats the problem now
>
>Warning: Supplie
Hm, the function that loads the models uses /cotizar/mmv/getdata.asp with
RSExec, I see what you mean.
Don't know how to deal with this really (sorry), I'm no good with ASP, and
apart from using include() or require() in PHP, I'm not sure how else you
could run another file.
If you don't get any
How can I store a large number, value over 8 billion for bitwise
comparison? I have a large set of switchs, getting up to 2 pow 34, and
it goes outside the size of an int, can't set a type that will work.
Nicholas Burke
Strategic Profits Inc.
--
PHP General Mailing List (http://www.php.net/
You should be appointed to the head of all HTML. For you are the master and
can see through the ignorance of us all. I bow below you and thank you for
letting me grace your presence. You truly are the HTML messiah
8/
-Original Message-
From: Brian S. Dunworth [mailto:[EMAIL PROTECTED]
Perhaps you want something like this:
$Msg = $H.$NL.$R.$NL.$D;
HTH
Sam Masiello
Systems Analyst
Chek.Com
(716) 853-1362 x289
[EMAIL PROTECTED]
-Original Message-
From: Taline Makssabo [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 18, 2001 11:18 AM
To: [EMAIL PROTECTED]
Subjec
I get : "Fatal error: Call to undefined function: bcsub() in .." when using
bcsub().
Could there be a problem running PHP on a 64-bit system?
Cheers,
Olav
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTE
>The sercuity of java is better and the network controlling features
>is better too .
>
>The loading time of servlet is faster since the server just need to
>run the servlet one times
You probably mean that it needs to load the jvm one time, the servlet
gets run with every request (unless you cac
i had to do that once with a perl script i was writing
because there were a variable number of "options" that
could be passed in, yet i needed to have a fixed number
of paramaters going into the script.
i used: ./prog.cgi?opts=x:1,y:2,z:3
sort-of like a primitive form of php's ability to pass
ar
and adding to what Miles says:
make sure to go thru any files that might be
require()'d or include()'d, becuase any stuff outside
the tags will be considered output also.
that error is like a rite of passage ;)
> -Original Message-
> From: Miles Thompson [mailto:[EMAIL PROTECTED]]
> S
on 5/18/01 8:58 AM, Rasmus Lerdorf at [EMAIL PROTECTED] wrote:
>> According to the w3c validation program;
>>
>> A URL for a CGI program that uses `&' as a separator, such as
>> "http://host/prog?x=1&y=2";. This is a common problem: the inventors of CGI
>> didn't think things through very carefu
OK. Ive been beating my head over this code for a bit. I would appreciate it
if a fresh set of eyes would take a look at this for me. I have the
following code;
$connection = odbc_pconnect("XXX","X","XXX");
$SQL = "SELECT * FROM Bios WHERE CharacterName = '";
$SQL .= $CharacterName;
For my http socket connection, I am using
"POST $abs_url HTTP/1.0\r\n".
"Accept-Language: en-us\r\n".
"Host: $host:$port\r\n".
"Connection: close\r\n".
"Content-type: application/x-www-form-urlencoded\r\n".
which works great.
What do I need to change for a SSL
Hello,
I have been working in Linux for the last year on some scripts. Now I have
to port them to Windows server. Does anyone know how to us crypt or an
alternative for crypt?
Thanks
Brandon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addi
Hy there!
DAve Goodrich wrote:
> Have you tried this test with your code?
> http://www.php.net/FAQ.php#7.8
> The FAQ does not give a solution, but the problem is known to have affected
> only select users. The problem is no-one seems to know what the selection
> criteria is! Some people have the
Did you echo out $CharacterName before your SQL statement to ensure that it
is being set? Or your $SQL variable before calling odbc_do? This might
provide you with some insight as to why the query doesn't return anything.
HTH
Sam Masiello
Systems Analyst
Chek.Com
(716) 853-1362 x289
[EMAIL P
As far as I know you cant do that with standard socket connection as SSL
needs more than that. One solution that I am currently using is using Curl
extensions of PHP which is working just fine. But you may need to recompile
PHP with curl support. For more info:
http://www.php.net/manual/en/ref.cu
Good call, Lucas! Netscape has bitten me before on this one, and I had
forgotten about it- sorry. I was doing a View Source, but all the dynamic
elements that got updated on each request were changing, because Netscape
does another request for the View Source. So, the View Source code is not
the c
Hi!
I'm looking for some hints for the PHP ftp module as I have some problems
using it - if anyone has experience in using the PHP ftp module it would be
very cool someone could send me an email...
Greetinx,
Gunter Ohrner
--
Tourist, Rincewind decided, meant "idiot".-- (Terry Pra
Hi,
I got error on OO programming after upgraded php3.0.8 to php4.05. I am
using apache 1.3.14, phplib 7.2c and MYSQL 3.23.36. The program was working
fine under PHP 3.0.8. Error is showing all html code on browser as
following.
<{FONT FORM Method=post ACTIONLIGN=CENTERE="verdana, helvet
Hello , since may 15 I dont receive your mail , why I lost the connection???
Hello all,
but since 15 of May I dont receive mail from php-general-digest, and even from
php-db-digest, there is any problem, or its my problem...
Best Regards
mailto:[EMAIL PROTECTED]
Hello All!
I have a page that was generated by PHP4 and is the result of a query.
I would like to enable a button to have the page printed.
Does anyone knows how to do it with either PHP or javascript?
Thanks,
C.F.
maybe this helps
: