Here's the deal:
mysqld, the database server, has to be running and sitting there waiting for
mysql, the client, to be able to talk to it.
Before you can use any of the other mysql things, you *MUST* run mysqld (or
safe_mysqld).
So, start up an extra DOS Windows, and run mysqld.
It will start
I have a big array (nearly 1000 lines) that I would like to pass to a C
program. I don't want to create a temporary file to pass my array (If
possible ?!?), and I don't think the command line will fit my needs.
Is there a way to execute a program with a php string as the standard
input.
Has anyone come up with a way to trap and log fatal PHP errors? I
understand
how to implement and use a custom error handler for all other error
conditions, but there doesn't appear to be any way to log fatal errors
(such
as a parse error or errors resulting from declaring the same function
Try Manuel Lemos mail class.
I think it does that... I'm pretty sure it can *send* the attachments, so
should at least give you an idea how to go about reading them.
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a
Try running ldconfig from your command line.
I think you just run it and it does things, and it all then works...
It's been ages since I did it though...
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD:
tried it on my own server and found that php assigns the values 'name_x'
and
Those are really name.x and name.y in HTTP, but since . is not allowed in
a PHP variable name, you get _ instead.
So UPS is using, almost for sure, name.x and name.y in their variables.
(Well, they probably have
How can the resource be invalid if I'm getting the results back? I'd
appreciate any explaination.
What results are you getting?...
$connection_id = @mysql_connect ('localhost', 'root') or die('No
connection.');
$database_id = @mysql_select_db ('cgcms', $connection_id) or die('No
Will Session have problem when people browse from a http page to a https
page and go out again?
Almost for sure, yes.
You'll need to transfer by hand any info that must transfer.
From a security view-point the less crap you transfer to the https site the
better, to avoid anybody trying to
I'm pretty new to PHP but all I've seen of it so far I pretty much love!
I've built a web log but when the user enters their data and they use '
or (and you know they will) php always shows it from the included
web log as
\' How can I filter out these backslashes so they don't appear
Hi Everyone,
Thanks to the suggestions from everyone I got it working..
Thanks
And Check it out @ http://www.alanis-morissette.com/am69/
(It's the TV Guide :-)
Rick
-Original Message-
From: Rick Proctor [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 26, 2001 2:04 PM
To: [EMAIL
Marcus James Christian pressed the little lettered thingies in this order...
Hello,
I'm pretty new to PHP but all I've seen of it so far I pretty much love!
I've built a web log but when the user enters their data and they use ' or
(and you know they will) php always shows it from
phat linux and vmlinux will work like this as well.
*
scott [gts] wrote:
search for: linux4win
that's probably what you're looking for...
you can install on an existing windows partition
and have it look like a giant file.
-Original Message-
From:
Hey all,
I am trying to add some of the new alpha channel based features to existing charts
that I have written and have the following questions:
1. After installing GD 2.0.1 on a redhat 7.0 system and PHP 4.0.6, I am
unable to restart apache without a png_get_error_ptr fatal error.
When I
Hi!
Is there any way to use dbf files with it's indexes in php?
Win+Apache+PHP4.05
Thanx,
kos
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL
know about, i.e. an automated backend for building the PDF documents from
an
original source? --Kent
Yes. You need Jade and, err, something else I also don't have, and big
honking computer with lots of RAM, and a lot of know-how...
It's documented somewhere in the documentation, I think...
Have been trying to compile 4.0.6 with this configure line:
./configure
--with-config-file-path=/etc/httpd/conf/
--with-mysql
--with-gd=/usr/local
--enable-ftp
--enable-xml
--with-jpeg-dir=/usr/local/include
--with-png-dir=/usr/local/include
--with-zlib-dir=/usr/local/include
I don't see how this is weighted.
The count(car_id) and group_by should give a score for each car_id.
I neglected to use count(car_id) as score and to add order by score desc
though.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
You might be able to send some headers about caching and expiration and
convince IE that it's okay to show the user the old data...
Alternatively, forget the JavaScript history (which won't work for some
users anyway) and use $HTTP_REFERER to link back, perhaps with some PHP
variables to return
Hello,
I want to have a DOC Type ate the top of every PHP script I run. Is there a
way to edit the PHP.ini to make PHP spit out a line of text before echoing
anything?
Thank you,
Brandon Orther
WebIntellects Design/Development Manager
[EMAIL
I have been using PHP Coder as I am somewhat familiar with the ColdFusion
IDE (CF Studio)
http://www.phpide.de/
-Original Message-
From: scott [gts] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 26, 2001 4:32 PM
To: php
Subject: RE: [PHP] search for a better php source code viewer
If all else fails, try ODBC as a fall-back...
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
- Original Message -
Hello-
I am selecting a value from a blob field in a mysql db. The value looks like
this:
Test 12...3 \r \n br %0%D Test
When I print that value in a TEXTAREA$value/TEXTAREA -- The textarea returns
exactly what you see above. I am trying to get it to display a line break (so
that I can
Title: PHP code secrity on VirtualHost
I ran
into the problem of certain code needing to suexec or do priveledged things that
you dont want other domains to be able to do and I ended up writting my own
apache module in C for lack of any other way. If you come up with another
solution I'd
AH! Thank you for this info! This was exactly the problem! When I changed
the name_x to name.x, it worked, and UPS' site gave me back what I was
looking for. Thanks again, you're a lifesaver!
-- Patrick
Richard Lynch [EMAIL PROTECTED] wrote in message
Marcus James Christian said:
: \' How can I filter out these backslashes so they don't appear on the
: final public viewable page?
That's due to the magic_quotes variables in the PHP settings.
You can apply 'stripslashes()' to the string:
$what_they_said = stripslashes($what_they_said);
Try www.wotsit.org which has hundreds of file formats. There's another
site, but I've lost the bookmark.
Miles
At 12:58 PM 6/27/01 +0100, TV Karthick Kumar wrote:
Hi List,
I am working on importing data from Lotus Organizer 5.0 to an ddress
book application, written in PHP.
If
Hello,
I'm trying to understand the connection handling in PHP. I've read the
documentation page, but everything I've tried doesn't seem to work.
I have a script that downloads and parses 5 search engine xml feeds and
returns them... a meta search engine of sorts.
I'm having problems with
Is there any way to set output_buffering per directory or host?
I tried putting:
php_value output_buffering On
in my virtual host, also in directory, location, and .htaccess
the only place it seems to get noticed is in php.ini
php4.7devel/apache1.3.20/linux
thanks,
- Mark
--
PHP General
cURL is probably your only option, but I think you can build cURL into PHP
if you haven't already...
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time:
I need a class that can quickly help me set cookies and sessions, and
check
up against them
anyone have an idea where i can get one like this?
If you can't find one in any of the umpteen PHP code archives linked from
http://php.net/links.php, here's one I wrote for you:
- session.inc
You would have to use javascript to do that... PHP is server-side, not
client-side. You could create the javascript with PHP, but the PHP can't
make the menu pop out and stuff...
--Jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Jamie Thompson wrote:
use the str_replace() function
http://www.php.net/manual/en/function.str-replace.php
No. Use stripslashes.
http://php.net/stripslashes
regards
Wagner
-Original Message-
From: Marcus James Christian [mailto:[EMAIL PROTECTED]]
Sent: 27 June 2001 05:19
To:
I sent a reply to this earlier but for some reason some of my posts never
make it to the list, so here it is again (hopefully it will post this time,
and only once:)
The way I do it is to use a function to check if magic quotes are on
(because if they're on the conversion is done automatically
PHP is a server side language, Javascript is better for this.
Miles Thompson
At 03:03 PM 6/27/01 +0200, Deon Heunis wrote:
Hi,
I would like to know if it is possible to make a pop-out navigation menu
with PHP.
Regards,
Deon Heunis
Hetzner Africa
PO Box 3450
Durbanville 7551
South Africa
On Wed, Jun 27, 2001 at 07:26:53AM -0600, Thomas David Kehoe wrote :
[...]
$my_records = new Display_Records;
[...]
?php
class Display_Records {
function display_records($row, $record_count) {
The constructor of your class assumes two parameters;
you're creating an instance
To all of your who sent so many great answers I would like to say thank you!
THANK YOU! THANK YOU!
I ended up using strip slashes and it worked perfectly on only my second
attempt of putting it into the code!
Thanks,
Marcus
Marcus James Christian wrote:
Hello,
I'm pretty new to PHP but
-
Disclaimer: The information contained in this email is intended only for the
use of the person(s) to whom it is addressed and may be confidential or
contain legally privileged information. If you are
Will PHP run under Windows XP?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Hello,
I have a web site on a Unix environment running PHP 3.0 and MySQL.
I need to convert data in an Excel format to a MySQL database format
periodically based on the input feed received in Excel format. the
conversion to MySQL is not a problem at all.
What I need help is to read data from
There arn't any permission problems, since we're already getting php to run,
could it be that php 4.0.6 under windows dosn't support UNC paths.. Iow,
\\server\share\name paths!?
-Ursprungligt meddelande-
Från: Richard Lynch [mailto:[EMAIL PROTECTED]]
Skickat: den 27 juni 2001 07:12
Till:
Hi,
I keep receiving a lot of word documents the I need to extract and put
into a mysql table. As of now, I do a cut and paste manually using a html
from to a php script to dump it into the mysql table.
Since the format is usually the same (most of the time) I am sure there
should be another
Hi everyone,
Just don't really know where to post this, so here goes:
I am working as a freelance programmer. Problem is I don't really have a
clue how the pricing mechanism in the industry works. I have heard
calculations based on man hours and lines of code, so perhaps anyone one can
tell me
: defeats the purpose of PHP sessions. I can check the HTTP_REFERER to see if
: the user came from my own site, but that can be spoofed. I can log and check
: the users IP address, but that can't be relied upon.
:
: Is there any reliable way around this? Am I missing something obvious?
On the
check the httpd's X_FORWARDED_FOR var using getenv or similiar...
Quoting Christian Dechery (Wed, Jun 27, 2001 at 09:01:28AM -0300)
yeah... that's a possibility...
so there's no way I can see the user'ss IP?
At 09:42 27/6/2001 +0100, Colin May wrote:
Almost as if the request was proxied
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Adrian D'Costa) wrote:
1.Open the html file in read only mode
2.Start reading the html file till I encounter a td tag (I don't know
how to do this)
3.Grab that data after the td tag (and then what?)
See
Hi there
Is there anyway of passing a xml document to a php page as raw data.
What I want to do is eg.
send a page a xml document and recieve a response ( in xml ) from that page.
I could eg get the result using fopen( 'http://url.com/xml.php' , 'r' )
but how do i send it any data without
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I have a function that works perfectly (from within a script). But
when I make it a class (object) and call it from an external file,
I get the following error:
Warning: Missing argument 1 for display_records() in
Why not?
if it works with WinME and PWS, I suppose it will with XP too.
Please try it and report what happens please.
Jochen Kaechelin [EMAIL PROTECTED] wrote in message
NFBBLHGFAKNLFNPOHMPHKEKEDEAA.jk@intern">news:NFBBLHGFAKNLFNPOHMPHKEKEDEAA.jk@intern...
Will PHP run under Windows XP?
--
Hello,
I had the same problem:
So I tried stripslashes..
But Queries do break if unslashed ' or are present.
and furthermore, there are many other problems ..
So I created a function called entities..
Let's imagine a user
made an input of
name: Simon The Snake
surname:O'Connors
Richard Lynch wrote:
Been trying to compile PHP.4.0.6 with --with-zlib directive and failing.
Using --with-zlib-dir, however succeeds.
Does anyone knows the difference between the two ?
--with-zlib-dir works and --with-zlib doesn't?
:-) :-) :-)
If you got it to work, leave it
It all depends on your experience and knowledge.
You know that if you're too experienced you can save lots of research and
learning time.
therefore you have to estimate how much does your hour cost and how much are
you able to do.
you can start by $20/hour...
Alva Chew [EMAIL PROTECTED]
Hi,
Is there any function to replace a character in an Array ??.
Thanx in adv.
~ Karthick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL
Hi,
Is there any function to replace a character in an Array ??.
Thanx in adv.
~ Karthick.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL
Hi -
MT There was some development on PHP-Auction, I did a custom-rolled one for a
MT client but it's not like e-bay.
Not yet! (just joking) -
This is the status of phpauction:
- we are finally near to the first stable release
- the features are the basic feature needed by an auction package
you can use
auto_prepend
- Original Message -
From: Brandon Orther [EMAIL PROTECTED]
To: PHP User Group [EMAIL PROTECTED]
Sent: Wednesday, June 27, 2001 9:51 PM
Subject: [PHP] Adding a line of text to every page PHP spits out
Hello,
I want to have a DOC Type ate the top of every PHP
$B!&!&!&(B $B:#F|$N;q6b7+$j$G$*:$$j$NJ}$O(B $B!&!&!&(B
http://www.justinmail.net/ma01/pa01.htm
$B!&!&!&(B $B!&!&!&(B $B!&!&!&(B $B!&!&!&(B $B!&!&!&(B $B!&!&!&(B
$B!&!&!&(B $B!&!&!&!&(B
$B#1#0#0K|1_$^$G$4M;;qCW$7$^$9!#(B
$BF|K\A49q!&:#F|Cf$K4V$K9g$$$^$9$N$G(B
Thanks for the advice, what about charging by line of code? how does that
apply?
elias [EMAIL PROTECTED] wrote in message
9hes64$f3r$[EMAIL PROTECTED]">news:9hes64$f3r$[EMAIL PROTECTED]...
It all depends on your experience and knowledge.
You know that if you're too experienced you can save
Hello,
I have a web site on a Unix environment running PHP 3.0 and MySQL.
I need to convert data in an Excel format to a MySQL database format
periodically based on the input feed received in Excel format. the
conversion to MySQL is not a problem at all.
What I need help is to read data from
I don't see how this is weighted.
I would suggest doing it the easy way and treating the options as
keywords and just putting them all in a text field with a fulltext
index. this will give you the weighting you want and it will be a lot
easier to deal with, but you will have to watch out for
elias [EMAIL PROTECTED] wrote in message
9heq8k$e6$[EMAIL PROTECTED]">news:9heq8k$e6$[EMAIL PROTECTED]...
Why not?
if it works with WinME and PWS, I suppose it will with XP too.
I was under the impression that XP is the next in line after Win 2000, not
the 95/98/Me line.
Young
snip
--
Hi all,
does anybody know a good piece of script or has a good tip
for me how to detect platform and browser of the client?
thanx in advance!
Wilbert
-
Pas de Deux
Van Mierisstraat 25
2526 NM Den Haag
tel 070 4450855
fax 070 4450852
http://www.pdd.nl
[EMAIL
Hi,
I'd like to write some scripts that resize high-res jpegs and gifs into
smaller jpegs and gifs. What are the best tools for doing this? I've heard
of the GD library and ImageMagick. Which one is better? Are there others?
I'll definitely have to generate gif's, so png support by itself isn't
Here's some code to include in your HTML to create the popups.
html
head
SCRIPT LANGUAGE=JAVASCRIPT
!-- Hide from older browsers which ignore script tag
-- they'll interpret this as comment.
// Javascript-enabled browsers will ignore HTML-style
Hi
How do I convert arrays to string ??.
~ Karthick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
On Thursday 28 June 2001 02:08, Mark Maggelet wrote:
Is there any way to set output_buffering per directory or host?
I tried putting:
php_value output_buffering On
in my virtual host, also in directory, location, and .htaccess
the only place it seems to get noticed is in php.ini
Try using
try the function nl2br($value)
regards,
Alva Chew
Nathan Cook [EMAIL PROTECTED] wrote in message
00cf01c0ff3d$72992160$[EMAIL PROTECTED]">news:00cf01c0ff3d$72992160$[EMAIL PROTECTED]...
Hello-
I am selecting a value from a blob field in a mysql db. The value looks
like
this:
Test
Hello,
Manisha wrote:
Hi,
We are developing web application. The client wants it to get connected to
their central database server in USA. Web server is in Singapore.
Web server configuration - Situated in Singapore, unix / php / mysql -
this database is only for some special cases
use implode(separator, $array).
the separator joins the array together.
For example, if you got 'cat', 'run', 'dog' in the array
using implode(-, $array) will give you:
cat-run-dog. Got it?
regards,
Alva Chew
[EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi
Hi adam!
On Wed, 27 Jun 2001, adam (dahamsta) wrote:
[Please copy replies off-list.]
I want to use PHP4 sessions for authentication, but I'm having difficulty
understanding how to get around users spoofing, stealing or linking sessions.
Here's an example: Alice sends Bob a link from a
Hello,
Niel Zeeman wrote:
Hi there
Is there anyway of passing a xml document to a php page as raw data.
What I want to do is eg.
send a page a xml document and recieve a response ( in xml ) from that page.
I could eg get the result using fopen( 'http://url.com/xml.php' , 'r' )
Hi!
Is there is any code or class written already that allow PHP to send emails
to fax machines?
thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail:
I had PHP 4.0.5 ISAPI running in Win2K IIS5. It also crashed every few
minutes. I switched over to CGI and now its running like a dream.
Bernie Kruger
Phil Driscoll [EMAIL PROTECTED] wrote in message
01062709242201.02176@linux">news:01062709242201.02176@linux...
On Tuesday 26 June 2001
You will also find that file(); may have been disabled - due to the possible
security issues..
ie file ( /etc/shadow); or file (/etc/passwd);
I believe that may apply to fopen, too.
James
-Original Message-
From: atan [mailto:[EMAIL PROTECTED]]
Sent: 23 June 2001 02:46
To: [EMAIL
Hello all,
Can anyone see what's happening here?
I'm trying to pass some variables (font stuff) to a cgi script so that it
will appear the same as the current theme being used.
Everything seems to be working except the replacements. here's the code. Any
help much appreaciated, thanks!
Or would
Hi there,
I want to encrypt mails coming from my webform with pgp. Is it possible?
regards,
Lopez
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL
75 matches
Mail list logo