Hello
I'm trying to have sessions that use cookies and send to any subdomain
in a .domain.com domain. It seems if I use them by default it will
only sent back to the same domain. However, If I specify a certain
domain in the config file, then I limit all my server to use cookie for
that one dom
http://www.weberjob.com
Sincerely
berber
Visit http://www.weberdev.com Today!!!
To see where PHP might take you tomorrow.
-Original Message-
From: Mihailo Dzigurski [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 22, 2001 10:22 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Sites with
Hi,
Can a class be stored as a session variable?
If not, what advantage is there to using classes in php?
I kind of see classes as used for things that will be frequently accessed/stored in
memory, but with php(web) the code is basically executed once with nothing remaining
in memory. Seems kind
On Tue, May 22, 2001 at 04:11:49PM -0400, Nicholas sat at the 'puter and typed:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: MD5
>
> Hello Louis,
>
> gotta email that to the unsubscribe list... (at bottom of all msgs)
>
> This In Reply to what you wrote on Tuesday, May 22, 2001, 4:05:26 PM,
> W
New bee Q-
Can anyone help me to configure pws,mysql manually.
Kindly help and walk me through the process.
thanks
asif
--
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 administrator
-BEGIN PGP SIGNED MESSAGE-
Hash: MD5
Hello ,
whenever i try to run this cvs command i get this
cvs -d :pserver:[EMAIL PROTECTED]:/cvsroot/best-board/devel
init
Protocol error: Root request missing
wtf am i doing wrong what do i do .. thanks (note this is FOR a php
program..)
- --
Bes
On Tue, May 22, 2001 at 07:06:32PM +0200, [EMAIL PROTECTED] wrote :
> got php to work with mysql but when I try to compile in oracle support
> something goes bad.
> .configure, make & make install semm to go fine
> but when I restart apache I get an error:
> Shutting down http: [OK]
>
On Tue, May 22, 2001 at 10:38:32AM -0700, Nicolas Mermet wrote :
> I was wondering if there is a way to analize an uploaded jpeg file in
> order to extract its resolution in pixels.
GetImageSize() is a favourite one here.
> Would that be also possible with a quicktime movie ?
Possibly,
I've been working on this thing for the past few days
and thought i'd share it all with you.
i've posted a demo up: you cannot delete rows,
but you can add and edit them
http://furt.com/php/dbedit/
to get the code: http://furt.com/php/dbedit_b1.zip
(please read specs.php for lots of information
Oh, if the headers look screwy, try de-selecting
a few fields from the box in the bottom right corner.
when there's too much info, the 'up' and 'down' sort
images kinda get smashed all over the place.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
Oh, and the fields with blue link headings
dont sort correctly, becuase the actual values
of the fields are numeric...
click on "Raw" to see the actual data in the database,
click on "Complete" to see the values that have been
looked up
--
PHP General Mailing List (http://www.php.net/)
To unsu
Hello Fabian,
This was very helpful. Thanks for letting me know about this little glitch.
It almost resolves the problem that I was having. Now I no longer get xml
errors. However, I'm not able to output the XML either.
Any suggestions would be appreciated. The updated code is available he
Here is the command.
mysql_query("UPDATE user_polls WHERE uid = '$UserName' AND type = '$type' SET
url = '$file_name'") or die(mysql_error());
Output
You have an error in your SQL syntax near 'WHERE uid = 'Oblivion' AND type =
'music' SET url = 'test'' at line 1
This is SOOO weird.
PLEASE HEL
Hi,
can you tell me same library to play sounds from php and output an audio
stream to the browser.
I'm finding something that build dinamically an swf file (flash) from a
template swf and play an mp3 o wav.
can you tell me something? I've tried some library, bu unsucessfully
--
PHP Gene
Shouldn't it be:
mysql_query("UPDATE user_polls SET url = '$file_name' WHERE uid = '$UserName' AND type
= '$type") or die (mysql_error());
Maybe I'm wrong.
--
Tyler Longren
[EMAIL PROTECTED]
Currently Unemployed
www.noworkfortyler.com
On Tue, 22 May 2001 17:00:35 EDT
[EMAIL PROTECTED] wrote
Hello Peter,
Peter Dudley wrote:
> The problem is in your link URL, where you pass CGI parameters. When XML
> sees the & character, it assumes it's a special character thing such as
> & or ", so it's expecting a semicolon.
replacing it with & fixed the XML error. Thanks!
> http://cupe.ca/ne
I should clarify that I need to determine the number of elements in $j for
each row ($k).
Thanks,
To reply personally, remove all numbers from address.
"Andrew V. Romero" wrote:
> I have a 3d array $ingredientsInfoSplit[$i][$j][$k] and this array is
> contains $i-row that data (a compounded
The SET clause has to come before WHERE clause - Russ
---
Toolshed Computer Productions - Professional PHP Hosting
Hosting - Dedicated Servers - Design - Programming
http://www.toolshed51.com
-Original Message-
From: Tyler Longren [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, Ma
First, I realize this isn't really a PHP question.
If I include variables in a URL that I am passing to a web server over
HTTPS, is the URL (and hence, the variables) encrypted?
example: https://www.yourdomain.com?firstname=michael&lastname=conley
I need to make sure that the firstname and last
Variables as part of the url would not be encrypted, but you could send
variables as POST to the secure document and then they would get encrypted -
Russ
---
Toolshed Computer Productions - Professional PHP Hosting
Hosting - Dedicated Servers - Design - Programming
http://www.toolshed5
Hello,
I was wondering if there is a way to match a pattern, then delete the entire
line containing the pattern. I.E. (if I was searching for "pattern" in a
file containing
pattern:info:info:info
pattern2:info:info:info
pattern3:info:info:info
is there a way to delete the entire, and only the
Hi..
maybe you could help me, I want to make an FTP but whithout Ftp_open and all
those functions, is there any way???
tx
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
--
PHP General Mailing L
Looks like this may be in wrong order:
url = '$file_name'")
^
I think you have " ' when it should be ' "
> Here is the command.
>
> mysql_query("UPDATE user_polls WHERE uid = '$UserName' AND type = '$type'
SET
> url = '$file_name'") or die(mysql_error());
>
> Outp
I can think of 2 options, neither pleasant. On unix you can write a script
for ftp to use and put a .netrc in your home dir with a line like this
machine login password
and that will make it automatically connect. So you could write script to
do things like get a file listing and fetch files
Correct, SET must be before WHERE.
Joseph
CollegeSucks.com
-Original Message-
From: Tyler Longren [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 22, 2001 4:04 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] mysql error, dont see why.. please help
Shouldn't it be:
m
On Mon, 21 May 2001, Alexander Wagner wrote:
>Michel 'ZioBudda' Morelli wrote:
>> Hi, I want to save into a variable ($tmp) the value of
>> highlight_string command. Any one? or any similar function?
>
>Have a look at PHP 4's output buffering functions. You can use them to
>safe the output instea
On Tue, May 22, 2001 at 02:04:43PM -0700, Andrew V. Romero wrote :
> I should clarify that I need to determine the number of elements in $j for
> each row ($k).
>
> Thanks,
> To reply personally, remove all numbers from address.
Just a note: to receive mail post your real address.
- Markus
When ever I am trying to access a php file with an error,my system is
overwelmingly slowing down and restarting is the only solution.
Previously I worked on linux/apache/php 4.0/mysql ,I never had such
problem.I used to get some errors and I used to correct them but working in
this environment is
Hi all,
I'm having the following problem. I have PHP-4.0.5 staticaly compiled
with apache 1.3.19, running on a red hat linux with a 2.2.12 Kernel.
The following script does not work the second time called, the browser
just "hangs" and returns a "this document is empty" after a while. I am
gettin
I have some field error checking going on ... and when a user (say) doesn't
fill in a field correctly, my error page comes up telling them. They then
must click on their browsers button and make the changes.
Now -- I have a password field, and when they click back, they are forced to
re-enter t
This link
Back
will work on javascript enabled machines...
the truly failsafe way is to stuff their data in a session or in the
database and pass an id back to the original script.
You can also make your form to fill out a seperate file, which your first
script includes, and if there is a data e
calling session_register() on a var that is allready registered is asking
for trouble. there seems to be some bug in php concerning this.
";
?>
will work better for you I hope. please get back to me regarding how this
worked out.
--
Chris Lee
[EMAIL PROTECTED]
"Robert Schaller" <[EMA
At 22.05.2001 23:27, you wrote:
>I have some field error checking going on ... and when a user (say) doesn't
>fill in a field correctly, my error page comes up telling them. They then
>must click on their browsers button and make the changes.
>
>Now -- I have a password field, and when they clic
Não presta!
I must call from several different HTML pages. Script1 + script2 or
script1+script3 and even script2+script3, depending upon the page.
""Valter Santos"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
>
> Hi!
>
> use script1.php only to call the
I think your mising the point. I use classes to create more modular code, I
find it keeps my code structured and easy to modify for other sites. I can
have a class for one site, I can then copy that class and easily modify it
to suit for another site. I do not use my classes for storeing data (ie.
I want to be able to do this:
function f_of_A( &$vara ){
$var +=1;
}
function f_of_B( &$varb ){
$var %=3;
}
function do_both( &$vara, &$varb ){
f_of_A( $vara );
f_of_B( $varb );
}
$gvara=some_number;
$gvarb=some_other_number;
do_both( $gvara, $gvarb );
and have the original, global v
your close.
the '&' goes in front of the variable being given, not in the function args.
--
Chris Lee
[EMAIL PROTECTED]
"Dennis Gearon" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I want to be able to do this:
>
> function f_of_A( &$vara ){
> $
ooops, had a typo, sorry ..
Dennis Gearon wrote:
>
> I want to be able to do this:
>
> function f_of_A( &$vara ){
> $var +=1;
> }
>
> function f_of_B( &$varb ){
> $var %=3;
> }
>
> function do_both( &$vara, &$varb ){
> f_of_A( $vara );
> f_of_B( $varb );
> }
>
> $gvara=some_numbe
Since I want to use a feature that is only in 4.0.6, I'm trying to
install from CVS. This fails with the following error:
[root@rakete php4]# ./buildconf
buildconf: checking installation...
buildconf: autoconf version 2.13 (ok)
buildconf: automake version 1.4 (ok)
buildconf: libtool version 1.4 (
I am running PHP 4.0.5 on Windows 2000 with SQL server databases.
If there is an error with my PHP code, my computer becomes very very slow
and nothing works. The PHP
process is using 99 % of the CPU. So I have to restart the computer. This
happens everytime there is an error in
my PHP code. For
php-general
i'm a beginner of PHP, i use PHP4.05 of win32, i don't know MySQL or the others
but dBase, so i use dBase function. but when i use the function
dbase_replace_record(). the record can't replace with what i want, but with NULL.why?
the other functions can work well. i think it mus
On Wed, May 23, 2001 at 12:31:02AM -, [EMAIL PROTECTED] sat at the
'puter and typed:
> Hi! This is the ezmlm program. I'm managing the
> [EMAIL PROTECTED] mailing list.
>
> Oops, that confirmation number appears to be invalid.
>
> The most common reason for invalid numbers is expiration. I
I would like to know if any one has heard of a software called Merlin
Server for Linux (Red Hat 6.0) - http://www.abriasoft.com
Merlin server is a complete web development and production server that
provides a robust deployment environment for interactive, database driven
websites. Merlin Serv
Hey all,
Just was wondering if anyone knew what was used to make the php manuals
in the windows help format (.chm), I really like them :-)
Regards,
Joseph.
--
BoldFX / Binary Logic
The Logical Choice
750 Port Road Beverley 5009
Ph: (08) 8244 1800 Fax: (08) 8244 1811
mailto: [EMAIL PROTECTED]
Why? We have the manuals in two truly portable formats, HTML and PDF, not
to mention on-line, annotated HTML.
Miles Thompson
At 10:37 AM 5/23/01 +0930, Joseph Blythe wrote:
>Hey all,
>
>Just was wondering if anyone knew what was used to make the php manuals in
>the windows help format (.chm), I
Miles Thompson wrote:
> Why? We have the manuals in two truly portable formats, HTML and PDF,
> not to mention on-line, annotated HTML.
> Miles Thompson
Because I already have enough browser windows open and I find the
windows help format a lot better as it is easily searchable and also has
Hi all,
Can PHP be used as a general scripting language other than in web?
Has anyone did this before?
I would like to embedded some kind of scripting in application developed using C
or C++.
I don't want to learn a new language. I already know PHP and like the syntax and
style :)
Any hint or p
Yes it can. If you are compiling yourself you can use configure without
specifying any webservers (i.e. Apache, Netscape, etc) and a binary called
"php" will be generated after you build.
> -Original Message-
> From: Chatchawan Boonraksa
> [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May
Ok, use your imaginations and visualize what I'm trying to do with this, because I'm
not quite sure how to explain it. Anyway, I'm trying to have a script that says when
THIS_VAR and THAT_VAR are a certain number it show something. I'm not quite sure how
to do that without making yet another va
What's wrong with doing it like
if ($date == 24) {
if ($hour == 3) {
do something
}
}
??
-Original Message-
From: chris herring [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 23, 2001 12:58 PM
To: [EMAIL PROTECTED]
Subject: [PHP] "IF" statements
Why doesn't work?
$date = 24;
$hour = 3;
if ($date == 24 && $hour == 3) { echo 'works'; }
If does not print you 'works': the sky will crash to the ground.
I think you just got confused elsewhere in your code.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PH
"chris herring" <[EMAIL PROTECTED]> wrote:
> if ($date == 24 && $hour == 3) { }
>
> But that doesn't work... Any help is appreciated
Your logic is correct. If the code within the braces isn't working it's
likely there's either an error in the code within the braces or $date and
$hour aren't ret
Stig -
Thanks for the help. I've been working to narrow it down and it turns out
that the openldap 2.0.7 (and 2.0.9) will open SSL connections with sslv23 by
default. Apparently there is no way to choose another SSL protocol from the
openldap client or php's ldap functions. (Ref tls.c in the open
Can anyone help?
Here is my problem, I am submitting a lot of hidden variables using a and they
come over padded with a space on the left.
I know that I can trim() them but in case I am working with that might be more trouble
then its worth. This does not happin on another installation of P
Can anyone help?
Here is my problem, I am submitting a lot of hidden variables using a and they
come over padded with a space on the left.
I know that I can trim() them but in case I am working with that might be more trouble
then its worth. This does not happin on another installation of P
On Wed, May 23, 2001 at 10:37:06AM +0930, Joseph Blythe wrote:
> Hey all,
>
> Just was wondering if anyone knew what was used to make the php manuals
> in the windows help format (.chm), I really like them :-)
The manual is availabe in chm in several languages.
http://www.php.net/docs.php
Ma
On Wed, 23 May 2001 15:03, Thomas O'Neill wrote:
> Can anyone help?
>
> Here is my problem, I am submitting a lot of hidden variables using a
> and they come over padded with a space on the left. I know that
> I can trim() them but in case I am working with that might be more
> trouble then its w
Matt McClanahan wrote:
> On Wed, May 23, 2001 at 10:37:06AM +0930, Joseph Blythe wrote:
>
>> Hey all,
>>
>> Just was wondering if anyone knew what was used to make the php manuals
>> in the windows help format (.chm), I really like them :-)
>
>
> The manual is availabe in chm in several lan
I'm trying to figure out how to add to the year:
for($x=0; $x<20; $x++)
{
$year = date("Y" + $x);
print($year . "\n");
}
I've tried several variations on the above and cannot get the year to come
out.
Any suggestions?
Thanks
Jason
--
PHP General Mailing List (http://www.php.net/)
T
On Wed, 23 May 2001 08:26, LESM wrote:
> Não presta!
>
> I must call from several different HTML pages. Script1 + script2 or
> script1+script3 and even script2+script3, depending upon the page.
>
>
What about using a conditional include, depnding on the value of, say the
refering page, or a hid
Try that.
Tyler
> -Original Message-
> From: Jason Caldwell [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 22, 2001 11:20 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Date (Year) .. adding..
>
>
> I'm trying to figure out how to add to the year:
>
> for($x=0; $x<20; $x++)
> {
> $ye
On Wed, 23 May 2001 13:49, Jason Caldwell wrote:
> I'm trying to figure out how to add to the year:
>
> for($x=0; $x<20; $x++)
> {
> $year = date("Y" + $x);
> print($year . "\n");
> }
>
> I've tried several variations on the above and cannot get the year to
> come out.
>
> Any suggestions?
>
> Matt McClanahan wrote:
>
> > On Wed, May 23, 2001 at 10:37:06AM +0930, Joseph Blythe wrote:
> >
> >> Hey all,
> >>
> >> Just was wondering if anyone knew what was used to make the php
> >> manuals
> >> in the windows help format (.chm), I really like them :-)
> >
> >
> > The manual is a
How do I display a Images that is fetche from an email.
All I get is a bunch of jarble, how do I solve this
--
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
Note that by using the standalone executable of PHP I don't know of anyway
to invoke PHP without first creating a file with the script in it. So you
can't pipe a dynamically created script directly into PHP. You have to use
an intermediary file.
I imagine there is a way to make it work, but I don
Hello Everybody :-)
I've been trying to figure something out, but just cant find the right
answer.
I need some code to check that the page is being viewed from a specific url.
EXAMPLE: Not just http://www but https://www1 if it is https://www1 then
show the page otherwise echo a message.
The re
Hey
How can I add a certain number of whitespace chars to a text file?
I write variables to a text file and I want to seperate them by certain numbers of
whitespace chars
eg : $var(40 whitespace)$var2(10 whitespace)
TIA
Wade
On Wed, 23 May 2001 15:44, Wade Halsey wrote:
> Hey
>
> How can I add a certain number of whitespace chars to a text file?
> I write variables to a text file and I want to seperate them by certain
> numbers of whitespace chars
>
> eg : $var(40 whitespace)$var2(10 whitespace)
>
> TIA
>
> Wade
/man
Previously, Jason Caldwell said:
> There's a setting in the PHP.INI file called [Mail Function] - SMTP
> Can I programmatically set this? Or, am I for now restricted to this .INI
> entry?
ini_set("SMTP", "smtp.server.name");
ini_set("sendmail_from", "[EMAIL PROTECTED]");
-d
--
What was the be
Just wondering if anyone has come across a collection of weird and
wonderful stuff done with PHP. I have a site which people have the option
to display strange things whenever they log in, and currently I have a
random quote generated from the fortune script on FreeBSD, plus a weird
script whi
Previously, Dennis Gearon said:
>
> ***AND*** getting the certificate to work for it?
> My provider that runs php/mysql/etc only lets people use SSH connections
> for telnet, which I agree with.
As others have mentioned, PuTTY is the way to go. You can use key files
with it, or passwords (or b
Previously, Joseph Bannon said:
> I'm installing PHP on a sun box and when type in "make" and i get "not
> found". How can I run make if it's not found?
make is usually in /usr/ccs/bin/
However, you probably have no compiler (unless you bought one from Sun).
Try typing "cc" - if you get the "sof
f
Sorry. My emails is acting wierd. This is a repost. The suggestion was there is a
clock problem. My clock is right. Could it be cause by a time zone difference?
original message -
I have set up a user login so that it will assign a cookie for one hour -
setcookie("cookie_id", $id, time
Hi Jon,
Dealing with expiry dates and cookies is often a PITA!
Rasmus suggested a way around this a few weeks ago - here is a rehash of
what he said:
Do this:
setcookie ('expiry', time ());
This call will have created a session cookie - this means that the session
will expire when the browser
Previously, Zef Hemel said:
> $string = preg_replace("/[\\\*\+\-;]/s","",$string);
>
> I think, you might have to escape the ; too
You don't need to escape * or + inside a character class since they don't
have a special meaning inside a character class.
You will need to use '' to match a ba
Jason Lotito wrote:
> Joseph,
>
> I was actually about to type back in response explaining to everyone
> that you asked WHAT was use to make the .chm files. You must forgive my
> colleagues, they sometimes forget to actually read the email, rather
> than just scan the email for common key word
metacharacter.
- Original Message -
From: "Dennis Gearon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: 2001. május 22. 09:34
Subject: [PHP] regex
> Is a '.' inside of a [] a literal '.', or a 'any character'
> ?
> --
> --
hello,
I'd like to know if there is a more elegant and smoother way to retrieve some array
elements with given keys and put them into an other array.
Yes, I can write a function like the following, but maybe I missed some new PHP
awesome feature or array function which does this job.
So, is the
Thanks for your fast reply.
One more question related to this topic.
Would it be valueable to extend the existing array_values() function to support this
feature?
just to balance with array_keys() and its optional value argument.
- Original Message -
From: "Markus Fischer" <[EMAIL PROTE
On Wed, May 23, 2001 at 12:06:42AM +0200, Gyozo Papp wrote :
> function array_part($fromarray, $keys)
> {
> foreach($fromarray as $key => $val)
> {
> if (in_array($key, $keys)
>$anotherarray[$key] = $val;
> }
> return $anotherarray;
> }
foreach( $keys as $key)
On Wed, May 23, 2001 at 12:27:04AM +0200, Gyozo Papp wrote :
> Thanks for your fast reply.
> One more question related to this topic.
> Would it be valueable to extend the existing array_values()
> function to support this feature? just to balance with
> array_keys() and its optional value argum
101 - 182 of 182 matches
Mail list logo