I am not new to programming, just to scripting languages. I have seen that Perl has
some high advanced sintaxes for string processing, for example, but I don't know if
the same level can also be achieved in PHP...?
Sorry, I don't know that. I know that Perl has some regular-expressions, but
Is there a better way to do this in PHP? It seems that a single number
(key) and single name (value) would lend itself perfectly to an (indexed
or associative) array. I would think there is some PHP API call that I'm
unaware of that will just take the whole result set and stuff it into an
array
Hi,
After a day and a half of pounding my head against the wall I believe I've
identified the source of the problem. When I create and register the
session in my login page - it does not carry forward to any other
pages. I've found this by going through several different tutorials for
Is there a better way to do this in PHP? It seems that a single number
(key) and single name (value) would lend itself perfectly to an
(indexed
or associative) array. I would think there is some PHP API call that
I'm
unaware of that will just take the whole result set and stuff it into
an
What version of PHP are you using and do you have globals turned on?
Timothy Hitchens (HiTCHO)
Open Source Consulting
e-mail: [EMAIL PROTECTED]
-Original Message-
From: Tim Thorburn [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 21 January 2003 6:59 PM
To: [EMAIL PROTECTED]
Subject:
On Tuesday 21 January 2003 16:58, Tim Thorburn wrote:
Hi,
After a day and a half of pounding my head against the wall I believe I've
identified the source of the problem. When I create and register the
session in my login page - it does not carry forward to any other
pages. I've found this
I used to have the same problem(sort of)
I am not sure if my solution applies to you.
Here is what i did,
to pass session to one page to another you must call
session_start();
ON EVERY PAGE
to access registered session variables use the session super global array
like:
$_SESSION['userid'];
Hi,
I'm working on a project. It uses large sql data to create pages. Last week I
create some kind of cache info to create faster execution. It really works
(system runs more than 10 times faster)
But stroring cache data is problem. I use the session to store cache info.
With using cache data
Hi ,
Im not sure if this can be done in PHP , i know PHP has upload features !
Does it have download features , wat i mean is the following : i want a
link - click here to download - when you click on it , the download dialog
box must appear - how do i do this ?
Thanks
Shaun van den Berg
--
Hi,
I'm using PHP 4.1.2 on the server with problems - it's hosted on a shared
server and thus I have no direct access to much of anything. I have had
this script running on versions 4.0.6 thru 4.2.2 with no problems until now.
Here are the settings attained from phpinfo(); for the server that
Create a script that reads the contents of a file after sending headers
eg:
header(Content-type: text/plain);
header(Content-Disposition: attachment; filename=downloaded.txt);
readfile(downloaded.txt);
exit();
The downloaded.txt can be any file subject to sending the correct
headers and IE
and
Are globals turned on or off.. I don't see that setting in your copy and
paste.
Are you trying to access the session vars as $name or
$_SESSION['name']??
Timothy Hitchens (HiTCHO)
Open Source Consulting
e-mail: [EMAIL PROTECTED]
-Original Message-
From: Tim Thorburn [mailto:[EMAIL
On Tuesday 21 January 2003 17:39, Tim Thorburn wrote:
Hi,
I'm using PHP 4.1.2 on the server with problems - it's hosted on a shared
server and thus I have no direct access to much of anything. I have had
this script running on versions 4.0.6 thru 4.2.2 with no problems until
now.
Here are
Hi Group,
I basically have some simple code such as:
==
if ( $_POST['passwd'] != $db['password']
{header(Location: loginfailed.html);
}
//else
$header = Location: success.html;
==
however,
Yes, the examples from the manual do work on the server using PHP 4.2.2 -
however they do not work on the server using PHP 4.1.2.
I've been using this same script for many sites with PHP versions 4.0.6
thru 4.2.2 with no problems until now which leads me to believe that I must
attempt to
try with exit() after header().
bye, stain.
Il 10:48, martedì 21 gennaio 2003, Shams ha scritto:
Hi Group,
I basically have some simple code such as:
==
if ( $_POST['passwd'] != $db['password']
{header(Location: loginfailed.html);
}
Hi,
Tuesday, January 21, 2003, 7:48:04 PM, you wrote:
S Hi Group,
S I basically have some simple code such as:
S ==
S if ( $_POST['passwd'] != $db['password']
S {header(Location: loginfailed.html);
S }
S //else
S $header = Location:
Yes, the examples from the manual do work on the server using PHP
4.2.2 -
however they do not work on the server using PHP 4.1.2.
I've been using this same script for many sites with PHP versions
4.0.6
thru 4.2.2 with no problems until now which leads me to believe that I
must
attempt to
There is some discussion as to whether my globals are on or not ... I am
using session_register to name my sessions, and then the global command
later on on the individual pages to remember which session it is we're
looking for.
It would be simply priceless if sessions were broken in 4.1.2 -
On Tuesday 21 January 2003 17:59, Tim Thorburn wrote:
Yes, the examples from the manual do work on the server using PHP 4.2.2 -
however they do not work on the server using PHP 4.1.2.
I've been using this same script for many sites with PHP versions 4.0.6
thru 4.2.2 with no problems until now
on 21/01/03 9:25 PM, Tim Thorburn ([EMAIL PROTECTED]) wrote:
There is some discussion as to whether my globals are on or not ... I am
using session_register to name my sessions, and then the global command
later on on the individual pages to remember which session it is we're
looking for.
No
-Original Message-
From: John W. Holmes [mailto:[EMAIL PROTECTED]]
Sent: 21 January 2003 10:20
Wasn't it 4.1.2 that had broken sessions? I remember one version that
came out that was just broke and you had to do a bunch of
workarounds to
get things to work normally. Was that it?
Sorry I'm a bit late in on this thread but I know there is a problem with
sessions with 4.1.2 with IIS 5 over Win2K... is that your platform? I
encountered it a while back and there is a hack/workaround which I can dig
up if you need it...
HTH
Rich
-Original Message-
From: Tim Thorburn
Deco --
...and then De deco said...
%
% I am not new to programming, just to scripting languages. I have seen that Perl has
some high advanced sintaxes for string processing, for example, but I don't know if
the same level can also be achieved in PHP...?
PHP is quite perl-ish, and supports
When trying to do a search in a mbstring, I sometimes(!) get the following error:
Warning: mb_ereg_search()[function.mb-ereg-search]:mbregex compile err: premature end
of regular expression in c:\myfile.php on line 12.
It's only the case for some strings. Why is this? I assume it must
Change the link to form_download.php then create a file called
form_download.php and do this:
?php
header(Content-type: application/msword);
header(Content-Disposition: attachment; filename=form.doc);
readfile(form.doc);
exit();
?
That will do it for you.
Also you should reply to all and
Looks like you're missing a closing bracket on the IF statement as well.
Neil
Shams wrote:
**
This Message Was Virus Checked With : SAVI 3.61 September 2002
Last Updated 17th January 2003
Karl James wrote:
Parse error: parse error, unexpected '}' in
/home/virtual/site12/fst/var/www/html/Create_Account.php on line 5
http://www.ultimatefootballleague.com/Create_Account.phps
I'm Trying to get the values of the form to echo out and to insert into my
managers table.
If you don't
John W. Holmes wrote:
How does php know what suitable form data is?
I guess it could look for multiple names in the GET or POST data. But
then that would mean for every variable it goes to create, it would have
to go and look if it's already created one by that name. If it did,
erase the old
Hello everyone,
I need help with the following query.
I have a table with a column named 'RISK_LEVEL'.
RISK_LEVEL can hold three values: Low, Moderate, and High.
I need a query that counts the number of occurences of each option.
Now, I know I can do
'select count(risk_level) as levelCount
Neither HTML nor PHP open the download (Save/Save As) dialog. This is a function of
the browser
upon clicking any file link, other than an HTML file.
- Original Message -
From: Shaun van den Berg [EMAIL PROTECTED]
To:
Sent: Tuesday, January 21, 2003 12:39 AM
Subject: [PHP] DOWNLOAD
Is there a way to autenticate an SMTP server in my PHP.ini???
In my development site, i need to autenticate a SMTP, but in the PHP.INI does not have
an option to autenticate..does anybody has any solution for this??
Thanks, Rodrigo
On Tuesday 21 January 2003 20:13, Dankshit wrote:
Is there a way to autenticate an SMTP server in my PHP.ini???
In my development site, i need to autenticate a SMTP, but in the PHP.INI
does not have an option to autenticate..does anybody has any solution for
this??
There is at least one
off the top of my head
SELECT risk_level, COUNT(risk_level) AS rl_count GROUP BY risk_level
should do it, though I'd have to experiment with what's inside the
COUNT().
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message -
From: [-^-!-%- [EMAIL PROTECTED]
To:
Hi All,
I'm trying to add a variable to an oracle database but it fails due
to the fact that it contains quotation marks. These have to be present for
the end user. My Script is as follows:
===
if ($conn == true)
{
$query = UPDATE ACTIVITY SET COMMENTS = \'$updatecomments\' WHERE ACTIVITY_ID
=\'$actcode\';
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 21, 2003 6:53 AM
Subject: [PHP] Adding a variable to oracle that contains quotation marks??
Hi All,
Once you use double quota mark the character BackSlash doesn't need anymore
that's my experience ^_^
- Original Message -
From: Rick Emery [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, January 21, 2003 8:56 PM
Subject: Re: [PHP] Adding a variable to oracle that
Hi all,
I'm newbie of PHP. Can any one help me and explain how can use Multi-Byte
String Functions?
My national language is Farsi and I force to use UTF-8 for my works. but I
have several problem when I need use it in PHP. I think Multi-Byte String
Functions are designed for some ones like me. but
Hi, all --
If I have an associative array
Array
(
[t] = Array
(
[t1] = temp1
[t2] = temp2
)
[f] = Array
(
[f1] = foo1
[f2] = foo2
)
)
and I want to change the key 't' to, say,
Hello all,
I know I can connect to another db through an odbc connection in php. Can I
use php to create the connection initially? I will be uploading an access
db from the users and then moving the data over into my mysql db. Since
this will all be done automatically, I will need php to
Hi, all --
If I have an associative array $a like
Array
(
[t] = temp1
[u] = ugh
[m] = moo
)
is there any way to re-order the keys so that
foreach (array_keys($a) as $k)
{ print $k\n ; }
will print
t
m
u
for me? At the moment it seems my only option is
Hello everybody,
I'm working on a class but having a lot of problems... probably my
understanding of PhP-OOP is not so good ...
Here's the class: I found it on the web and I've tried to personalize
it to fit my needs...
?php
class FormV
{
var $errorList;
function FormV()
{
There are many pre-defined functions to manipulate the sort order of
arrays and it's keys. However sometimes, to fit special needs, you just
have to do it manually. Here's the useful PHP reference manual links to
better understand what's available.
http://www.php.net/manual/en/ref.array.php
My first question back would be why you create on array with keys you
know you want to change, or why in that case it became necessary to
dereference the original key.
$a['tmp'] = $a['t']; // exact same values by reference (no copy)
Only other way I can think of at the moment is to create a
PHP does not yet support private methods ... your problem with getValue() is
most probably because register_globals is off in your php.ini try
substituting $_POST[] for $HTTP_POST_VARS[] and it may start to work...
HTH
Rich
-Original Message-
From: Nicholas Wieland [mailto:[EMAIL
Jason --
...and then Jason k Larson said...
%
% My first question back would be why you create on array with keys you
% know you want to change, or why in that case it became necessary to
% dereference the original key.
A fair question :-)
I'm writing a picture gallery add-on which will
Hi all. I am having some problems with a script which reads information
from a database and creates a table. It works in IE but not Netscape. I
call myself going through the tags to make sure all that were open were
closed because Netscape doesn't like unfinished business. What I have is a
Jason, et al --
...and then Jason k Larson said...
%
% There are many pre-defined functions to manipulate the sort order of
% arrays and it's keys. However sometimes, to fit special needs, you just
% have to do it manually. Here's the useful PHP reference manual links to
% better understand
Hi every body. I have a form that was originally working just fine. It
had a series of input checkboxes with the same name (interests[]).
These values then ended up in an array ($_POST['interests']), which I
then imploded into a comma separated list ($interests = implode(', ',
show us code
- Original Message -
From: Dan Delaney [EMAIL PROTECTED]
To:
Sent: Tuesday, January 21, 2003 8:33 AM
Subject: [PHP] Input field array ends up as Array string
Hi every body. I have a form that was originally working just fine. It
had a series of input checkboxes with the
For the most part I found two errors
The first was a scope problem. $HTTP_*_VARS hashes are not accessible
inside functions unless you source them in. i.e. global
The other was an extra line in an if statement that did not contain braces.
I did a little formating while I checked the code. Try
I have a small site in development which takes details of coming church
services from a MySQL database. This bit is at the bottom of
http://www.rugbyurc.org.uk/spirit/spirit_intro.php (hosted by an ISP) and
works fine.
I've just got OSX working on my Mac and want to get the site running on that
$PHP_SELF is not interpreted by the browser. The browser shows only what is sent to
it; PHP
variables are not sent to the browser.
Take the simple solution: don't use PHP_SELF; just use the file name
- Original Message -
From: Bill Arbuckle, Jr. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
i need a script that make downloads from files but it must support resuming
for getright and download acelerator pro.
Thanks...
I have this classic download script , but does not support resuming
error_reporting(0);
header(Last-Modified: . gmdate(D, d M Y H:i:s T,
Rick Emery [EMAIL PROTECTED] wrote in message
024801c2c15b$1a770e70$0500a8c0@honeybee">news:024801c2c15b$1a770e70$0500a8c0@honeybee...
show us code
Learn how to quote. :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tuesday 21 January 2003 22:26, Bill Arbuckle, Jr. wrote:
This code is at the top of an include file which is included in pics.php.
It seems that $PHP_SELF is interpreted differently in *some* instances
between the two browsers. I can't figure it out because PHP_SELF is a
server side
Hello all,
I'm trying to replace a tag with an include in a template scenario. For
example:
str_replace(!--linkTag--!, include links.php, $string);
This obviously doesn't work, but I'm wondering if anybody knows of a
good way to do this.
Thanks a bunch,
Jesse Lawrence
--
PHP General
On Tuesday 21 January 2003 22:33, Dan Delaney wrote:
Hi every body. I have a form that was originally working just fine. It
had a series of input checkboxes with the same name (interests[]).
These values then ended up in an array ($_POST['interests']), which I
then imploded into a comma
Bill --
...and then Bill Arbuckle, Jr. said...
%
...
% This code is at the top of an include file which is included in pics.php.
% It seems that $PHP_SELF is interpreted differently in *some* instances
% between the two browsers. I can't figure it out because PHP_SELF is a
Dunno much about
I have never done a script that supports resume but this is the logic
you need to follow to work out the protocol behaviour.
- Create a download script as per below start downloading then stop the
web server.
- Change the script to e-mail you the headers from the script request.
- Restart the web
I'd recommend looking at the output buffering functions. Something like this
would probably work...
ob_start();
include(links.php);
$file = ob_get_contents();
ob_end_clean();
The result of parsing and executing links.php will be in $file. Do with it
what you will.
J
Jesse wrote:
Hello
Thanks Rick Henry, but I am still unable to add single quotation marks '.
When I added the \' to the variable as given below (thanks again Rick) I get
the following error when trying to add anything, regardless of ':
Warning: Ora_Parse failed (ORA-00911: invalid character -- while processing
OCI
--- Bill Arbuckle, Jr. [EMAIL PROTECTED] wrote:
It works in IE but not Netscape.
Nearly every time this happens, you have invalid HTML.
Try stripping out all of the HTML, leaving only the plain
text content of the page in question. Then, slowly add back
the markup, testing each change.
Also,
On Tuesday 21 January 2003 23:03, Jason Wong wrote:
Undo any configuration changes made recently, downgrade any recent upgrades
etc. To paraphrase Newtown's First Law of Motion:
Sorry, Newton's First Law of Motion :)
Any working system tends to remain in that state unless external force is
There a few ways of doing this but the following is one of the easier
and quickest off the
top of my head.
If you know the name of the tag and the include this will work if you
don't or want it to
be dynamic you will need to have some reg for the following. (how are
you getting the $string)?
//
--- Shams [EMAIL PROTECTED] wrote:
if ( $_POST['passwd'] != $db['password']
{header(Location: loginfailed.html);
}
You never add the closing parenthesis to your if statement.
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I hope this is not too far OT, however, you are the best resource I have for
PHP and if anyone would know, it would be you guys. I have been writing
scripts off and on for the past year and have an application written in PHP
for a business' internal use. I have used snippets of Object oriented
Thanks a lot, I think that will be the trick, but I'm still having a bit
of a problem.
Here's my scenario:
class mainReplace{
function feedLinks(){
ob_start();
include('links.php');
$file = ob_get_contents();
ob_end_clean();
return $file;
}
}
$replace = new
Is it possible to use array_sum to add up values in multidimensional arrays?
I have an array like:
$array[0][VALUE] = 10;
$array[1][VALUE] = 8;
$array[2][VALUE] = 5;
$array[0][OTHERVALUE] = 20;
$array[1][OTHERVALUE] = 15;
$array[2][OTHERVALUE] = 9;
Thanks,
Chad
--
PHP General Mailing List
Where are you getting $read from??
That should be $replace = new mainReplace(); // notice the brackets
Timothy Hitchens (HiTCHO)
Open Source Consulting
e-mail: [EMAIL PROTECTED]
-Original Message-
From: jesse [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 22 January 2003 1:38 AM
To:
-Original Message-
However, my mind apparently works different and I keep trying to relate the
OOP structure to
what I already know which equates an object to a function. I am resolving
to purchase a book dedicated to instruction in the inns and outs of OOP.
Specifically at it
Larry Brown said:
equates an object to a function
You'd be better off trying to equate an object to a data type.
-Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Could someone point me to a VERY good doc for learning PHP for a
NEWBIE!!! Something I can understand from the beginning to the end. YES
I am willing to put my time into learning and reading docs as long as
they are clear and made for what they say they are made for. I wont
waste my time with
equates an object to a function
You'd be better off trying to equate an object to a data type.
Why is that? Please explain?
I do not mean to sound trite. I do not know and am very curious
to hear more.
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
PHP 4.3.0, Apache, Win32.
I'm driving myself mad trying to work out why I can't get HTTPS pages. I
understand there are two options, using fopen() with openssl installed, and
using curl. I've installed openssl extension, but using fopen STILL won't
work. Don't have a clue why. Using curl, I can
Well, in the process of pulling out some code into a sample page to
send to the list I found the problem. It was yesterday when someone who
was testing it told me about the problem, but the problem must have
been going on for a week, because a week ago I added code to a global
include script
Have a look on devshed.com
Bryan Cassidy wrote:
Could someone point me to a VERY good doc for learning PHP for a
NEWBIE!!! Something I can understand from the beginning to the end. YES
I am willing to put my time into learning and reading docs as long as
they are clear and made for what they say
This is geared to php and mysql but I started by downloading the first four
chapters of this book, which are free.
http://sitepoint.com/books/?bookid=kevinyank
Eddie
-Original Message-
From: Neil Freeman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 21, 2003 10:52 AM
To: Bryan
Bryan --
[BTW, I could not find your key on us.php.net or eu.php.net; is it on a
keyserver?]
...and then Bryan Cassidy said...
%
% Could someone point me to a VERY good doc for learning PHP for a
% NEWBIE!!! Something I can understand from the beginning to the end. YES
Do you have any
Hello everyody,
I search to encode a string with a strong alogrythm. I choose pgp my
desktop is a windows computer; I have found a function but I can't use it
because on windows, pgp cant encrypt on commandline.
have you found something for windows station?
your help will be helpfull.
Is fopen_wrapper in php.ini set to yes ?
Jonathan Boles wrote:
PHP 4.3.0, Apache, Win32.
I'm driving myself mad trying to work out why I can't get HTTPS pages. I
understand there are two options, using fopen() with openssl installed, and
using curl. I've installed openssl extension, but using
I want to give my users the ability to submit a URL to a database, then when
they pull up their page, their photo is included .. what I'm worried about
is them pointing the link to some malicious code or something..
Obviously I can validate the file extension (.gif or .jpg) .. and I'm going
to
I just know some very basic html. lol. ya i know i know. I just havent
had time to set down and learn the things I want to learn until now.
On Tue, 21 Jan 2003 11:00:29 -0500
David T-G [EMAIL PROTECTED] wrote:
Bryan --
[BTW, I could not find your key on us.php.net or eu.php.net; is it on
a
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 21 January 2003 15:05
Thanks Rick Henry, but I am still unable to add single
quotation marks '.
When I added the \' to the variable as given below (thanks
again Rick) I get
the following error when
Timothy Hitchens ) wrote:
Where are you getting $read from??
That should be $replace = new mainReplace(); // notice the brackets
$read is the contents of the file that I'm reading. I actually do have
$replace = new mainReplace(); in my code, I just forgot the brackets in
my last message;)
I guess you use some webserver, let's take apache.
Apache's mime.conf has set several extensions,
also php extensions. So only .php, .php3, .php4
files will be parsed by php.
Chad Day wrote:
I want to give my users the ability to submit a URL to a database, then when
they pull up their page,
ermelir --
[You know, this message really has nothing to do with converting ASP to
PHP...]
...and then ermelir said...
%
% Hello everyody,
Hi!
%
% I search to encode a string with a strong alogrythm. I choose pgp my
% desktop is a windows computer; I have found a function but I can't use
I can't see what else to suggest just quickly.
- what about just as a function not a class??
Timothy Hitchens (HiTCHO)
Open Source Consulting
e-mail: [EMAIL PROTECTED]
-Original Message-
From: jesse [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 22 January 2003 2:12 AM
To: [EMAIL
I'll give it a try. I might just put the contents of the include file
into the main file, and approach it like that.
Thanks a lot for your help.
Timothy Hitchens ) wrote:
I can't see what else to suggest just quickly.
- what about just as a function not a class??
Timothy Hitchens (HiTCHO)
This sample also work in PhpMyAdmin, but not from the php code.
Please advise.
**see previous post, for sample code**
Thanks Rick.
-john
=P e p i e D e s i g n s
www.pepiedesigns.com
Providing Solutions That Increase Productivity
Web Developement. Database. Hosting. Multimedia.
On
Also checkout
webmonkey.com and devarticles.com
=P e p i e D e s i g n s
www.pepiedesigns.com
Providing Solutions That Increase Productivity
Web Developement. Database. Hosting. Multimedia.
On Tue, 21 Jan 2003, Neil Freeman wrote:
Have a look on devshed.com
Bryan Cassidy wrote:
--- Chad Day [EMAIL PROTECTED] wrote:
I want to give my users the ability to submit a URL
to a database, then when they pull up their page,
their photo is included .. what I'm worried about
is them pointing the link to some malicious code or
something..
Your instincts serve you well.
There
Do you mean allow_url_fopen? It is set to 'on'. There's no fopen_wrapper
setting
Reading from http:// using fopen works fine. It's the https:// that doesn't
work.
- Original Message -
From: Stephan Seidt [EMAIL PROTECTED]
To: Jonathan Boles [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent:
Chris Boget said:
equates an object to a function
You'd be better off trying to equate an object to a data type.
Why is that? Please explain?
I do not mean to sound trite. I do not know and am very curious
to hear more.
Consider two approaches to extending your procedural programming
This seems to have fixed the problem :-) But there's another error. fopen
works now, but fgets won't. I'm getting this error:
Warning: fgets() [function.fgets]: SSL: fatal protocol error in
blah\blah\blah.php on line 51
Does anyone know what could be causing this?
PHP 4.3.0, Apache, Win32.
People often for get about a little problem that happens with the
?
$name_the_file = the name you want the file to be called when prompted to
download;
$file_to_download = /path/to/file/filename.scp;
// test for internet explorer in the conditional for the following
if..then..else
if (msie) {
Is there a way of finding if a table exists with only
one command in MySQL? I've looked through the MySQL
functions, and the closest I've gotten to what I need
is mysql_list_tables or mysql_tablename (I'll have to
check into these a little more), but I was hopefully
looking for something that
ah sorry, mixed some configuration files ;)
Jonathan Boles wrote:
Do you mean allow_url_fopen? It is set to 'on'. There's no fopen_wrapper
setting
Reading from http:// using fopen works fine. It's the https:// that doesn't
work.
- Original Message -
From: Stephan Seidt [EMAIL
On 2003.01.21 15:42 Joseph W. Goff wrote:
For the most part I found two errors
The first was a scope problem. $HTTP_*_VARS hashes are not accessible
inside functions unless you source them in. i.e. global
The other was an extra line in an if statement that did not contain
braces.
I did a little
Nicholas,
I think I know where you found this code. I have the same code, except I
modified it a little to work for me. You may need to change it for your
needs. When I first used it, it didn't work. I had to modify it to make it
work. My code is usually kind of sloppy, but maybe you would get
1 - 100 of 194 matches
Mail list logo