Is Sablotron broken in 4.2.1 because none
of the transformations have worked that
I have tried.
I am using:
php 4.2.1
apache_1.3.24
expat-1.95.2
my files are:
'wget http://213.84.71.105/news.xml'
'wget http://213.84.71.105/news.xsl'
'wget http://213.84.71.105/news.php'
In that case, you can look at your autoexec.bat. There is a variable (I think
called path). Just make sure it's right.
On Sunday 02 June 2002 21:31 pm, you wrote:
I forgot to write I run on a win98, so no shell :)
So what?
Makis
-Original Message-
From: Evan Nemerson
Jared:
On Mon, Jun 03, 2002 at 04:33:45PM -0400, Jared Boelens wrote:
In my case i am trying to override a variable. I have a property Username
for both the parent and the child. I am wondering if there is a way to
differenciate between parent-Username and child-Username.
Are you talking
Hello,
I would like to allow visitors to my site to download documents created
with MS office and .PDF files as well. In order to prevent linking from
other sites I'd like to make or modify a script that hides the actual
location of the files.
A pointer in the right direction would be most
Hiya,
You're using single quotes around all your strings,
for variables to be replaced with their values, you must use double quotes.
Try replacing every ' with .
HTH,
Dw
Sqlcoders.com Dynamic data driven web solutions
- Original Message -
From: Jule Slootbeek [EMAIL PROTECTED]
To:
Hey guys,
i'm getting this error with the following sql script using php:
--error--
Warning: Supplied argument is not a valid MySQL-Link resource in
/var/www/phpquiz/register_user.php on line 12
--error--
--script--
$link_glob = mysql_connect('$host_glob', '$un_glob', '$pw_glob');
$query =
Does anybody know of any software all ready written or what would have to
be done, to allow us to run a cyber cafe style setup. What we need the
software to do is to allow someone to come in and plug in their computer to
our network (actually a customers network). They want the following:
1.
If this is truly the code you're using, you're missing the closing
curly-brace after the else statement. I.e. this:
} else {
echo font size=+1Your Information has successfully been
entered into the database!/fontbr;
Should be this:
} else {
echo font size=+1Your Information has
Do not use double kotes here.
$link_glob = \mysql_connect(\'$host_glob\', \'$un_glob\',
\'$pw_glob\')\;
mysql_connect is a function.
Regards,
Laercio Fortes
Citando Jason Soza [EMAIL PROTECTED]:
If this is truly the code you\'re using, you\'re missing the closing
curly-brace after the
It would help to know exactly what information you are gathering and for
what reason are you storing it.
-Kevin
- Original Message -
From: Mauro [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, June 03, 2002 2:35 PM
Subject: [PHP] keep alive refresh
Hello,
I looked for some old
The memory footprint of the 3k - 5k of records, even if the
total memory needed for each record is 1k (which it is not),
is 30k - 50k RAM, less than the size of most web pages. The
LIMIT query, running on a slow server to simulate dial-up
connections, takes anywhere from 1.3 to 2.2
[EMAIL PROTECTED] wrote:
Do not use double kotes here.
$link_glob = \mysql_connect(\'$host_glob\', \'$un_glob\',
\'$pw_glob\')\;
mysql_connect is a function.
Regards,
Laercio Fortes
Citando Jason Soza [EMAIL PROTECTED]:
If this is truly the code you\'re using, you\'re
G r e g L a w r i e wrote:
It would also appear you are missing a closing ) at the end of the
'$query=...' line. You have two opening backets and only one closing.
Greg
-Original Message-
From: Bruce Lewis [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 4 June 2002 7:50
To: [EMAIL
It would also appear you are missing a closing ) at the end of the
'$query=...' line. You have two opening backets and only one closing.
Greg
-Original Message-
From: Bruce Lewis [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 4 June 2002 7:50
To: [EMAIL PROTECTED]; mysql; php-general
Jule Slootbeek wrote:
G r e g L a w r i e wrote:
It would also appear you are missing a closing ) at the end of the
'$query=...' line. You have two opening backets and only one closing.
Greg
-Original Message-
From: Bruce Lewis [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 4 June
mike, you could check out my example.
it's a form in flash that sends multipart/alternative email. you should get a html
formatted reply,
plain text for those guys and a zip attachment with the source file.
goto: http://www.bigjolt.com/mime/
i had a lot of trouble getting it to work. those
Raise the max execution time for your script. Either do it in PHP.ini or
I think there is a function for it you can use in your script...
---John Holmes...
-Original Message-
From: Mauro [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 03, 2002 4:35 PM
To: [EMAIL PROTECTED]
Subject:
Store the files above your web root and use a PHP script to control
access.
Use header to set the appropriate header for the file,
header(Content-Type: application/vnd.ms-excel; name='excel');
header(Content-Disposition: attachment; filename= . $filename .
.xls);
then use passthru() to send
At 18:09 -0400 6/3/02, Jule Slootbeek wrote:
Hey guys,
i'm getting this error with the following sql script using php:
--error--
Warning: Supplied argument is not a valid MySQL-Link resource in
/var/www/phpquiz/register_user.php on line 12
--error--
--script--
$link_glob =
Are you sure this is the correct file? This is full
of syntax errors, you should be getting parse errors.
A few tips:
a) Don't post to multiple lists. This is a PHP issue,
not MySQL. Hopefully this will end the mysql list
thread.
b) Don't use mysql_db_query() as it is
try this jule..
$link_glob = mysql_connect('$host_glob', '$un_glob', '$pw_glob');
$temp= PASSWORD($password);
$query = INSERT INTO user values('0', '$fname', '$lname', '$email',
'$username', '$temp');;
i think this will work..=) i hope ive done something.
- Original Message -
Something else along these lines -- I really, really wish that more sites
that use this method would test across multiple browsers and platforms.
I agree with everything John is saying regarding testing access/permissions
-- I've used this technique many times myself.
However, if a user with
ok, i think i fixed up everything everybody told me (although some
answers did contradict) and here is the entire script...
Jule
--script (globals.inc.php)--
?php
$host_glob = localhost;
$db_glob = phpquiz;
$un_glob = phpquiz;
$pw_glob = phpquiz;
ps: it was still not working..
--
Jule Slootbeek
[EMAIL PROTECTED]
http://blindtheory.cjb.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Please post:
a) the error
b) if the error is line #5, just post related lines line 4-6.
I did see this:
$result = mysql_query('$query', '$link_glob');
Which should be:
$result = mysql_query($query, $link_glob);
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Philip Olson wrote:
Please post:
a) the error
b) if the error is line #5, just post related lines line 4-6.
I did see this:
$result = mysql_query('$query', '$link_glob');
Which should be:
$result = mysql_query($query, $link_glob);
OK that did fix the problem...:)
hi
I am using 4.2.1 and it works fine, I can't see your source code as web
servers don't show it by design :)
But from the error message it can't find your class file. I used the code
below to test it.
Tom
$xsltproc = xslt_create();
$html = xslt_process($xsltproc, 'news.xml', 'news.xsl');
Only querying the database once would result in you having to set a massive
session, cookie, or something to hold the whole result in.
Doesn't sound right to me... for starters, 3000 records / 30 per page = 100
pages... it seems unlikely that every user will make it through the 100
pages, so
If you don't want to query the database again, you could always write the
results to a file.
There's a matter of cleaning up old cache files though, but that's not what
was asked... ;D
-Original Message-
From: Justin French [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 04, 2002 11:40 AM
Hi Apologies in advance if this question is simple. I haven't been able to
find an answer...
Is there no php.ini file in a php 4.1.2 install on MacOSX 10.1.4 (client not
server) ? My php info/test page says that the path to the configuration file
(php.ini) file is '/usr/lib', but it is not there
Verdon,
I'm a fellow PHP'er on Mac OS X (Server) 10.1.4. : )
You need to download the full distribution from php.net/downloads ... In
there you will find a php.ini-dist file and php.ini-recommended file.
Pick one that you like, edit as needed with BBEdit Lite (NOT TextEdit!),
rename to php.ini
have you tried doing a general search for that file? ie search all of ur hdd
...
-Original Message-
From: Verdon Vaillancourt [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 4 June 2002 11:15 AM
To: [EMAIL PROTECTED]
Subject: [PHP] MacOSX / php.ini newbie question
Hi Apologies in advance if
I use the following code for connection and selecting databases:
$link =
mysql_pconnect(localhost,$_SESSION['dbauser'],$_SESSION['dbapassword'])
or die(Could not connect);
print Connected successfullyP;
mysql_select_db(stamps) or die(Could not select database);
This works.
The following code always returns the Couldn't select
database error.
?
$db_name=mydb;
$table_name=my_table;
$connection = mysql_connect(localhost, user, password) or die
(Couldn't connect.);
$db = mysql_select_db($db_name) or die (Couldn't select database);
?
Add some useful
oops, i forgot a for mysql_connect() but oh
well, you get the point :)
Regards,
Philip Olson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, Jun 03, 2002 at 02:04:47PM -0700, Rick Kalifa wrote:
I'm having trouble getting the PHP module installed on the
Apache/Tomcat installation. I've set it up as a service. The
documentation mentions editing the httpd.conf file but I cannot find
that file with this installation. The only
Hi,
I was just wondering given that only the standard FTP functions are
supported by PHP, is there anyway to actually resume a download? The
only thing that seems even capable of issuing any versatile commands is
ftp_site, and that only issues site commands.
I haven't had much luck with
I'm using the following cronjob in my remote server:
MAILTO=[EMAIL PROTECTED]
0 0 * * * wget -Ofile.log -q -T10 http://www.domain.com/script.php /dev/null
the script.php is a normal php script.
This is the only way I can run a cronjob successfully but I've read
it is un-secure.
Is this true?
Sire:
On Mon, Jun 03, 2002 at 11:47:50PM -0400, Edgard Berendsen wrote:
I'm using the following cronjob in my remote server:
MAILTO=[EMAIL PROTECTED]
0 0 * * * wget -Ofile.log -q -T10 http://www.domain.com/script.php /dev/null
This is the only way I can run a cronjob successfully...
If
Please note that this only neccesarily applies to MySQL. I've run into a
lot of problems by assuming double-quote syntax with postgres and mssql.
A better solution is to stop writing your own queries and use an
abstraction library.
Cheers,
Brad
Sqlcoders.com Programming Dept wrote:
Hiya,
Hi all,
I was wondering if there is a way to attach files to emails sent via a PHP
script. I just checked the 'mail functions' chapter of the php manual, but
it doesn't seem to mention attachments. The attached files will come from
the same server that php is running on BTW.
Thanks in advance.
php can access the microsoft access database ? what command the connection
?
Roy Daniel , ST
IT Developer System - PT BERCA COMPUTEL
My E-mail : [EMAIL PROTECTED]
and : [EMAIL PROTECTED] / [EMAIL PROTECTED]
My ICQNumber : # 103507581
My Phone Cell : 0816-1192832
My Web site:
Check out:
http://www.phpguru.org/mime.mail.html
Works well... some good examples included.
-J
On Tue, 04 Jun 2002 17:09:12 +1200, Brad Wright wrote:
Hi all,
I was wondering if there is a way to attach files to emails sent via a
PHP script. I just checked the 'mail functions' chapter of
On Tue, Jun 04, 2002 at 12:00:49PM +0700, [EMAIL PROTECTED] wrote:
php can access the microsoft access database ? what command the connection
Look at the ODBC functions in the manual.
--Dan
--
PHP classes that make web design easier
SQL Solution | Layout Solution
Or, if you're into doing it yourself, have a look at RFC2045 and RFC2046
http://rfc.sunsite.dk/rfc/rfc2045.html
http://rfc.sunsite.dk/rfc/rfc2046.html
-Original Message-
From: Jason Morehouse [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 04, 2002 3:16 PM
To: [EMAIL PROTECTED]
Subject:
Another really good one:
http://phpmailer.sourceforge.net/
-Clay
From: Jason Morehouse [EMAIL PROTECTED]
Organization: Netconcepts LTD
Date: Tue, 04 Jun 2002 17:15:58 +1200
To: [EMAIL PROTECTED]
Subject: [PHP] Re: email attachments and PHP
Check out:
I have many useful functions written in C language.
But now, I want to do some work on through Web browser.
Can I call these C functions from
PHP?
--
Í·ÉÏÓÐÐÇ, ½ÅÏÂÓз
¡ï¡î¡î¡î¡î¡ï¡î¡î¡î¡î¡ï
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
yep - I can see two ways of doing it - either using exec()/system() or
compile the c/fortran code into a library file (.dll or .so depending on
server type) and, in php, use dl()
-Original Message-
From: Cui Chenzhou [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 04, 2002 3:56 PM
To:
101 - 148 of 148 matches
Mail list logo