Is it possible to test PHP and MySQL scripts and databases without being registered on
a web server?
Dear All ;
I have an XML files like the following and i want to make an PHP code to
insert it into my MySQL
how can i read the nodes ot tages??? by the way i can export like this file
from PhpMyAdmin but i cann't dump it back...
Thanks in advance
Nabil
-
-
-
1
Mark
Smith
company1
1
run the mysqld on shell
"Hugh Dickinson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Is it possible to test PHP and MySQL scripts and databases without being
registered on a web server?
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
Dell 4500, mem 1g, disk 45g, mhz 2g, Mysql-3.23.54a-linux-i686, PHP-4.30,
httpd_2.0.44, moxilla 1.0.1
Can someone help converting a function to a class and function.
The included function in example 1 works as expected
but the include class and function in example 2 does not.
What can I do to fi
Hi,
I've the query "UPDATE un_issue SET i_editor = '$editor' WHERE i_date =
'$issue'" where $editor = "/0" but the inserted value in un_issue.i_editor
becomes 0.
un_issue is defined as follows:
CREATE TABLE un_issue
(
i_id INT PRIMARY KEY AUTO_INCREMENT NOT NULL,
i_date DATE NO
how about \0. yours is a foward slash not an escape. though that may
just be your post you can also use an unquoted NULL.
hth
jeff
> '$issue'" where $editor = " is null"
Anders Thoresson wrote:
Hi,
I've the query "UPDATE un_issue SET i_editor = '$editor' WHERE i_date =
'$issue'" where $editor = "/0" but the inserted value in
un_issue.i_editor becomes 0.
un_issue is defined as follows:
CREATE TABLE un_issue
(
i_id INT
UPDATE un_issue SET i_editor = null WHERE i_date = '$issue'"
Thanks. But how come this works and sets i_editor to NULL
"UPDATE un_issue SET i_editor = $editor WHERE i_date = \"$issue\""
but the following two gives me a sql-error "You have an error in your SQL
syntax near 'WHERE i_date = ' at lin
Anders,
I don't know the specific answer to the question you pose, but if you echo()
out your db query before you send it to the db, you'll be able to see the
query as it is going to be sent to the db. You can then use your MySQL
syntax knowledge to find the error in the different query strings. I
Hi,
I've some trouble with a select-tag in a php-script.
In a database should be written the ID of a table, the user could select
the recordset by the Name. My problem is that the fieldentry of the
selecttag is not transfered to the executionscript. The different Names
within the recordset are sho
the select has to be a name and not the id
the id has to be within the option value!
-Original Message-
From: Ruprecht Helms [mailto:[EMAIL PROTECTED]
Sent: woensdag 2 juli 2003 15:51
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Problem with select-tag within a php-script
Hi,
I've some tr
Yes, but it can be complicated ... you have to install MySQL (www.mysql.com)
and PHP (www.php.net) and web server software, such as Apache
(www.apache.org).
I recently setup a test server on Windows XP with little trouble ...
Good luck!
Regards,
Matthew Moldvan
System Administrator
Trilogy Int
How would I remove a # from a string?
I want #2 to be 2.
- Rick
Hi,
I'm trying to figure out a way of detecting when a user closes the browser,
or if they leave the site. If they do this I'd like to change a value in
the database, i.e:
if (browser is closed by user or they leave site)
{
// run php code to update database
}
Any help much appreciated.
--
J
> How would I remove a # from a string?
> I want #2 to be 2.
$str = "#2";
$str = str_replace("#","",$str);
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I'm using MS-SQL-Server (MSDE, ServicePack 3), with Apache 1.3.27
PHP/4.3.1 completely under Windows 2000.
My task is, to build an installation package, which installs MSDE,
Apache and PHP and some PHP-code on arbitrary Windows 2000 systems.
Currently my installation package is running. It
PHP is server-side, not client side.
That said, what you could do is simply make use of window.onunload or
window.onclose in javascript to bring up a second window/page..
of course, anyone with half a brain and a popup-stopper won't get that
page :)
--rylin
Jamie Saunders wrote:
Hi,
I'm tryin
Hi,
I need to insert integer values into array field in
FireBird/InterBase's table with PHP, but don't know how
to do it. Does anyone has a working example please?
--
Martin (mailto:[EMAIL PROTECTED])
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/
Ok, let's explain the situation more fully:
Basically I have a session controlled login system for users to my site. If
they manually log-out, close the browser or move away from the site the
variables that are needed for them to view the 'members area' are unset,
hence they are logged out. What
Jamie,
Read through this thread:
http://marc.theaimsgroup.com/?l=php-db&m=104162246227155&w=2
Since you are using a login/logout system, you may be able to use some of
the suggestions in here to solve your problem.
Rich
> -Original Message-
> From: Oscar Rylin [mailto:[EMAIL PROTECTED]
You might also want to take a look at PEAR Auth
http://pear.php.net/manual/en/package.authentication.auth.intro.php
--rylin
Hutchins, Richard wrote:
Jamie,
Read through this thread:
http://marc.theaimsgroup.com/?l=php-db&m=104162246227155&w=2
Since you are using a login/logout system, you may be
On 07/02/2003 10:06 AM, Jamie Saunders ([EMAIL PROTECTED]) wrote:
> What I want to do is disable people logging into the same user account at the
> same time.
If this is your goal, try reversing your way of thinking. Instead of
worrying about what happens when a user logs out (or doesn't), concen
Hi,
I just noticed something I haven't done before. I was writing this piece
of code:
$articlequery = "SELECT somestuff FROM sometable";
$result = mysql_query($query);
$row = mysql_fetch_row($result);
But I didn't get the result I expected. Finally, I noticed that my new
querystring was $articl
Hi everyone,
I tried to connect to Active Directory (AD) by using php. I heard that it
could use LDAP to achieve it. I have written some code on my machine
(Win2000) and try to connect to AD. It looks like the it could connect,
bind, and even search (I determined base on the line I placed). How
Thanks, it works...mysqlerror() told me the exact problem and I could solve
it
thanks
"David Robley" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> says...
> > Hello Everybody!
> >
> > I tried to connect with a mysql databasem , b
I "borrowed" the database class definition (see below) from the PHP docs
[http://www.php.net/mysql_close].
I've been reading (and reading, and reading) about '.htaccess' and
'mysql.default_host' and what to set and how to set; or at least I'm trying
to read and understand.
It is my understanding
Dear All ;
I have an XML files like the following and i want to make an PHP code to
insert it into my MySQL
how can i read the nodes ot tages??? by the way i can export like this file
from PhpMyAdmin but i cann't dump it back...
Thanks in advance
Nabil
-
-
-
1
Mark
Smith
company1
1
any one ??
"Nabil" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Dear All ;
>
> I have an XML files like the following and i want to make an PHP code to
> insert it into my MySQL
> how can i read the nodes ot tages??? by the way i can export like this
file
> from PhpMyAdmin but i
How would you get PHP to download a file such as a web page and put it in a string?
What keywords would relate to this (besides php download)
I need a user to be able to put in a name and pass and have PHP go to a cetain site.
The site can take the user/pass in the url so I do not need a form sub
29 matches
Mail list logo