Hi
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi...
Sorry about the last post... did not realize i hit the wrong button
Here is my question. Sorry if it is a basic answer... new to php
I have PHP/mySQL and would like to know how i can set use an external
file to prevent myself for having to code everytime the
"connection/login" to mysql.
;
> ======
>
>
>
>
> On Mon, 20 Sep 2004 16:14:07 -0400, GH <[EMAIL PROTECTED]> wrote:
> > Hi...
> >
> > Sorry about the last post... did not realize i hit the wrong button
> >
> &
I have a question, what happens if there are multiple 'required' and
'included' files that have calls to the same DB via the same username
and password (they even use the same variable to call)?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Just remember to make sure that the closing EOD; is flush with the
left margin an that there are NO spaces and NO other characters to the
left of it or PHP will give you a PARSE error
On Wed, 22 Sep 2004 11:56:54 -0400, François Moreau
<[EMAIL PROTECTED]> wrote:
> Hi Juan,
>You might consider
I am new to php and xml and would like to know how I can set a
variable (i.e $terror_threat_level) equal to the value of
Threat_Advisory's Condition in the following that is available at
http://www.dhs.gov/dhspublic/getAdvisoryCondition ...
can anyone help?
--
PHP General Mailing List (
Also, forgot to ask if there are any specific settings that need to be
set within php for it to work.
On Thu, 23 Sep 2004 09:55:32 -0400, GH <[EMAIL PROTECTED]> wrote:
> I am new to php and xml and would like to know how I can set a
> variable (i.e $terror_threat_level) equal to
As John noted at the end... I do not have control over the format of
the XML... but thanks I will try... BTW i am using PHP4 is
SimpleXML able to be used and if so how?
Sorry for the newbie question
On Thu, 23 Sep 2004 10:44:31 -0400, John Holmes
<[EMAIL PROTECTED]> wrote:
>
Sounds good... from that RegExpression what exactly is that returning?
just the value in the quotes?
Thanks
Gary
On Thu, 23 Sep 2004 11:11:16 -0400, John Holmes
<[EMAIL PROTECTED]> wrote:
> From: "GH" <[EMAIL PROTECTED]>
> > BTW i am using PHP4 is
> > Si
I would like to know how I can code the the following conditional
check if the $_GET['api'] does not exist, or is either set and has
no length or is set and is not an integer.
I am drawing a blank on the if statement to use
--
PHP General Mailing List (http://www.php.net/)
To unsubscrib
With the following code, I am getting the following message
Parse error: parse error, expecting `')'' in
/var/www/html/cert/admin_template.php on line 30
Line 30 Reads as follows:
foreach($admin_get_options_result as $api => $file, $desc)
Can any one please assist.
***
Greetings:
I am having a problem with trying to get data out of my mySql database.
I run my query which works fine and everything...
I use:
$admin_get_options_query_text = "Select * from adminpage";
$admin_get_options_results_reference =
mysql_query($admin_get_options_query_text,$db_acc
Thank You Murray's suggestion worked
On Mon, 11 Oct 2004 11:20:57 -0400, John Nichel <[EMAIL PROTECTED]> wrote:
> GH wrote:
> > Greetings:
> >
> > I am having a problem with trying to get data out of my mySql database.
> >
> > I run my query whic
Now I m perplexed time 10!
I run the code that follows this time providing a query string
of admin_template.php?api=101
I have an if statement that tests if $_GET['api'] == 0 if it is
true I have it listing options, else it queries the database with that
ID and loads the associated fi
How can I convert it to an integer aslong as it is only a number in the string?
On Mon, 11 Oct 2004 13:19:40 -0400, John Holmes
<[EMAIL PROTECTED]> wrote:
> GH wrote:
>
> > Now I m perplexed time 10!
> >
> >I run the code that follows this time p
is or I am being paranoid
I am trying to make this work good and hope to design it to be
secure since this is my first PHP endevor
Thanks
G
On Mon, 11 Oct 2004 14:02:08 -0400, John Holmes
<[EMAIL PROTECTED]> wrote:
> GH wrote:
>
> > How can I convert it to an integer a
I would like to know if someone out there has or knows of a tutorial
on Maintenance of State that allows only users who have logged in to
successfully visit view pages?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I will look into the into all of the items discussed and probably will
be sending in some questions
On Tue, 12 Oct 2004 16:17:37 -0500, Greg Donald <[EMAIL PROTECTED]> wrote:
>
>
> On Tue, 12 Oct 2004 16:43:42 -0400, GH <[EMAIL PROTECTED]> wrote:
> > I would like t
ColdFusion a few years ago... this was my main
co(ld)nfusion... I know i am probably rambiling so
Any advice or starting points would be great
On Tue, 12 Oct 2004 14:12:37 -0700 (PDT), Chris Shiflett
<[EMAIL PROTECTED]> wrote:
>
>
> --- GH <[EMAIL PROTECTED]> wrote
Is there a way to make sure that a page is only loaded via a
require or include statement? or other type of SSI?
I would like to make sure that a 'parent document' (namely
admin_template.php) only calls the php file?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
ker doesn't know
> HOW you are authenticating the file. If you are going to try this method,
> mix it up, use a rather unique variable name and or use a value that is hard
> to guess.
>
> -Minuk
>
>
>
>
> - Original Message -
> From: "GH&quo
However I would think that using the db would allow for you to change
the persons while they are using the site and would not make them have
to relog in
suggestions?
On Fri, 15 Oct 2004 10:52:53 +0200, Ian Firla <[EMAIL PROTECTED]> wrote:
>
> Definitely store them in a session. A db lookup
I was wondering how to get images into and out of a Mysql database
with in php... I do not have anything in my book... but was told it
was possible.
I have PHP 4.3.4 and mysql 4.0.18
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
com/columns/florian19991014.php3
>
> HTH
>
> Graham
>
> -Original Message-
> From: GH [mailto:[EMAIL PROTECTED]
> Sent: 27 September 2004 23:19
> To: php-general
> Subject: [PHP] Images in PHP and MySQL
>
> I was wondering how to get images into and o
does that work for sub directories ... i.e. I have multiple "mini"
sites that I run on my domain and they are just folders underneath...
I.E. mydom.com
--- mydom.com/123
--- mydom.com/ahr
--- mydom.com/subsite4
On Sat, 25 Sep 2004 14:17:50 -0700, Jasper Howard <[EMAIL PROTECTED]> wrote:
I am looking for the best way to have a user enter information and
format it ... i.e. Bold, Italics, etc... with out havng to use the
HTML commands...
Using PHP4.
Any suggestions...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
with it and
am still new to PHP sorry)
thanks
On Wed, 29 Sep 2004 13:51:41 -0400, GH <[EMAIL PROTECTED]> wrote:
> I am looking for the best way to have a user enter information and
> format it ... i.e. Bold, Italics, etc... with out havng to use the
> HTML commands...
>
>
did anyone call?
On Thu, 30 Sep 2004 10:26:08 -0500, Jay Blanchard
<[EMAIL PROTECTED]> wrote:
> [snip]
> Can we start mass flaming this guy? Ok one nice one...
>
> Denise Holland
> ITM - Network Support
> 703-358-1823
> [/snip]
>
> I vote we all call her
>
>
>
> --
> PHP General Mailing
On Thu, 30 Sep 2004 18:17:05 +0200, Marek Kilimajer <[EMAIL PROTECTED]> wrote:
> GH wrote:
> > Thank you all for the information... however at a second look I
> > realized that I failed to better describe my needs...
> >
> > My current plan is to have a series o
Brian:
What way should you not reference session variables? I seem to have
missed that part of the discussion... Sorry.
Gary
On Thu, 30 Sep 2004 10:17:51 -0500, Brian <[EMAIL PROTECTED]> wrote:
> Along with the other tips people gave, make sure that if you have
> register globals turned on, do
HEre is a question that I have been wondering about:
- Does the image file use more space in the db or as a file itself
(Do Not count the extra data that one would store in the db along with
the image... ie. ID number)
Thanks
On Thu, 30 Sep 2004 09:55:30 -0700, Jasper Howard <[EMAIL PROTECTE
I would like to know if there is a way to have PHP determine the
dimensions of an image (i.e. JPG or PNG) and if it more than Xpx wide
or height have it scale it down proportionally to that width or
height?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.ne
Dear EVERYONE WHO HAS POSTED OR WANTS TO POST IN THIS THREAD...
If Ms. Holland managed to get herself off of this list she is not
seeing any of this... however you seem to be FLAMING the rest of the
board with information that is NOT PHP related NOR is it relevant to
ANY DISCUSSION that pertains t
pear in your account, just unpack the archive and set
include_path.
Matthew Fonda to GH, php-general
More options Sep 29
Typically people use BBCode to do this.
This mean the user will enter something like
[b]this is bold[/b] or [i]italic[/u] and the BBCode will be parsed and
transforme
8:17:05 +0200, Marek Kilimajer <[EMAIL PROTECTED]> wrote:
> GH wrote:
> > Thank you all for the information... however at a second look I
> > realized that I failed to better describe my needs...
> >
> > My current plan is to have a series of articles and informatio
I just installed phpMyAdmin 2.6.1 on my Windows Laptop with PHP
Version 4.3.10 [Build Date Dec 14 2004 17:46:48] and mySql 4.1.8
I am receiving the enclosed error when I attempt to go into
phpMyAdmin and do not know how to solve the issue...
Any assistance would be greatful.
Thank you
Gary
://dev.mysql.com/doc/mysql/en/old-client.html>.
>
> Michael
>
> GH wrote:
>
> > I just installed phpMyAdmin 2.6.1 on my Windows Laptop with PHP
> > Version 4.3.10 [Build Date Dec 14 2004 17:46:48] and mySql 4.1.8
> >
> > I am receiving the enclosed
Question. Does the Tabs and Divs work under Mozilla Based Browsers?
On Wed, 09 Feb 2005 23:58:52 -0200, Manuel Lemos <[EMAIL PROTECTED]> wrote:
> Hello,
>
> on 02/09/2005 01:38 PM [EMAIL PROTECTED] said the following:
> > I have a form which is too long to be useful displayed on one page. I
>
Is it possible to check via php what version of mysql is running and
if it is a 4.1.x or better version to see if it is using the
--old-password switch or not? I would like to know so that I can code
both ways and just have a conditional statement direct which code is
used...
Thanks
--
PHP Gene
However, this does not tell you if they are using the Old or New
Password on the newer version... how can i check that?
On Fri, 11 Feb 2005 21:01:02 +0100, Marek Kilimajer <[EMAIL PROTECTED]> wrote:
> GH wrote:
> > Is it possible to check via php what version of mysql is runnin
Does someone know of a mailing list tool that runs via PHP that can
check periodically (ie via a scheduled task) an email account for a
message and then send it out to an entire list of addresses?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.ph
I am experiencing a strange bug after upgrading to PHP 5.2.4 with the
Zend Optimizer 3.3.3.
In two of our locally-hosted web applications, NolaPro and SugarCRM, the
login sessions are expiring after 5 minutes of inactivity and I cannot
figure why. The relevant values from my /etc/php.ini file
I would like to know how to extract the following from the website
http://www.state.ny.us/security/
The Values for
New York State is currently at:
New York City is currently at:
I would like to store this information into my database and check it
every half hour to see if it has been updat
Greetings:
This is just a friendly reminder that if you are registered in the
United States to VOTE on November 2, 2004 (TOMORROW)
Need to know where you vote?
Please see the attached file (it is an image) that contains some information
--
PHP General Mailing List (http://www.php.net/)
To
prado? Hunh?
On Sun, 7 Nov 2004 14:56:36 -0600 (CST), Jonel Rienton <[EMAIL PROTECTED]>
wrote:
> This can be done with javascript or you can use an event-driven solution
> like PRADO
>
>
>
> > Hi all,
> > I have a question that I can't get my head around and was hoping
> > someone
> > co
Is there a function that can automatically escape special characters
before putting them into mySQL?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-- Forwarded message --
From: GH <[EMAIL PROTECTED]>
Date: Tue, 16 Nov 2004 08:45:08 -0500
Subject: Re: [PHP] Automatically Escape?
To: Jordi Canals <[EMAIL PROTECTED]>
What is the Diffrencce between mysql_escape_string and mysql_real_escape_string?
On Tue, 16 No
Basically
They are the same... some servers might not have That seems to be the
standard
On Fri, 3 Dec 2004 09:32:34 +0530, suneel <[EMAIL PROTECTED]> wrote:
> Hi to all
>
>any one Could tell me any diffrence between and .
> And which one is better to use and in which situ
the terms under which this email is distributed, please go to
> http://disclaimer.leedsmet.ac.uk/email.htm
>
>
> On 16 December 2004 17:39, GH wrote:
>
> > Hi All...
> > Got a problem... here is the error: Parse error: parse error,
> > expecting `T_STRING' or
Hi...
I am looking for a FREE PHP IDE that uses syntax highlighting and
code completion amongst other features...
Do any of you have any recommendations... again I am looking for FREE
(not much budget for me)?
I use BOTH Linux and Windows
Thanks
Gary
--
PHP General Mailing List (http://w
Hi I am having an issue with I think it is the scope of variables:
I have a file that I am including which has the following"
";
global $langauge;
$language['project_name'] = "P.L.I.M.S";
$language['sub_project_name'] = "DCR CC";
?>
In my main file, I am attempting to from with in a function ca
Supprisedly, Register.com still charges alot
$35/1 year
$70/2 years
$150/5 years
$299/10 years
On Mon, 13 Dec 2004 22:16:00 -0500, Josh
<[EMAIL PROTECTED]> wrote:
> $70 for a domain name registration? A domain name only costs $6 or $7 US
> dollars per year...
>
>
>
> --
> PHP General Mail
Ok... thank you.
On Thu, 16 Dec 2004 19:02:37 +0100, Marek Kilimajer <[EMAIL PROTECTED]> wrote:
> GH wrote:
> > Hi All...
> > Got a problem... here is the error: Parse error: parse error,
> > expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING
However, I can not get any results into the tags all three
options are not displaying
On Thu, 16 Dec 2004 13:03:57 -0500, GH <[EMAIL PROTECTED]> wrote:
> Ok... thank you.
>
>
> On Thu, 16 Dec 2004 19:02:37 +0100, Marek Kilimajer <[EMAIL PROTECTED]> wrote:
&g
Hi All...
Got a problem... here is the error: Parse error: parse error,
expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in
/var/www/html/ahrc_computerclub/ahrc_computerclub.php on line 42... I
am not sure on how to fix it...
line 42 is: " $language['program_name'] \n" .
The languag
I appologize in advanced if this is an off topic discussion...
I am working on a PHP based website and would like to offer media to
my visitors... I have the Audio in WMA and MP3 formats... I would like
to know how I could get them to "Stream"? inline... using PHP any
advice would be greatfull
file with just the full url of your mp3
> > and send that to download in the browser this will launch the users mp3
> > player which will then stream the mp3 that was contained in the file.
> >
> > GH wrote:
> > > I appologize in advanced if this is an off topic dis
This may be off topic.. but does anyone know what versions of PHP and
MySql Mandrake is shipping with 10.1 Offical?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
n Sat, 25 Dec 2004 00:27:54 -0500, GH <[EMAIL PROTECTED]> wrote:
> > This may be off topic.. but does anyone know what versions of PHP and
> > MySql Mandrake is shipping with 10.1 Offical?
> >
> > Thanks
> >
> > --
> > PHP General Mailing List (h
Greetings:
I am having a problem with some php that I have written... In an
attempt to clearly state the problem and how it is supposed to work
the following may be lengthy, to which I appologize for.
I am not getting the results that I am expecting. I am using the
following url to access my p
t a one statement after a condition?
Please correct me if I am wrong.
Thanks
Gary
On Tue, 28 Dec 2004 19:24:28 +0800, Jason Wong <[EMAIL PROTECTED]> wrote:
> On Tuesday 28 December 2004 13:00, GH wrote:
>
> > I am having a problem with some php that I have written... In an
&
Ok here is what I get...
> >The isAttendanceReport() fails... so in the displayMenu() function I get
> >
> > Print Attendance Sheet
> > No Attendance Report Available1
>
> OK, so why does isAttendanceReport() return 0?
>
> When debugging it's always a good idea to plugin absolute values where
>
Ok... Here we go
> On Tuesday 28 December 2004 23:43, GH wrote:
>
>
> > During the code... it gets to the following point...
> >
> > [snip]
> > #
> > # C
Would it be possible in a form fields name to make it an array?
This way it would be i.e. att[$part_id]
Now is there a way to iterate through the array when I submit the form
to process it, being that the ID numbers are not going to be
sequential and that there will be some numbers not included
Greetings
I am about to launch on the mission to install PHP4 on my Laptop
running Win XP Pro SP2.
When I go to the download page of the PHP.net website I am presented
with the following for windows
PHP 4.3.10
Windows Binaries
All Windows binaries can be used on Windows 98/Me and on Win
However, I have IIS on this box NOT Apache
On Wed, 29 Dec 2004 15:51:26 +, Richard Davey <[EMAIL PROTECTED]> wrote:
> Hello GH,
>
> Wednesday, December 29, 2004, 3:20:15 PM, you wrote:
>
> G> I am about to launch on the mission to install PHP4 on my Laptop
>
So going to the ZIP though a harder install will be the best bet?
On Wed, 29 Dec 2004 11:04:11 -0500, Jason Barnett
<[EMAIL PROTECTED]> wrote:
> Gh wrote:
> > However, I have IIS on this box NOT Apache
> >
> >
>
> It doesn't matter. It's n
#1 what is ISAPI?
#2 which method is better to install PHP with IIS? ISAPI or CGI?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am trying to install php 4.3 on Windows XP Pro SP2 w/ IIS ...
(please dont kill me :-))
I am doing it via ISAPI, I am up to the step in the instruction sheet
that says "Under Home Directory, click on the 'configuration' button.
Add a new entry to the Application Mappings. Use the path to the
php
Hi all
I just installed PHP & MySql on my laptop together with IIS (go ahead
and boo)...
I just ran a script to test that the server was
working and got a strange result
it says that I have version 3.23.49 when I have 4.1.8 of mysql
installed on the machine... what happened?
Thanks
my
Well actually it now works just took a bit of rest and relaxing :)
On Wed, 29 Dec 2004 22:18:25 +, Richard Davey <[EMAIL PROTECTED]> wrote:
> Hello GH,
>
> Wednesday, December 29, 2004, 9:22:08 PM, you wrote:
>
> G> anyone have advice --- please dont tell me to g
Has anyone had any problems installing phpMyAdmin with the above
configuration? I get an error about the mySql client and
authentication methods? MySQL Error: 1251 : Client does not support
authentication protocol requested by server
Please assist
Happy New Year
Gary
--
PHP General Mailing List
It would be nice if phpMyAdmin would kindly note that on their website...
Also, when I run a phpInfo()... it says i have the 3.23.49 could this
be a contributing factor?
On Sat, 1 Jan 2005 15:55:27 +0700, Willy Sudiarto Raharjo
<[EMAIL PROTECTED]> wrote:
> > Has anyone had any problems installi
does anyone know of a simular tool that will work/has 4.1 support?
thanks
On Sat, 1 Jan 2005 14:33:05 -0600, Greg Donald <[EMAIL PROTECTED]> wrote:
> On Sat, 1 Jan 2005 14:15:27 -0500, GH <[EMAIL PROTECTED]> wrote:
> > It would be nice if phpMyAdmin would kindly note
Can you please explain Threads to me?
On Sat, 1 Jan 2005 14:38:50 -0600, Greg Donald <[EMAIL PROTECTED]> wrote:
> On Sat, 1 Jan 2005 10:07:20 -0800 (PST), Lewis LaCook <[EMAIL PROTECTED]>
> wrote:
> > ...just looking for opinions: will PHP eclipse (IS PHP
> > eclipsing) Java?
>
> I'd like to se
On linux I use thee KDE IDE program...
On Thu, 13 Jan 2005 14:02:17 -0600, Greg Donald <[EMAIL PROTECTED]> wrote:
> On Thu, 13 Jan 2005 18:02:12 +0200, William Stokes <[EMAIL PROTECTED]> wrote:
> > I'm quite new with writing php code. I was considering of using some kind of
> > php editor program
I guess this is a hoax or spam.
Serban
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Dear user of e-mail server "Php.net",
>
> Your e-mail account will be disabled because of improper using in next
> three days, if you are still wishing to use it, please, resign your
> acco
77 matches
Mail list logo