Hello
Webservices is the use of SOAP over HTTP to bring a Service to the web.
There are a lot more technologies involved like WSDL and UDDI but
basically it is a way of providing the functionality of a
programm/application to the web over a well defined interface. Since it is
an additional lay
> Let's be honest, XSL is is one big logic step itself -- moreover it's a
> whole other language to learn.
I wouldn't call it a _big_ step. It only looks big when you look down.
8-)
I would tend rather to encourage the use of XSL, myself. If you can
pick up php okay, you ought to have few probl
Hi all,
I've looked at both editize(.com) and HTMLArea, both of which are
in-browser Rich Text editor replacements (written in java) for the
standard .
Unfortunately, they both allow far too much control... at most I only
want to offer H1, H2, P, B, A and I -- no colors, no images and please
Greetings again,
Did as Ralph suggested...here is the output :
[EMAIL PROTECTED] php]# find / -name php.ini -print
/home/chris/Documents/Mein Stuph/PHP 4
Package/php-4.3.1/pear/tests/php.ini
find: /mnt/floppy: Input/output error
find: /mnt/cdrom: Input/output error
/mnt/ClientWebs/kno
What I want to do:
Have a person input information about individuals into a database. One of
the fields in the database will be Unit.
On a form one of my drop down menu's will be Unit. I would like to have the
PHP page poll the Unit field in the database and send all the different Unit
results to
Hi people, back again...
Got some help this today (tnx Curt) from the list but for another chunk of
the code I'm doing...
Now, I can't seem to get the following code to work...
Have included some sample lines from the datafile (acc.txt)
No matter what I do, it always returns "not here" even if t
Justin French <[EMAIL PROTECTED]> wrote:
> On Tuesday, July 15, 2003, at 01:24 PM, Curt Zirzow wrote:
> [...]
> I'm fully aware of the reasons why one would use $_GET['foo'] over
> $foo, but as stated in the OP, i'm interested in using
> search-engine-friendly URLs like:
Good, I was just making
I create a new object and then assign it to a session var
$customer = new Customer($_GET['facilityID'], $_GET['customerID']);
$_SESSION['acceptPayment']['customer'] = $customer;
but later when I access that session var [in the the same file but in a different function and different instance], php
> This position requires strong technical knowledge in a server-side
> scripting technology such as PHP (preferred) /JSP/Perl/ASP. Knowledge
> of SQL queries, stored procedures and database design required. Must
> have experience in HTML/CSS and familiarity with HTTP and networking
> concepts. Grap
> Is it possible to check a file in $_FILES['userfile']['tmp_name'] to
> make sure it is of a certain format? I want to allow a user to only
> upload jpegs or mpegs, and want to check what format the file is in.
If there are only a few types, and you know what those types should look
like, it sho
On Tuesday, July 15, 2003, at 01:24 PM, Curt Zirzow wrote:
Have you tried running the script to see if $_GET['myNewKey'] actually
is filled out? You'll find that it is.
of course I tried it, and yes it works, but that doesn't mean it's
smart/safe :)
Using the special name space variable rather
Have you checked that the files are indeed getting to the directory that
is specified by the upload_dir setting in php.ini?
Also check your tmp dirs to see if they are getting there too. If they
are not getting to the tmp dir then there are some issues.
--
BigDog
On Mon, 2003-07-14 at 21:19, [
Turn the html errors off in your php.ini file or write a function that
handles all your errors for you and u dont echo out html tags.
http://us3.php.net/manual/en/function.set-error-handler.php
--
BigDog
On Mon, 2003-07-14 at 21:32, Curt Zirzow wrote:
> Larry Brown <[EMAIL PROTECTED]> wrote:
>
Most likely your php is a core module that does not require the load
module in your httpd.conf file...
you can verify if it is core (static not DSO) with
httpd -l
--
BigDog
On Mon, 2003-07-14 at 21:01, CDitty wrote:
> I just updated my 4.2.x to 4.3.2 and when I restart the apache, I get the
I'm moving some scripts to a new server but the PHP installation on the
new server is actually older than the version I currently have installed
on the production server. I'm moving from 4.2.3 to 4.1.2.
In my file upload scripts I can't seem to get any $_FILES values out of
my upload. The scrip
I'm running a website (www.revitcity.com) on linux/PHP/MySQL and the site is
for architecture components. The compenents or objects called famlies are
uploaded by users and shared freely. The program these objects are used in
is Revit, a windows only program. So here's my question.
Currenly users
Larry Brown <[EMAIL PROTECTED]> wrote:
> How can I rid myself of the html tags around error messages when writing
> console scripts? (Besides avoiding errors)
You can set up another system or user php.ini for the php binary to read
then pass the location of the php.ini to the php binary:
php -c
Justin French <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Is there any danger in overwriting the $_GET array? Will it still
> remain a superglobal in all circumstances?
yes and yes. see below for explaination
>
> // Example 1:
> $_GET['foo'] = base64_decode($_GET['foo']); // modify a valu
--- CDitty <[EMAIL PROTECTED]> wrote:
> I just updated my 4.2.x to 4.3.2 and when I restart the apache,
> I get the error [warn] module php4_module is already loaded,
> skipping.
>
> Can anyone offer any suggestions?
You are probably loading the library twice in your httpd.conf file. Check that,
How can I rid myself of the html tags around error messages when writing
console scripts? (Besides avoiding errors)
Larry S. Brown
Dimension Networks, Inc.
(727) 723-8388
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
printf("%02d", $integer); Use sprintf() if you want to save output.
Larry
---
I just updated my 4.2.x to 4.3.2 and when I restart the apache, I get the
error [warn] module php4_module is already loaded, skipping.
Can anyone offer any suggestions? I searched the archives, but didn't see
anything that would help. Apache/PHP seem to be running ok, but I would
like to get
Is there a way, to define an integer number e.g. 7, to be defined as 07?
(Maybe with numberformat)
Harry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Is there any danger in overwriting the $_GET array? Will it still
remain a superglobal in all circumstances?
// Example 2:
$_GET = array();//
empty it
$_GET['myNewKey'] = 'something';// re-popu
Ow Mun Heng <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Mind my ignorance but what is webservices??
hmm... I was wondering that myself...
http://www.w3.org/2002/ws/
A google search on 'Web Services stock quote' returns some interesting
pages.
>
> Cheers,
> Mun Heng, Ow
> H/M Engineering
> West
Hi,
Mind my ignorance but what is webservices??
Cheers,
Mun Heng, Ow
H/M Engineering
Western Digital M'sia
DID : 03-7870 5168
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, July 14, 2003 3:28 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Grabbi
u could set up a perl script to read cookies and vice versa with php.
That should not be a problem you could also create a form with php
variables and post it to a perl script. u you also create a link to a
perl script that passes varibles via the url.
Very easy to do just a matter of how you wa
Hi,
Monday, July 14, 2003, 6:00:04 PM, you wrote:
GS> A bit off topic
GS> Im trying to figure out how to convert BigEndian byte words to integers.
For example ->>
GS> 0 0 0 18 = 18
GS> The only way I know how to convert this is by writing down on paper, and
GS> writing 8 4 2 1 above the numbe
The quick and easy to convert a mysql timestamp is to use the
UNIX_TIMESTAMP(field_name) function in mysql when you query the data. It
converts a 14-digit mysql timestamp to a standard unix timestamp.
"Myhan" <[EMAIL PROTECTED]> дÈëÏûÏ¢ÐÂÎÅ
:[EMAIL PROTECTED]
> mysql's timstamp in this case is in
mysql's timstamp in this case is in the format:
MMDDHHMMSS
and it's default value is current time.
| TIMESTAMP(14) | MMDDHHMMSS |
| TIMESTAMP(12) | YYMMDDHHMMSS |
| TIMESTAMP(10) | YYMMDDHHMM |
| TIMESTAMP(8) | MMDD |
| TIMESTAMP(6) | YYMMDD |
| TIMESTAMP(4) | YY
I'm working on a site which is mostly in PHP. However, I have to use perl
for a couple of scripts. Does anyone have any experience in sharing
session information between PHP and perl?
I'm writing for a client who I will know has cookies enabled, and I have a
mySQL database, so I'm looking for what
Thankyou! That works a treat!
Lloyd. :-)
At 11:36 PM 14/07/2003 +, you wrote:
Lloyd Bayley <[EMAIL PROTECTED]> wrote:
> Greetings All!
>
> I'm still in the learning stages of PHP and require some help with a small
> problem.
>
> I need to take a text file which looks like this (and no I can't
Lloyd Bayley <[EMAIL PROTECTED]> wrote:
> Greetings All!
>
> I'm still in the learning stages of PHP and require some help with a small
> problem.
>
> I need to take a text file which looks like this (and no I can't get it
> output in CSV - damn and blast!)
>
> user1 26:48:59
You have made a mistake in your database design. Every table should have a
primary key that allows you to uniquely identify any single row in the
table. You do not have a primary key, hence when you want to delete a
single row from a series of duplicates, you can't do it. Unlike oracle,
mysql ha
Greetings All!
I'm still in the learning stages of PHP and require some help with a small
problem.
I need to take a text file which looks like this (and no I can't get it
output in CSV - damn and blast!)
user1 26:48:59 6 logins 4:28:09 hrs/login
user2 19:0
|-Original Message-
|From: Jasper Bryant-Greene [mailto:[EMAIL PROTECTED]
|Sent: Monday, July 14, 2003 12:14 AM
|To: [EMAIL PROTECTED]
|Subject: [PHP] SquirrelMail + Writable Directories
|
|My question is simple - I want to install Squirrelmail on my webserver,
|but I can't chmod or chown t
Ok, I added a primary key. I figured it out and I have it working... Thanks!
"Chris Shiflett" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> --- zavaboy <[EMAIL PROTECTED]> wrote:
> > Lets say the table contains the following rows (user | item):
> > 582-668243 | Toothbrush
> > 582-6
What you are looking for is called an Invoice. I'm attaching a simple
invoice for you to look at.
-Original Message-
From: Duncan [mailto:[EMAIL PROTECTED]
Sent: Sunday, July 13, 2003 4:09 AM
To: [EMAIL PROTECTED]
Subject: [PHP] php script billing receipt
Hi,
I just finished a script f
- Original Message -
From: "Sourabh G" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, July 13, 2003 11:15 AM
Subject: [PHP] Session Problem
> Hi,
>
> I am getting a weird session problem in my site.
>
> Background of the Problem:
> --
> My site use sessi
If you're going to be keeping track of all these demographics, you'll
want to store these in a database rather than a text file.
-Original Message-
From: César Aracena [mailto:[EMAIL PROTECTED]
Sent: Sunday, July 13, 2003 7:41 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Lots of PHP
Hi all,
Most ftp programs allow you to chmod. If using windows, check out wsftp
www.ipswitch.com.
I don't think there is another way to change directory/file privileges
other than chmod.
-Original Message-
From: Jasper Bryant-Greene [mailto:[EMAIL PROTECTED]
Sent: Monday, July 14, 2003 12:14 AM
Try this:
Stop apache first.
1. Delete the libphp4.so file from libexec in apache dir.
2. make clean in php src dir.
3. rm config.cache
4. ./config.nice (gives you all the stuff that u configured)
5. make & make install
6. verify httpd.conf
7. start apache up and verify.
--
bigdog
On Mon, 2003
I'm wondering if there's any crazy dude out there that would like to
join me in making a class for PHP to convert Mp3's to Mp3Pro. Even
better would be if it could take other formats aswell, but mainly MP3 to
MP3Pro. There are a few reasons why I want it in PHP. One is that PHP is
cross-platfor
Yeah, I have all that in the conf file. I've rebuilt it twice and made
sure it was pointing to the propper apxs and everything. Even did a make
clean to be sure. Still doesn't work. I've checked everything I can
think of.
-Patrick
Ray Hunter wrote:
Here is how i trouble shoot it:
1. make sure
Here is how i trouble shoot it:
1. make sure that there is a libphp4.so file in libexec.
2. make sure that you have these lines in httpd.conf:
LoadModule php4_module libexec/libphp4.so
AddType application/x-httpd-php .php
3. restart apache
That should work for you. Also make sure that when y
In your application code ... you can implement a move() function that
can either call the unix (mv) or windows (move) commands to move the
file to another location (same permission restrictions apply). The
thing about move is, its a copy + delete function in one, so you have
to be careful about pe
Hi,
I am getting a weird session problem in my site.
Background of the Problem:
--
My site use sessions for user authentication. Site has a Admin Panel where
admin can search users and then through a link
(which has login and password appended) login as user.
On login as
Hi,
I recently upgraded from 4.2.2 to 4.3.2 built as a DSO for apache
1.3.26. Now, documents are not being executed. I am just getting the
source listed back. I have the propper AddModule/LoadModule stuff in my
conf as well as the propper AddType for php documents. When I tried to
revert back
I would like to also say that if one follows some sort of guideline that
person is likely to recieve more help (responses).
I know that if there are subjects that are vague and emails that contain
little information, i tend to delete them. Whereas, if someone takes the
time to address the issue, g
"Chris Shiflett" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> --- Burhan Khalid <[EMAIL PROTECTED]> wrote:
> > Next thing, please add a reply-to header that has the lists mailing
> > address.
>
> This is a topic of debate, and many people (including myself) would urge
people
> to
Jonathan Wilkes <[EMAIL PROTECTED]> wrote:
> Why would you want to do this ?
>
>
>
> -Original Message-
> From: Gary Ogilvie [mailto:[EMAIL PROTECTED]
> Sent: 11 July 2003 13:35
> To: [EMAIL PROTECTED]
> Subject: [PHP] Capturing Windows Login Details
>
>
> Hi All,
>
> I need to captur
Chris,
Not sure how you went about searching for php.ini, but you can type in
the following find command in your command prompt and it will search
your entire system:
find / -name php.ini -print
You may also want to look for php.in in /usr/local/lib. This is where
php install php.ini by default.
zavaboy <[EMAIL PROTECTED]> wrote:
> Ok, I want to delete only 1 row off of a database table...
> Example:
> I have a table with columns "user" and "item"...
> Lets say the table contains the following rows (user | item):
> 582-668243 | Toothbrush
> 582-668243 | Toothbrush
Note the 'LIMIT' part in
--- zavaboy <[EMAIL PROTECTED]> wrote:
> Lets say the table contains the following rows (user | item):
> 582-668243 | Toothbrush
> 582-668243 | Toothbrush
> 582-668243 | Toothbrush
...
> Anyway, how can I remove only 1 Toothbrush from user 582-668243?
With the information you provided, you can't.
"Zavaboy" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Ok, I want to delete only 1 row off of a database table...
> Example:
> I have a table with columns "user" and "item"...
> Lets say the table contains the following rows (user | item):
> 582-668243 | Toothbrush
> 582-668243 |
Nabil <[EMAIL PROTECTED]> wrote:
> I have an Linux server running Apache/PHP/MySQL.
> and I need to connect to another server running MSSQL server 7
>
> THE POINT IS the only way I have to connect is throu ODBC connection
> because the network administrator only allowed me to connect thru port 1
Ok, I want to delete only 1 row off of a database table...
Example:
I have a table with columns "user" and "item"...
Lets say the table contains the following rows (user | item):
582-668243 | Toothbrush
582-668243 | Toothbrush
582-668243 | Toothbrush
582-668243 | Trash can
582-668243 | Trash can
58
Nabil <[EMAIL PROTECTED]> wrote:
> thanks Jason, you've been always helping me ...
>
> Please i still have some fog regading this.. can u expaling me more about
> the timestamp and unix timestamp...
mysql's timstamp in this case is in the format:
MMDDHHMMSS
Unix timstamp number of secon
Why would you want to do this ?
-Original Message-
From: Gary Ogilvie [mailto:[EMAIL PROTECTED]
Sent: 11 July 2003 13:35
To: [EMAIL PROTECTED]
Subject: [PHP] Capturing Windows Login Details
Hi All,
I need to capture the username and password used to login to Windows
2000/XP with PHP.
Burhan Khalid wrote:
Listees,
Personally, I'm getting a little annoyed by this, and rather than
flame any thread in general, I would like to post this note
regarding some guidelines that I believe constitute responsible list
posting.
Here is a another resource on mailing list etiquette tha
- Original Message -
From: "Shawn McKenzie" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 14, 2003 1:51 PM
Subject: Re: [PHP] Re: Eval var from query
> Thanks Kevin! That works great. It outputs: hi my name is Shawn
>
> Now if I want to assign $data to another var, let
--- Burhan Khalid <[EMAIL PROTECTED]> wrote:
> Next thing, please add a reply-to header that has the lists mailing
> address.
This is a topic of debate, and many people (including myself) would urge people
to ignore this advice. Mangling mail headers can have bad consequences, and
there is very li
I have an Linux server running Apache/PHP/MySQL.
and I need to connect to another server running MSSQL server 7
THE POINT IS the only way I have to connect is throu ODBC connection
because the network administrator only allowed me to connect thru port 1433
that ODBC uses..
I tried to make it di
On Monday, July 14, 2003, 8:51:22 PM, Brad wrote:
BP> Dan Anderson wrote:
>> I'm trying to split up a file and dump it into a mySQL database BLOB.
>> Wherever I run the query:
>>
>> mysql_query("INSERT INTO table (field) VALUES ('{$buffer}')");
>>
>> Nothing ever shows up in the table -- whethe
On Monday, July 14, 2003, 11:04:48 PM, caspar wrote:
ck> If you want the file to go into a holding location until your administrator
ck> can approve it and move it to its real final location, then the holding
ck> location should be the target of the move_uploaded_file(). This makes it up
ck> to yo
thanks Jason, you've been always helping me ...
Please i still have some fog regading this.. can u expaling me more about
the timestamp and unix timestamp...
and regaring me issue i have a string with '20030714012548' what ever i got
it from (because i m getting this from MSSQL some time and the
Hi Chris..
thanks but your code generate the following error
Warning: date() [function.date]: Unexpected error in .
what's wrong? any idea ??
"Chris Boget" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> > > $timy = '20030714012548'; // time stamp from MySQL
> > echo strtotim
caspar kennerdale wrote:
- I'm a little confused. The files are already in there real location. It is
just that someone may want to change that location at a later date.
e.g. they upload an image to a folder and two months later decide it is
better placed in a different folder.
Or am I missing some
Listees,
Personally, I'm getting a little annoyed by this, and rather than
flame any thread in general, I would like to post this note
regarding some guidelines that I believe constitute responsible list
posting.
Firstly, please refrain from using obscure subjects. Some
recent ones th
On Wednesday 16 July 2003 02:00, Nabil wrote:
> $timy = '20030714012548'; // time stamp from MySQL
> echo strtotime = ($timy);
> $date = ("Y-m-d" , $timy);
> ?>
>
> and i have a wrong result how can i extract the -MM-DD from the
> string $timy
MySQL TIMESTAMP != UNIX TIMESTAMP
Look
> $timy = '20030714012548'; // time stamp from MySQL
> echo strtotime = ($timy);
> $date = ("Y-m-d" , $timy);
> ?>
You are so very close!
$timy isn't a unix timestamp, which is what date() is expecting.
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://
>
> I am trying to crate the function that will allow the
> administrator to Move a selected file to a different folder.
> I have looked at move_uploaded_file () and it seems that
> the source file to move needs to actually be the file's temp name.
> If the file has recently been uploaded then
i have
and i have a wrong result how can i extract the -MM-DD from the
string $timy
Please Advice
Nabil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Got it!
eval( '$newdata = "'.$data.'";');
Thanks!
Shawn
"Shawn McKenzie" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Thanks Kevin! That works great. It outputs: hi my name is Shawn
>
> Now if I want to assign $data to another var, let's say $newdata and have
it
> eval the $n
On Tuesday 15 July 2003 03:33, Anthony wrote:
> yes, I can edit the httpd.conf file. I'm looking in the Apache 2.0 docs
> and can't find the server directive. Also, to my knowledge and according
> to the docs, "alias mydom.com" is invalid. "Alias URL-path
> file-path|directory-path" is how the d
Thanks Kevin! That works great. It outputs: hi my name is Shawn
Now if I want to assign $data to another var, let's say $newdata and have it
eval the $name var inside of that. How would that work?
Meaning I want to $newdata = hi my name is Shawn
Thanks!
Shawn
"Kevin Stone" <[EMAIL PROTECTED
OK, thanks for this suggestion Jason. I'll try it and see and then see if I
can find any alternative
Best regards
Adrian
> -Original Message-
> From: Jason Wong [mailto:[EMAIL PROTECTED]
> Sent: 14 July 2003 20:34
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Automatically creating an im
I realized that may not make any sense. Following up the eample relates to
your original query like this..
> MySQL field `name` = hi my name is $name
> In my script I have:
> $name = "Shawn";
$data = 'hi my name is $name';
$code = 'echo "'.$data.'";';
$name = 'Shawn';
eval($code); // prints "hi
On Tuesday 15 July 2003 02:57, Adrian Teasdale wrote:
> Thanks for the reply. I was told that using html2ps and ps2gif via php
> pipes (if that's the right word) would let php go to a site and "browse"
> the page, print it off as postscript and then convert the postscript file
> to a gif. not su
yes, I can edit the httpd.conf file. I'm looking in the Apache 2.0 docs and
can't find the server directive. Also, to my knowledge and according to the
docs, "alias mydom.com" is invalid. "Alias URL-path
file-path|directory-path" is how the docs explain it. Am I missing
something. If I can do
--- phpu <[EMAIL PROTECTED]> wrote:
> Warning: Cannot send session cookie - headers already sent by
> (output started at c:\apache\htdocs\proiect_gsm\login.php:11) in
> c:\apache\htdocs\proiect_gsm\login.php on line 81
This should be obvious, but you do something on line 81 that you cannot do,
bec
Hello,
This is a reply to an e-mail that you wrote on Mon, 14 Jul 2003 at 20:15,
lines prefixed by '>' were originally written by you.
> eval($data)
> returns Parse error: parse error, unexpected T_STRING in
> C:appsapache2htdocstestquery.php(23) : eval()'d code on line 1
What are the exact conte
The string you send to eval() must be valid PHP code. So try this..
eval( 'echo "'.$data.'";');
- Kevin
- Original Message -
From: "Shawn McKenzie" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 14, 2003 1:15 PM
Subject: [PHP] Re: Eval var from query
> eval($data)
>
>
eval($data)
returns Parse error: parse error, unexpected T_STRING in
C:\apps\apache2\htdocs\test\query.php(23) : eval()'d code on line 1
Thanks!
Shawn
"Shawn McKenzie" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> How can I evaluate a var that is from a text field of a database?
Hello,
This is a reply to an e-mail that you wrote on Mon, 14 Jul 2003 at 19:58,
lines prefixed by '>' were originally written by you.
> Every time i run this script i got this error:( my apache server is
> very well cofigured)
> Warning: Cannot send session cookie - headers already sent by (outp
Hello,
This is a reply to an e-mail that you wrote on Mon, 14 Jul 2003 at 20:03,
lines prefixed by '>' were originally written by you.
> How can I evaluate a var that is from a text field of a database?
> Example:
> MySQL field `name` = hi my name is $name
> In my script I have:
> $name = "Shawn"
On Mon, 2003-07-14 at 15:03, Shawn McKenzie wrote:
> How can I evaluate a var that is from a text field of a database? Example:
>
Hi Shawn--
Have you looked at eval?
http://www.php.net/eval.
Cheers,
Marco
--
php|architect -- The Magazine for PHP Professionals
NOW AVAILABLE IN PRINT! Get y
How can I evaluate a var that is from a text field of a database? Example:
MySQL field `name` = hi my name is $name
In my script I have:
$name = "Shawn";
After fetching a query result as an associative array I have the contents of
the `name` field in $data
If I echo $data I get: hi my name i
Hamid
Thanks for the reply. I was told that using html2ps and ps2gif via php
pipes (if that's the right word) would let php go to a site and "browse" the
page, print it off as postscript and then convert the postscript file to a
gif. not sure if that is possible which is why I posted to the list
--- Ray Hunter <[EMAIL PROTECTED]> wrote:
> Does anyone know if the local values for the php.ini directives
> have presidence over the master value?
Yes, and yes.
Chris
=
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/
--
PHP General Mailing List (
I have this script to login to site:
..
if ($_POST['email'] == "" || $_POST['password'] == "")
{
print 'Email or password cannot be blank !Back';
exit;
}
include ("connect_mysql.php");
$crpass=md5($_POST['password']);
$sql = "SELECT * FROM users W
--- Anthony <[EMAIL PROTECTED]> wrote:
> This isn't necessarily PHP specific, but I'm looking for more
> information on HTTP headers. I'd like to know what headers I
> should send and why.
That is an admirable desire, and I wish more developers sought the same
knowledge. You can learn more about
Cant you edit the httpd.conf?
I know there might be plenty of reasons why not to...but im just checking.
=)
Server mydom1.com
Alias mydom.com
"Anthony" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Thanks for the links, I'm going through them now
> as far as the location thin
Does anyone know if the local values for the php.ini directives have
presidence over the master value?
--
BigDog
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
This is a reply to an e-mail that you wrote on Mon, 14 Jul 2003 at 18:48,
lines prefixed by '>' were originally written by you.
> I'm trying to split up a file and dump it into a mySQL database BLOB.
> Wherever I run the query:
> mysql_query("INSERT INTO table (field) VALUES ('{$buffer}')"
What's your:
$cfg['PmaAbsoluteUri']
$cfg['Servers'][$i]['host']
? Should be something like :
$cfg['Servers'][$i]['host'] = 'http://localhost/phpMyAdmin';
$cfg['Servers'][$i]['host'] = 'localhost';
Post other config entries that you've changed...? What authentication
method are you using, etc? So
I have a couple of problems with newish MySQL database.
I am running WinXP-Pro, MySQL V 4.0.12-nt, Apache etc. I previously got
this all working, but today (after a break of a couple of weeks) I can't get
"phpMyAdmin-2.5.0-rc1" to work.
I have configured {config.inc.php} exactly as per documenta
Here's what I'm thinking, just looking to see if anyone has done this or
similar.
- I have a MySQL DB and I create an ODBC datasource for it on my windows box
- I then open MS Access and link the tables from my datasource
- Access provides a graphical relationship builder, so I build relations in
> -Original Message-
> From: caspar kennerdale [mailto:[EMAIL PROTECTED]
> Sent: 14 July 2003 18:49
>
> I was hoping someone might clarify what may seem like a basic
> point. I looked in the archives but didnt seem to get my answer.
>
> I am creating a basic set of functions that will fo
Dan Anderson wrote:
I'm trying to split up a file and dump it into a mySQL database BLOB.
Wherever I run the query:
mysql_query("INSERT INTO table (field) VALUES ('{$buffer}')");
Nothing ever shows up in the table -- whethere field is a text or a blob
and whether I dump in text or binary. Oddly
1 - 100 of 190 matches
Mail list logo