Hi there,
I am trying to find out how to get the local date in a format conform to
this: 2002-03-15.
The following code is a try, but it does not work like I want:
$local_time = localtime(time() , 1);
echo "Date: " .
$local_time[tm_year].'-'.$local_time[tm_mon].'-'.$local_time[tm_mday];
Return
date("Y-m-d");
Niklas
-Original Message-
From: Andy [mailto:[EMAIL PROTECTED]]
Sent: 5. maaliskuuta 2002 9:59
To: [EMAIL PROTECTED]
Subject: [PHP] How to get the local date formated like this: 2002-03-15
Y2K Problem
Hi there,
I am trying to find out how to get the local date in a fo
It's late, I'm tired.
I want to parse $searchenquiry
if("%" exists in $searchenquiry)
{
do ...
}else{
do ...
}
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hy list,
I'm currently writing an application to edit and send our customer news-
letter. The interface and the template engine which will put the
content into text or html templates is ready and working. Now I'd
love to extend the system to automatically generate content lists.
The html newslet
Help me, I want create directory on local disc in php script, do you know
how ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Do you have manual at all? Download it from www.php.net.
The function ereg() is your answer.
Niklas
-Original Message-
From: jtjohnston [mailto:[EMAIL PROTECTED]]
Sent: 5. maaliskuuta 2002 10:29
To: [EMAIL PROTECTED]
Subject: [PHP] exists?
It's late, I'm tired.
I want to parse $sear
Perhaps something like this:
if(strpos($searchenquiry, "%"))
{
do
}else{
don't
}
/Joakim
> -Original Message-
> From: jtjohnston [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 05, 2002 9:29 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] exists?
>
>
> It's late, I'm tired.
> I
mkdir()
http://www.php.net/manual/en/function.mkdir.php
> -Original Message-
> From: Roman Duriancik [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 05, 2002 9:45 AM
> To: PHP-General
> Subject: [PHP] Directory
>
>
> Help me, I want create directory on local disc in php script,
> d
Hello all
I have just created a login script that works fine. At the moment I have a
pretty simple (I have coded this but I am trying to keep it simple to
explain what I am after
if login != ok then
generate HTML for error page
else
Generate HTML for ok page.
end;
what I want to do is
if
Hello
Is it possible to put a mysql & php web site on CD or maybe to capture the site
statically to put it onto cd.
thanks
Ivan
Hi there,
I am still lacking of one error the user can provide:
Desired format: .mm.dd
Asuming he enters a date: 2002-02-31 (There is no Feb 31)
Is there a function which check is the date is ok?
Thanx guys,
Andy
PS: I wrote this function which has the whole:
/*
* Validates the format
On Tuesday 05 March 2002 17:27, Andy wrote:
> Hi there,
>
> I am still lacking of one error the user can provide:
>
> Desired format: .mm.dd
>
> Asuming he enters a date: 2002-02-31 (There is no Feb 31)
>
> Is there a function which check is the date is ok?
Try checkdate()
--
Jason Wong ->
First but may be not probably the best decision is to use (gm)strftime() and
(gm)mktime().
So parse your string put the data into mktime() with hour/minute/second for exmaple
12,0,0 . Strftime() will return a unix
timestamp.
Use that timestamp with strftime() to get the year,month and date. If t
However,
the value cannot transfer by this method.
I want the value transfer to a txt file ,although it is not completed
--
?
http://fansing.hk.st/
ACG(!)
http://acgzone.hk.st/
"George Whiffen" <[EMAIL PROTECTED]>
???:[EMAIL PROTECTED]
ÁC¬P wrote:
> How can I set a time lim
Hi there,
I am wondering how to make my application more secure.
No I was reading in a mysql book, that chars like ' are bad for db
PHP provides the function addslashes. Is this the way to check for bad
entries a user provides? What happens
if a hacker tryes to delete my db entries with a input
Dnia wtorek 05 marzec 2002 10:34, Jason Wong napisał:
> On Tuesday 05 March 2002 17:27, Andy wrote:
> > Hi there,
> >
> > I am still lacking of one error the user can provide:
> >
> > Desired format: .mm.dd
> >
> > Asuming he enters a date: 2002-02-31 (There is no Feb 31)
> >
> > Is there a fu
How can I use PHP4 module for Apache Win32
_ wai wing hei ICQ#:102663005
Current ICQ status: SMS: (Send an SMS message to my ICQ): +2783142102663005
More ways to contact me: http://wwp.icq.com/102663005
_
--
P
Yes, that can be correct, however:
-You can only submit one form at a time.
- You cannot have 'nested' forms (forms in forms).
bvr.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Download it from www.php.net.
Read install notes, come back when you really need help.
bvr.
hei wrote:
>How can I use PHP4 module for Apache Win32
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi to all,
Im trying to use Apache Web Server from IAS (Oracle) with PHP 4.1.1. in a
Windows NT server.
When I try to load the php modules, apache shows an error that said that I
need to recompile Apache with the flag
-EAPI.
Somody know to do this?
There ara another way to use these libraries wi
Hi,
I have a user auth script. Very simple and works.
when I check the username and password I check it against a select all the
values from the user table where the username and password match. (inputted
from a 2 text boxes)
like so
//sets and runs SQL statement that brings back all info on u
I have people telling me that I MUST put the file before or inside the
header of the .php file I am writing before a script is pulled into my file. I usually
just put the whereever I need it on the page. Actually have it embedded in
an IF statement, so that if the conditions are not met, the
On Tuesday 05 March 2002 20:58, Team GotFusion wrote:
> I have people telling me that I MUST put the file before or
> inside the header of the .php file I am writing before a script is pulled
> into my file. I usually just put the whereever I need it on the
> page. Actually have it embedded in a
Hi,
I'm a bit a newbie at the mysql-php tandem,
but I wanted to ask a pretty basic question
Supose you do
x=mysql_query(/somequery/)
// fetch a row
and then later you do
y=mysql_query(/somequery/)
If you want to fetch the following row for the query in x,
you should probably make the distincti
Hi everybody.
I use a form to upload data to Oracle database using csv file.
I need to display a result page with all the lines who are good and the one
which are bad.
Everything works fine except the little problem of the refresh
If I click on the Explorer Refresh Button I will upload an other
I've solved this kind of problems with three pages:
1. Form
2. Insert / Update data
3. Information about insert / update
Niklas
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 5. maaliskuuta 2002 15:34
To: [EMAIL PROTECTED]
Subject: [PHP] File Upload.
Hi
Hi Roman,
Check out:
http://www.php.net/manual/en/function.mkdir.php
Good luck,
andy
"Roman Duriancik" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED].;
> Help me, I want create directory on local disc in php script, do you know
> how ?
>
--
PHP General Mailing List (http
| -Original Message-
| From: Ivan Carey [mailto:[EMAIL PROTECTED]]
| Sent: Tuesday, March 05, 2002 10:17 AM
| Subject: [PHP] php files on cd
|
| Is it possible to put a mysql & php web site on CD or maybe to
| capture the site statically to put it onto cd.
Hello, Ivan!
Since php
This is exactly how I solve the problem as well, good to know I'm not the
only one with that idea. That must mean it wasn't that bad of an idea.
Dna
-Original Message-
From: Niklas Lampén [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 05, 2002 6:52 AM
To: Php-General
Subject: RE: [PHP] F
Hi, I'm trying to do a script for changing the Linux password of an user in
a web page. I don't know how to implement the command "passwd" in a php
script or to do a shell script which would be invoked by the php script. I
hope someone can help me. Thanks.
Henry Zambrano.
Yes, this is acceptable. Normally, include and require go at the top of the
page out of convention. However, there is no requirement that they be
there. Just be careful. it's an accepted convention because it's a good
idea. Make sure you know what you are doing when you break with the
traditio
Hi there :)
Try something like this:
session register ("user_auth_level");
$user_auth_level = $user_level;
HTH, Joe :)
"Matthew Darcy" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED].;
> Hi,
>
> I have a user auth script. Very simple and works.
>
> when I check the username and
Ammendment:
You'll have to dump that value (the user's level) into a variable called
user_level first.
HTH Joe :)
"Lerp" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED].;
> Hi there :)
>
> Try something like this:
>
> session register ("user_auth_level");
> $user_auth_level = $user
Yep, ordered the manuals from Amazon.com... and they inadvertently shipped
the books to my mom-in-law ha ha. except that she's retired and
computers are still a mystery.
So, I am muddling through with my PHP dev. dictionary until I get to see my
relatives this weekend.
(cheesy smiley) Tami
Hi All!
I use this code to create a number of fields in a form depending on what
input number I use. My problem occurs when i am going to save it. Right now
only the value of the last field gets stored. I want to serialize all values
from all fields so that they can be saved as a stringvalue
i
Hello list,
Sorry for this cross post, I subscribed to PHP and PHP-DB, the PHP list
seems to be receiving about 95% of the traffic so I thought I'd post this
here as well to reach more of the PHP wizards.
I've been stumped on this for a while, I have a large project where I am
storing image data
On Monday, March 4, 2002, at 06:10 PM, Jonathan Duncan wrote:
> I want to make a web site that displays news headlines from my favorite
> news
> sites.
>
The way that you're thinking of doing it (parsing via regexes from other
site's HTML) is the Long Way Around. Why not do it the way the p
On Monday, March 4, 2002, at 07:22 PM, DL Neil wrote:
> The choice comes down to how you are generating the time data prior to
> its storage in the db, and how you plan to use it afterwards. If you are
> going to be doing lots of temporal processing in PHP, then UNIX
> timestamp is the way to g
Hello!
I hope someone can help me with this...it's doin' my head in!
Below I have a class I found for finding out directory sizes. What I have
done is to get the username of each user and their create a directory path
(based on their username - these directories do exist with subdirs).
This w
On Monday, March 4, 2002, at 07:51 PM, Zenith wrote:
> But I wonder if I can check the user account against with the
> /etc/passwd, i.e. use the system accounts.
>
You can do this I think. I just saw an Oreillynet article about it, I
think. If this link doesn't tell you how, then I don't kn
On Monday, March 4, 2002, at 07:59 PM, olev rumm wrote:
> Hello
> How can I monitor how many visitors are currently on line, with out
> refreshing the frame - like a live monitor.
> Olev
I've seen questions like this quite a bit on this list. If you really
think about it, nobody's "logged i
On Tuesday, March 5, 2002, at 06:54 AM, Matthew Darcy wrote:
> $sql_authorisation = "SELECT * FROM account_details WHERE
> account_name='$login_username' AND
> account_password=PASSWORD'$login_password')";
> $sql_authorisation_result = mysql_query($sql_authorisation);
>
> I then register 2 sess
I have tried compling in the VeriSign support for phpI just downloaded
the newest version of the VeriSign SDK, however, after I complie it with
apxs and I restart httpd it will not start. If I removed the --with-pfpro
statment it works fine.
Any ideas?
Michael
--
PHP General Mailing
hHi
$data = serialize($felnummer);
That should do it..
Tom
At 12:58 AM 6/03/2002, Axel Nilsson wrote:
>Hi All!
>I use this code to create a number of fields in a form depending on what
>input number I use. My problem occurs when i am going to save it. Right
>now only the value of the last fi
On Tuesday, March 5, 2002, at 08:08 AM, Jason Wong wrote:
>> Is placing the include at the top absolutely required, good programming
>> convention or just preferred?
>
> Simply put, you can place them wherever you want. Obviously if your
> include
> file defines certain variables then common s
On Tuesday, March 5, 2002, at 09:58 AM, Axel Nilsson wrote:
> I use this code to create a number of fields in a form depending on
> what input number I use. My problem occurs when i am going to save it.
> Right now only the value of the last field gets stored. I want to
> serialize all value
On Tuesday, March 5, 2002, at 02:25 PM, Henry Zambrano wrote:
> Hi, I'm trying to do a script for changing the Linux password of an
> user in a web page. I don't know how to implement the command "passwd"
> in a php script or to do a shell script which would be invoked by the
> php script.
Hello!
I am litle confused about this, so I hope someone could give reply on this
message an give me the right answer.
I am comfortable with the use of session, but lately when I have surf
around, I have found some documents/tutorials about saving Objects/classes
in session. It's here I am begin
Instead of serialize(), you could also fix your existing code like this:
";
}
?>
Or
";
}
?>
bvr.
> for ($i=0; $i<$HTTP_GET_VARS['num']; $i++)
> {
> echo "felnummer ";
> }
> ?>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.ph
You might want to try setting up an LDAP, kerberos, or NIS system before
using the passwd and shadow file. There are some security issues that you
might not be aware of...
Ray Hunter
Firmware Engineer
ENTERASYS NETWORKS
-Original Message-
From: Erik Price [mailto:[EMAIL PROTECTED]]
S
# passwd -?
Usage: passwd [OPTION...]
<...>
--stdin read new tokens from stdin (root only)
<...>
bvr.
Henry Zambrano wrote:
> Hi, I'm trying to do a script for changing the Linux password of an
> user in a web page. I don't know how to implement the command
> "passwd" in a
How about:
while ($mydata = mysql_fetch_object($news))
{ $mydata->AUS = str_replace(" ;", ";", $mydata->AUS);
$mydata->AUS = str_replace("; ", ";", $mydata->AUS);
$tempauthors = explode(";", $mydata->AUS);
foreach ($tempauthors as $singleauthor)
> -Original Message-
> From: Nick Wilson [mailto:[EMAIL PROTECTED]]
> Sent: 01 March 2002 17:30
> To: PHP-General
> Subject: Re: [PHP] include() and paths
>
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
>
> * and then Nick Winfield declared
> > I didn't catch the first part
Hi Guys,
I allready posted this question in detail but I believe I didn't explain it properly.
There are 2 hidden variable in my FORM.
1. order = 10 and 2. order=20
I want to retrieve both the orders in the next page say somename.php. How do i do
that.
Regards,
karthikeyan.
Yes I did use $HTTP_POST_VARS but it removes duplicate values. Say if
there are two hidden variables
1. order= 10
2. order= 20
I get order=20 the last one but i want both. I need both.
Regards,
karthikeyan.
- Original Message -
From: Jason Wong <[EMAIL PROTECTED]>
To: <[EMAIL PROTEC
Hi,
I am trying to connect to the database like this:
$db=mysql_pconnect("localhost", "clark", "clark")
while in mysql do the following:
>grant all on * to clark identified by 'clark';
And I cannot connect to the DB unless I use root
in my php. Actually it seems to connect under
'clark' but
Call me silly, but I would just call the hidden values:
$order1 and $order2
Did I miss why they both must be called order?
On Tue, 5 Mar 2002, karthikeyan wrote:
> Hi Guys,
>
> I allready posted this question in detail but I believe I didn't explain it
>properly.
>
> There are 2 hidden
I'm retrieving data from a data service.
This is the ENTIRE source code of the URL they let me receive:
RHAT
6.82
3/4/2002
3:59pm
0.32
6.59
6.99
6.53
932400
How can I insert the data values into an array ?
Thanks
Craig ><>
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net
"Karthikeyan" <[EMAIL PROTECTED]> skrev i melding
002601c1c461$cfa08580$0600a8c0@aspire006...">news:002601c1c461$cfa08580$0600a8c0@aspire006...;
Hi Guys,
I allready posted this question in detail but I believe I didn't explain
it properly.
There are 2 hidden variable in my FORM.
1. order
Change the grant to:
grant all on * to clark@localhost identified by 'clark';
Then do a:
flush privileges;
> I am trying to connect to the database like this:
>
> $db=mysql_pconnect("localhost", "clark", "clark")
>
> while in mysql do the following:
>
> >grant all on * to clark identified b
This may seem a bit unorthodox but I am wondering if there is a simple way
to take an existing web site done in mostly html and wrap that code in php
so that when a user goes to view source they get nadda... Remember I said a
"simple way". Thanks in advance.
Jas
--
PHP General Mailing List (h
No.
Wrapping in PHP or any other scripting language won't hide the HTML from the
user. For the browser to render it, you HAVE to send the HTML to the
browser.
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: jas [mailto:[EMAI
Hi, I'm finishing a log script which determines what country the
visitors come from via language settings in the browser. Now I need to
transfer those letters (e.g. en-us, es, fr etc.) to full names (e.g.
England, France etc.). Do you know where I can find an index-file that I
can use to make full
"Stefan" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED].;
> i wrote a php uploadscript and it works fine till the file is not larger
> then 7.5mb.
> is set the max upload file size in the upladfrom as well as in php.ini to
> 100mb. but it still doesn't work!
> system is linux red hat
Hi all,
I currently trying to get RSA encryption working in PHP and have
came up against a few issues that i hope somebody on here will be able to
help me with.
Basicly i have it mostly working and am able to generate keys OK
and i can also encrypt/decrypt data that will fit into
Append '[]' to the field name, e.g.,
order[] = 10
order[] = 20
Then process the submitted field as an array.
Kirk
> -Original Message-
> From: karthikeyan [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 05, 2002 9:18 AM
> To: Jason Wong
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] F
All the output is generated from one big while loop. If some records
have all the information displayed properly, so should the other
records. I also checked the HTML output, everything seems all right.
I am really puzzled. Below is part of my script that display the records.
The script shows ever
The International Standards Organization may be your best bet. It maintains
lists of countries and country codes which can be cut and pasted. Try
searching for "ISO language code" or "ISO country code"
Miles Thompson
At 05:22 PM 3/5/2002 +, SED wrote:
>Hi, I'm finishing a log script which
Hi Thanx,
---
>
>
>
>
> On the nest page you just do
>
> echo "The first order is ".order[1]." and the second order is ".order[2];
--
But that is what I cannot do. I cannot change the name of the order to
order[1] because that form is not in my control.
I want both the o
Hello, all!
I have one problem i can't bild php --with-gdbm support.
I have it on my Linux: gdbm-1.8.0-10
and during install there are no errors, but when i try use function in
my program (dbmopen(), dblist().) PHP write that it is undefined
function.
Thanks!
--
PHP General Mailing List
When you say accessing, how do you mean?
Access the file system? Access a service running on the Mainframe?
Please be a little more specific
Andrew
- Original Message -
From: "Sridhar Moparthy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, March 05, 2002
Ok I have a question that i havent seen a tutorial on... How would I go
about making an included file check the host before executing? I want to
make sure that any files I use as included in a php document verify the
request is coming from a valid script on the same server for instance.. Is
this
http://www.php.net/manual/en/language.variables.predefined.php
$HTTP_HOST
Contents of the Host: header from the current request, if there is one.
$HTTP_REFERER
The address of the page (if any) which referred the browser to the
current page. This is set by the user's browser; not all browsers w
Thank you Andrew for the reply!
Actually I have requirements for booth. I also have a requirement to access
the DB2 databases and VSAM files if possible.
Thanks Again
Sridhar
-Original Message-
From: Andrew Brampton [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 05, 2002 1:41 PM
To:
Here you go:
www-old.ics.uci.edu/pub/ietf/http/related/iso639.txt
--- Miles Thompson <[EMAIL PROTECTED]>
wrote:
> The International Standards Organization may be your
> best bet. It maintains
> lists of countries and country codes which can be
> cut and pasted. Try
> searching for "ISO lang
I am relatively new to PHP but have had some background in OOP. I am having some
trouble with a method that for a certain class. The problem is that I can seem to
read my objects from an array that I am storing them to. I keep getting the error
"Call to a member function on a non-object". I
It's not possible to include() a remote file so there may be little
point to this. However maybe you want to keep users on your system from
including the file in their scripts. In that case I suppose you could
set $PHP_SELF (of the main script) to a temporary variable for checking
in the include
Joshua E Minnie wrote:
> while(!feof($fp)) {
> $temp = fgetcsv($fp, 1024, ":");
> $event_list[$i] =
>$event_object->init($temp[0],$temp[1],$temp[2],$temp[3],$temp[4],$temp[5],$temp[6],$temp[7],$temp[8]);
> $i++;
> }
Without seeing more of the code, I can't say for certain, bu
Having a quick search through the PHP manual, I find this little note:
(This is not to be confused with IBM's DB2 software, which is supported
through the ODBC functions.)
So I guess DB2 is supported via the ODBC functions..
As for the VSAM, I find no mention of it in the manual.
Just have a se
That is impossible.
If you want to store two values you will need two variables!
William.
El mar, 05-03-2002 a las 11:21, karthikeyan escribió:
> Hi Guys,
>
> I allready posted this question in detail but I believe I didn't explain it
>properly.
>
> There are 2 hidden variable in my FOR
Michael Kimsal wrote:
> Joshua E Minnie wrote:
>
>
>
> > while(!feof($fp)) {
> > $temp = fgetcsv($fp, 1024, ":");
> > $event_list[$i] =
$event_object->init($temp[0],$temp[1],$temp[2],$temp[3],$temp[4],$temp[5],$t
emp[6],$temp[7],$temp[8]);
> > $i++;
> > }
>
>
> Without seeing more
On Tuesday, March 5, 2002, at 11:21 AM, karthikeyan wrote:
> I allready posted this question in detail but I believe I didn't
> explain it properly.
>
> There are 2 hidden variable in my FORM.
>
> 1. order = 10 and 2. order=20
>
> I want to retrieve both the orders in the next page say
Ok I think I am a little confused... with regards to include() and
require(), if I knew the name of a file on say brownstone.com and that file
was called database.inc and it contained all the connection settings for
brownstone.com's database. Say I run a website called hacktheplanet.com and
I wan
http://www.e-gineer.com/instructions/installing-ibm-db2-for-php4x-with-apach
e13x-on-linux.phtml
I used this, and currently use PHP to AS400 DB2 everyday.
Dan
-Original Message-
From: Sridhar Moparthy [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 05, 2002 11:51 AM
To: 'Andrew Brampton'
Essentially what I would like to do is to prevent this kind of thing from
happening to my own website, just to clear up my example. =)
Jas
"Jas" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED].;
> Ok I think I am a little confused... with regards to include() and
> require(), if I kne
Joshua E Minnie wrote:
> Michael Kimsal wrote:
>
> Attached you will find the class definition. Thanks in advance..
>
> Joshua E Minnie
> CIO
> [EMAIL PROTECTED]
>
What version of PHP are you using? I took the file and it seemed to
work OK in PHP 4.0.5.
Michael Kimsal
http://www.phphelp
I want to take the value of an array and define it as $message. This variable will be
called in the sendmail function mail(). Here is what I have so far. (does not work!)
$automail = file("DOCUMENT_ROOT/BetterBus/1/AutoEmail.txt");
$number_of_lines = count($automail);
for ( $i=0; $i<$number_o
A Mr. Sheets gave me this snippet to use...
if ($_SERVER["SERVER_ADDR"] != 'ip address of server') {
echo "You are attempted to use this file from an unauthorized host
exit;
}
"Jas" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED].;
> Essentially what I would like to do is to prevent t
Michael Kimsal wrote:
> What version of PHP are you using? I took the file and it seemed to
> work OK in PHP 4.0.5.
>
> Michael Kimsal
> http://www.phphelpdesk.com
> 734-480-9961
I am currently using PHP 4.1.2. Maybe it's in the file that I am using for
testing, I have attached the code.
Joshu
I'm sure this has been asked before, but at least not within the last 600
messages (i checked):
I have the session variable $_SESSION['id'] set. Well, I want to actually
check the value of this variable, not just to check if it's set. I would be
doing this in a mysql query mainly. Something
I was returned this error after a mysql_query:
1030: Got error 28 from table handler
What does this mean? It doesn't happen all the time and it almost random...
I searched the mysql site and didn't find anything and a search on Google I
found that it is a table that may have become corrupt so i
I am trying to force php to compile WITHOUT IMAP-SSL because TWIG cannot
communicate with IMAP-SSL on port 993.
I upgraded my PHP to 4.1.2 to close the security hole just recently
announced.
I am assured that the c-client.a lib i am linking to in the configure is
NOT SSL supported, yet the ocnfig
> $result = mysql_query("select user from users where id = $_SESSION['id]",
> $db);
> That just doesn't work, so I have to first go:
> $sid = $_SESSION['id'];
> $result = mysql_query("select user from users where id = $sid", $db);
> Anyway to get around this?
I'm sure that either
mysql_query("s
More digging has turned up that the disk space is low or running out...so I
will look into that.
However, if anyone has any tips I'd greatly listen :)
Jeff
- Original Message -
From: "Jeff Lewis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 05, 2002 2:51 PM
Subject: [
Hallo!
Can I from inside an Class Intialize other classes, and access them from the
ordinary script?
Page1.php
init();
$fileread->readfile($file="myfile.txt");
?>
myclass.inc
"classkey1",
"classname2"=>"classkey2",
"classna
On Tuesday, March 5, 2002, at 01:57 PM, Kevin Stone wrote:
> It's not possible to include() a remote file so there may be little
> point to this. However maybe you want to keep users on your system from
> including the file in their scripts. In that case I suppose you could
> set $PHP_SELF (o
Michael Kimsal wrote:
> Still works - at least, I'm not getting the error you posted. Is there
> something else we may be missing? What line(s) are causing a problem?
>
On line 21 of the corrected test file that I attached previously.
Joshua E Minnie
[EMAIL PROTECTED]
--
PHP General Mail
Hallo!
Can I from inside an Class Intialize other classes, and access them from the
ordinary script?
Page1.php
init();
$fileread->readfile($file="myfile.txt");
?>
myclass.inc
"classkey1",
"classname2"=>"classkey2",
"classna
I want to take the value of an array and define it as $message. This variable will be
called in the sendmail function mail(). Here is what I have so far. (does not work!)
Can anyone help me with this problem?
$automail = file("DOCUMENT_ROOT/BetterBus/1/AutoEmail.txt");
$number_of_lines = cou
Hi
I've been using php for a while now but I have not got my head around OOP
(classes).
Why bother using them? I've read thru a few tutorials on using classes and
the examples given are quite simple. This is probably the problem - I just
can't see the benefit of using this style of programming.
1 - 100 of 200 matches
Mail list logo