On Sunday 15 December 2002 06:31, Ryan Smaglik wrote:
First, please use a _descriptive_ subject. Something which gives people an
idea of what your post is about.
I got a generic ³text to png on the fly² script which works fine but I want
to change it so that the image only the size of the
php-general Digest 15 Dec 2002 08:02:34 - Issue 1764
Topics (messages 128293 through 128322):
Re: Formatting dates (from MySQL)
128293 by: freaky
128294 by: Marco Tabini
128295 by: John W. Holmes
Undefined Variable
128296 by: Anthony Ritter
128297
Hi!
To fetch information from several tables you usually use a join
operation. Here's a starting point in the MySQL manual.
http://www.mysql.com/doc/en/JOIN.html
/Lars ([EMAIL PROTECTED])
Cesar Aracena wrote:
Hi all,
I have several tables from which I have to fetch certain products
Single quotes are normal strings. Double quotes are strings in which
substitutions can take place. For example:
?php
$a = 'test';
echo '$a'; // outputs $a
echo $a; // outputs test
?
Double quotes also expand escape strings (e.g.\n) whereas single
quotes don't.
Cheers,
Marco
--
Marco Tabini wrote:
Single quotes are normal strings. Double quotes are strings in which
substitutions can take place. For example:
?php
$a = 'test';
echo '$a'; // outputs $a
echo $a; // outputs test
?
Double quotes also expand escape strings (e.g.\n) whereas single
quotes don't.
However,
Is there a way to find out exactly what HTTP request was made for a
page? Something like:
GET http://myserver.com/whatever.php HTTP/1.1
Host: myserver.com
--
The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent
does anybody know of a class or a PEAR module to check the status of an AIM
user and see if they are online or offline.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$url = http://myserver.com;;
$sockhandle = @fsockopen($url, 80, $errno, $errstr);
if(!$sockhandle) {
$mes = server $url not available!;
$result = centerh5$mes/h5/center;
return $result;
} else {
$request = GET / HTTP/1.1\r\n;
$request .= User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows
Hello,
I'm going to write a new PHP editor/ide, it named 'PHP Express'.
I opened new website for this project. http://www.phpexpress.com
and i created a small voting about 'user interface'. If you want
to support me and/or if you have an idea for this project you can
connect this web site and
I'm adding information with the INSERT command to 2 tables. In the
first table, called courses, I have a field called course_id that is
an auto-increment - assigned by the table. In the second table, called
par, I have a field also called course_id. I need to assign to
this field the value
Hi,
I have few images in PostgreSQL Blob field that I want to retrieve and put
on HTML page. Is there a way how can I do it directly from blob, or I have
to copy it into tmp file first and then use img src tags in html?
TIA,
miro.
--
PHP General Mailing List (http://www.php.net/)
To
On Monday 16 December 2002 01:33, Miro Kralovic wrote:
* Bad thread start
\__
You have started a new thread by taking an existing posting and replying to
it while you changed the subject.
That is bad, because it breaks threading. Whenever you reply to a message,
your mail client
On Monday 16 December 2002 01:22, drparker wrote:
This is the type of question that is best asked on the php-db list.
I'm adding information with the INSERT command to 2 tables. In the
first table, called courses, I have a field called course_id that is
an auto-increment - assigned by the
ops, sorry for that..
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: Sunday, December 15, 2002 12:39
To: [EMAIL PROTECTED]
Subject: Re: [PHP] JPG from Blob to HTML
On Monday 16 December 2002 01:33, Miro Kralovic wrote:
* Bad thread start
\__
You
Thanks, but I'm trying to see what the client sent to get my page, not
what a host returns when I send it a request...
Hatem Ben wrote:
$url = http://myserver.com;;
$sockhandle = @fsockopen($url, 80, $errno, $errstr);
if(!$sockhandle) {
$mes = server $url not available!;
$result =
How do i make a form that will allow me to add 2 to the value of a MySQL
field? I am trying to change it from 75 to 77. Is this possible?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
mysql_query(update table set field=field+1 where whatever='whatever');
Steven M wrote:
How do i make a form that will allow me to add 2 to the value of a MySQL
field? I am trying to change it from 75 to 77. Is this possible?
Thanks
--
The above message is encrypted with double rot13
Hi all!
I've written some small FTP-Class, which i would like to
release into PEAR.
The class covers a method, to recursively up- and download whole
directories. But everytime i try running the method over the
whole PEAR-API-Doc, i generated with phpdoc, i get the
following error, even, if the
Warning: socket_connect() unable to connect [60]: Operation timed out in
/usr/home/maxc/public_html/admin/functions.inc on line 66
Is there any way to time out this function? I only want to wait 5 seconds.
Thanks in advance,
Max
Johannes Schlueter [EMAIL PROTECTED] wrote in message
[EMAIL
I have necessary PGP client software on my machine and have tested the
functionality of PGP from my site, however, I want to know how to use PHP to
send a PGP email.
This is the scenario,
I have a shopping cart which directs to SSL, then while in SSL, the customer
will input their information,
I have necessary PGP client software on my machine and have tested the
functionality of PGP from my site, however, I want to know how to use
PHP to send a PGP email.
This is the scenario,
I have a shopping cart which directs to SSL, then while in SSL, the
customer will input their information,
this should work:
for ($i=0; $i5; $i++) {
$mypics[$i] = $picture;
}
Edward Peloke wrote:
Ok, very basic question, how do I am going through a loop 5 times, each
time, I want to store a value into an array, do I simply set the value of
$picture=array($mypics);
and each time it loops it
Leif
Many thanks for that, your help is much appreciated. *smiles*
Steven M
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am using PHP and MySql and wanted to know if it possible to pass the value
inserted in a text box back to the page using PHP_SELF. Bellow is the
snipped of code. The part that is not working is q=input. Any ideas?
Thanks.
while($query_data = mysql_fetch_array($result)) {
$id = $query_data
Rather than using forms to pass information to a script you should
consider using sessions instead.
In any case if you are going to use forms instead of appending the
information to the form action use the input type=hidden field.
input type=hidden name=action value=change
This keeps your form
Hello,
I have a logging program I wrote in Perl that writes basic info to a MySQL
database. I can't get it working from within PHP. I've tried:
print !--#exec cgi='vislog.cgi'--;
echo (!--#exec cgi='vislog.cgi'--);
include(vislog.cgi);
Nothing works. What am I missing?
Thanks,
Troy
--
PHP
php-general Digest 15 Dec 2002 22:09:08 - Issue 1765
Topics (messages 128323 through 128346):
Re: Querying two tables
128323 by: Lars Olsson
Re: Session: I RTFM
128324 by: Marco Tabini
128325 by: michael kimsal
Getting full HTTP request the page was requested with?
--- See Kok Boon [EMAIL PROTECTED] wrote:
I want to send emails that have graphics, for example
the pub logo. I know that there are 2 ways to do so
(maybe there are more, pls enlighten me):
1. use html email with
img src=http://www.mydomain.com/logo.gif;
2. use MSWORD to insert the
Hi,
Am just a newbie at this and was going great until I have hit this smell
snag.
I am connecting to mysql and all works well there. I query a table
Illustrations ($query = SELECT * FROM Illustrations;), and want to
print the values of two columns (titletext img)within each row as
the request
The easiest way to include a picture in the email would be through the
html. The second way sounds much more complex. Right now, I really don't
know of any other ways. Perhaps copy and paste?
On Sun, 15 Dec 2002, Chris Shiflett wrote:
--- See Kok Boon [EMAIL PROTECTED] wrote:
I want to send
can you post some more of your code? I think, if it's not too big, the
entire while loops
Martin
-Original Message-
From: Bruce Levick [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 9:45 AM
To: [EMAIL PROTECTED]
Subject: [PHP] select * From
Hi,
Am just a newbie at
--- Leif K-Brooks [EMAIL PROTECTED] wrote:
Thanks, but I'm trying to see what the client sent to
get my page, not what a host returns when I send it
a request...
:-)
I think he misunderstood your question or something.
There are a few different ways to do what you want to do.
First, if you
[EMAIL PROTECTED] (Cesar Aracena) wrote in news:005801c2a3c6$8ac4f190
$4200a8c0@NOTEBOOK:
And the subcategories are related to categories with the Relationships
table?
If that's the case:
SELECT * FROM Relationships WHERE CatId = '1'
And if you want the names.
SELECT * FROM Subcategories as
Print tdtr$row[titletext]br/td/tr;
Print tdtr$row[img]br/td/tr;
check if the img field in the returned row even has a value or try:
$row[0] and $row[1] instead of $row['titletext'] and $row['img']
-Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
I have a logging program I wrote in Perl that writes basic info to a
MySQL
database. I can't get it working from within PHP. I've tried:
print !--#exec cgi='vislog.cgi'--;
echo (!--#exec cgi='vislog.cgi'--);
include(vislog.cgi);
Maybe virtual() ?
www.php.net/virtual
---John W.
Looks good to me, but as Peter said, see if you really are getting something
in ['img']
try print_r($row) or var_dump($row) to make sure
-Original Message-
From: Bruce Levick [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 10:01 AM
To: Martin Towell
Subject: RE: [PHP] select *
Hello,
I have been looking for a newsgroup where I can post questions about
css/html. I did not find any. Any suggestions?
If you want a break from php, my problem is as follows:
Have got a table in html with different background colors on the rows. When
I print the page to my printer, the
[EMAIL PROTECTED] (Bruce Levick) wrote in
[EMAIL PROTECTED]:">news:[EMAIL PROTECTED]:
If you want to access the data in an array try $row['field']
I am connecting to mysql and all works well there. I query a table
Illustrations ($query = SELECT * FROM Illustrations;), and want to
print the
Hi all,
I try to print some information (text and image) that I retrieve from an oracle DB,
but I got the image printed as binary junk. When I put the line that print the image
in a html image tag, I got a red square with X inside. What can I do to solve this
problem?
This is my code:
--- Naif M. Al-Otaibi [EMAIL PROTECTED] wrote:
I try to print some information (text and image) that I
retrieve from an oracle DB, but I got the image printed
as binary junk. When I put the line that print the image
in a html image tag, I got a red square with X inside.
What can I do to
search google for RFC HTML email, or look at phpmailer.sourceforge.net.
It's roughly along the lines of:
Headers...
Subject: My html email
Content-type: multipart/mime
Content-boundry(): BOUNDRY-ABC
---BOUNDRY-ABC---
Content-type: text/html
...more headers...
Hello! This is an html email
You're trying to mix two different things. SSI (Server Side Includes) and PHP.
The page you're calling gets parsed ONLY by PHP. So echoing #exec won't work.
Look at the virtual() function ~~ http://php.net/virtual
-js
On Sun, 15 Dec 2002 14:10:17 -0800 Troy May wrote:
Hello,
I have a
John --
...and then John W. Holmes said...
%
% I know the text editor question has been beat to death, but I'm looking
Heh.
% for a simple editor with syntax highlighting that can be installed in
% Windows by a general user. It would have to be something that didn't
% access the registry, as
I would recommend UltraEdit:
http://www.ultraedit.com/
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Doug --
...and then Doug Parker said...
%
% I'm about to embark on a project where I have to enter many, many fields
% into a MySQL database, and I don't know how to approach the database
...
%
% Any suggestions would be greatly appreciated...
Have you asked on the mysql list? I'd think
Hi jonathan,
Just to let you know, there is no image in
an html email with an image - img src=cid:abc123;
in you last email replying to this same subject. Maybe you should check
again?
But thanks for you reply anyway. I got my answer at pear.php.net. also,
thanks to Jason wards
Cheers.
I would like to stream audio data from a low bandwidth computer to a high
bandwidth server, and then have listeners connect and listen via the high
bandwidth server.
In java I would have a small process run on the server that would receive
the audio stream and echo a copy of it down to each
Dear all
I just wonder did anyone know if php can act as a scheduler rather than
execute script manually?
i want to set a schedule for php to run certain script at specify time, to
what i understood in php is : the script can only be process when a homepage
had been execute. but i want the script
--- Jack [EMAIL PROTECTED] wrote:
i want to set a schedule for php to run certain
script at specify time, to what i understood in
php is : the script can only be process when a
homepage had been execute. but i want the script
to be excute even no one open a homepage contain
php script in it!
I've been having trouble with a script that works fine in 4.1 and
4.2.3, but doesn't work in 4.3.0RC2. It seems that if your script
generates a php notice (which is logged, not displayed to the screen)
something gets output anyway; this prevents setting cookies. Here's
the simplest example I
At 20:23 15.12.2002, Lightfirst said:
[snip]
I am using PHP and MySql and wanted to know if it possible to pass the value
inserted in a text box back to the page using PHP_SELF. Bellow is the
snipped of code. The part that is not working is q=input. Any
Hi, all --
I am starting a project that will have a web front end and mysql back end
and handle staff input (eg not general web surfers, though an Internet face
may come about one day)and updating for client records and scheduling. I
am comfortable with both perl and php (and expect to be much
Folks, even if perhaps not intended as a troll, the effect will be the
same. Please refrain from cross-posting dozens of messages.
David, pick whichever language you are more comfortable with. There is
pretty much nothing in one that can't be done in the other. It's like
asking the Beef and
53 matches
Mail list logo