php-general Digest 31 Dec 2001 07:50:30 - Issue 1083
Topics (messages 79066 through 79095):
Re: Session troubles
79066 by: Sean LeBlanc
how long will REGISTERED GLOBALS be around?
79067 by: PHP freak
79086 by: Brian Clark
79090 by: PHP freak
79091 by
OK, here is a little more data:
my system is running redhat (i386 )6.2 with glibc 2.1.3
I have the latest jdk 1.3.1 from java.sun.com
Tomcat seems to load and set up my php servlet context just fine:
XmlMapper: pop org.apache.catalina.core.StandardWrapper
XmlMapper: org.apache.catalina.core.Stan
other than putting the 'next question' link too far from the question
selection zone, this is a cool php site.
http://verticalmove.bpnetworks.com/module.php?jobID=68689&modNum=13
--
-
Look lovingly upon the present,
for it holds the
I came across an application "sourcewell" and it requires PHPLib.
My server has php4 on it. I never played with php3 before (dont know if
I want to), and I didn't see anything in its docs about php4
Is it possible to run this thing on a box with php4??
Thanks
--
PHP General Mailing List (htt
Thanks so much guys,
It was my user permissions all along. Funnily enough the book
gives you guidelines on how to set them up, and sets up a fair
few... but for some reason they selected the wrong user to use.
Thanks very much for your help David and Brian- much appreciated.
Yours,
GF
* PHP freak ([EMAIL PROTECTED]) [Dec 30. 2001 21:45]:
> Think of how many PHP-CURIOUS people it'd turn off if you could ONLY do it with
>$_REQUEST["myname"]
Hell, I have to admit, that is pretty darn ugly.
--
Brian Clark | Avoiding the general public since 1805!
Fingerprint: 07CE FA37 8DF6 A1
For what it's worth - casting my vote - I would vote that the PHP/Zend people keep
REGISTER_GLOBALS as an option for one main reason:
NEWBIES!
Think of how nice it is for the total newbies to be able to have this first tutorial:
what is your name?
Think of how many PHP-CURIOUS people i
I almost forgot add a or mysql_error() for each line like this:
This will return "human readable error messges"
Can you onto mysql database from command.
mysql -u root -p mysql
or mysql -u root mysql # A root password isn't usally get during install.
if so:
>select user,host,password from user;
* GoodFella ([EMAIL PROTECTED]) [Dec 30. 2001 21:10]:
> Thanks for the quick reply. I used the PHP manual example and it connects
> to the database successfully but cannot select the database.
So you are using this line:
> > mysql_select_db("booktest");
Correct? What does the server "say" i
* Carlos Fernando Scheidecker Antunes ([EMAIL PROTECTED]) [Dec 30. 2001 21:11]:
> So, let's say I have 12 for month, 30 for day and 2001 as year. Do I have to create
>a timestamp? How to create a
> TimeStamp?
strtotime() can convert it into a unix timestamp.
> I need to store it as 30/12/2001
* PHP freak ([EMAIL PROTECTED]) [Dec 30. 2001 15:01]:
[...]
> In ONE place it says something like "We have no plans to discontinue
>register_globals", but in another place it says it might be
> discontinued or devalued soon.
I take it as being depreciated and as something we're all going to ha
Hello All,
I would like to convert integers like the day, month and year to a date representation
to store it in a session variable.
There's a form where the user posts day, month and year. So then I run
checkdate($month,$day,$year) and make sure the date is valid.
So, let's say I have 12 for
* John Weez ([EMAIL PROTECTED]) [Dec 30. 2001 03:23]:
> I have a small program which captures the output of a webpage and puts the
> data in to a string variable.
> I then use teh strip tags function of php to clean it up a bit.
> then i want to use regular expressions to extract all the numbers
Hiya,
Thanks for the quick reply. I used the PHP manual example and it connects
to the database successfully but cannot select the database.
I'm not sure why this is? I've looked hard at it and I cannot see where I have
gone wrong.
Thanks.
GF.
- Original Message -
From: David Jack
Here's the example from the PHP manual:
The tutorial here are very helpfull:
http://www.melonfire.com/community/columns/trog/
-- David
\n";
while ($line = mysql_fetch_array($result, MYSQL_ASSOC)) {
print "\t\n";
foreach ($line as $col_value) {
print "\t\t$col_value\n";
}
* Todd Cary ([EMAIL PROTECTED]) [Dec 30. 2001 19:22]:
> I did "tar -xzvf /usr/src/redhat/SOURCES/php-4.0.6pl1.tar.gz" which
> created a directory /tmp/php-4.0.6. I cd'd into that directory and did
> a ./configure --with-interbase=/opt/interbase
> --with-apache=/usr/include/apache
Are you sure t
Hello,
I am extremely new to MySQL and have never managed to get working
smoothly with PHP before. I am trying really hard to understand
how to work it, and am almost there.
I have a problem which I do not know how to resolve and was
wondering if anybody could help me. I have no idea what is wro
I have released version 3.0 of my KISGB.
KISGB is a PHP guestbook program that does not require sessions, cookies, or
an rdbms. Can be Public or Private through HTTP Authentication. Automated
install script, fully customizable, clean, and fast. Separate multiple
logging capabilty for tracking any
Gaylen wrote:
> Check the validity of the link.
This is inherent to the process -- no need to worry - you just have to include
some error fallback code in the process.
> Check the size. If less than a particular size, then PHP will
> resize/resample it and display a stndard Avatar sized icon.
Hi,
In your SQL, you can say
select t1.col colt1, t2.col colt2
from table1 t1, table2 t2
where t1.something = t2.samething
In other words, you can name your columns differently in your select clause.
I
Bogdan Stancescu <[EMAIL PROTECTED]> wrote: If everything else fails, you should consider
u
Why do you need word specifically? I personally had a hard time with PHP in the
beginning exactly because I migrated from the Turbo Pascal/Dephi environment.
Just learn how to deal with the new environment: use larger data types and
shift right the byte in order to create a word and use logical "a
If everything else fails, you should consider using mysql_fetch_row() instead.
Bogdan
Greg Sidelinger wrote:
> Ok I have use mysql_fetch_array to dump the results of a select query with a
> join in it.
> if my tables contain a column with the same name how can I distinguish from
> them.
--
P
Coming from a Windows background, I am having difficulty understanding
rpm's, compiling, and making packages. My hope is that someone will
have the patience to take me through the steps, since the HowTo's are
out of date and do not address my current Red Hat 7.2 environment.
With Red Hat 7.2 ins
Ok I have use mysql_fetch_array to dump the results of a select query with a
join in it.
if my tables contain a column with the same name how can I distinguish from
them. I'm used to
table_name.value method in other languages but when I tried
$row['table_name.value'] I don't get any values.
can a
Hello all,
I'm trying to convert a function done in Delphi (pascal) to PHP. This
function is part of simple text encryption/decryption method. However, I
have a really hard time to make this work in PHP. This is the Delphi code:
Function RotateBits(C: Char; Bits: Integer): Char;
var
SI : Word;
Has anybody succesfully installed all graphic libraries on windows platform ? Maybe
you can sent me some links for step by step installation or help any way ?
Thnx
If you're really serious about implementing this, it can be done using socket
functions and basically creating a crippled browser's functions to only retrieve
files.
If you want to go on in this direction, I'm able to help -- just let me know
what details you need.
Bogdan
Gaylen Fraley wrote:
Obviously, including an image from another page can be accomplished with an
HTML tag. However, it seems that there are some inherent issues with doing
this.
How do you keep someone from linking a hi-res image and causing your browser
to take forever to return, if you're on a dial-up? Is there s
Hey guys. Any insight into this problem im experiencing would be much appriciated...
I installed some software on my web space a while back, I ran a script and it
extracted some files from a tar ball I had uploaded. This was all designed to make
the package easy to install and set up. The id
About PHP 4.1
What I can't tell from the PHP announcement is how long they plan to keep
register_globals around.
In ONE place it says something like "We have no plans to discontinue
register_globals", but in another place it says it might be
discontinued or devalued soon.
It'd be a REAL drag
On 12-29 22:27, David Jackson wrote:
> Sean --
>
> Does you standard (non session) seem to work ok? Such as:
> // basic echo of var from form
> echo "We've just echoed var from form\n";
> echo "$stuff";
> echo "$more_stuff";
> echo "$still_more_stuff";
> ?>
Yes, this works fine. I should have s
php-general Digest 30 Dec 2001 17:22:27 - Issue 1082
Topics (messages 79043 through 79065):
Re: could not create new mailbox: Permission denied
79043 by: Brian Clark
Quiz script
79044 by: Indera
79046 by: Bogdan Stancescu
Re: Which is which??
79045 by: Bria
Thanks George...that did the trick...sometimes I want to smack myself for
not seeing the obvious. Thanks for the help.
-Jordan
George Nicolae <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> the mail function looks like : mail($to,$subject,$body) ("in a simpl
I am not sure if this is the problem. but why don´t just do something like
this:
DirectoryIndex index.html index.php index.cgi
Search the httpd.conf, there is surely already for the index.html ! ;)
Ehm, yeah, and this is one is ordered in priority from the left to right ..
Hope it helps !
Cya
you can make .htacces file and put
DirectoryIndex /index.php
That will work
- Original Message -
From: Caleb Carvalho <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: 30. prosinac 2001 10:40
Subject: [PHP] index.php
> Hi all,
>
> all the sudden my apache 1.3.22 is not showing my ind
well... a good first step is to think about what has
changed with your configuration. did you turn on
any output handlers/buffering? Compile a new
version? Modify apache in any way?
> -Original Message-
> From: Caleb Carvalho [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, December 30, 20
Hi all,
all the sudden my apache 1.3.22 is not showing my index.php page
php-4.0.6, i have added the addtype .php inside httpd.conf
not only that, i have also noticed that the is not
working also, this is not displaying the test page,
I am using netscape as a browser, do you guys know about a
Hi all
I have a small program which captures the output of a webpage and puts the
data in to a string variable.
I then use teh strip tags function of php to clean it up a bit.
then i want to use regular expressions to extract all the numbers from the
page ..they are like this usually numbers.nu
38 matches
Mail list logo