4ts.dll" Then: "Unable to locate dll
> > > > |> |'c:\httpd\php\php_gd.dll' - the specified procedure could not be
> > > > |> |found".
> > > > |> |
> > > > |> |I've also tried installing with Easywindows on IIS - again, gd
>does
> > > > |> |not work (though no helpful error messages).
> > > > |> |
> > > > |> |So I'm coming to the conclusion there some incompatability
> > > > |between XP
> > > > |> |and the php_gd.dll. Does anyone have this working on XP? Can
>anyone
> > > > |> |suggest how I can fix this?
> > > > |> |
> > > > |> |Many thanks
> > > > |> |
> > > > |> |Alan Hale
> > > > |> |
> > > > |> |
> > > > |>
> > > > |
> > > > |
> > > > |--
> > > > |PHP Windows Mailing List (http://www.php.net/)
> > > > |To unsubscribe, visit: http://www.php.net/unsub.php
> > > > |
> > > >
> > >
> > >
> > > --
> > > PHP Windows Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
>
>--
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
-- Mike Flynn --
mike @ mikeflynn . net
home => work => home => shop => home [adbusters]
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t;To unsubscribe, visit: http://www.php.net/unsub.php
-- Mike Flynn --
mike @ mikeflynn . net
home => work => home => shop => home [adbusters]
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
;);
>
>fclose($fp);
>
>?>
>
>
>
>so i have tried it with preg_split, explode
>togather az well az seperately .
>but .. (N) .
>
>vat can i do to fix it ?
>
>thnx a million ...
>
>toby
>
>__
>Do You Yahoo!?
>Yahoo! Shopping - Mother's Day is May 12th!
>http://shopping.yahoo.com
>
>--
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
-- Mike Flynn --
mike @ mikeflynn . net
home => work => home => shop => home [adbusters]
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Arijit,
Unfortunately, I don't think there is. The file data is sent in the
*request* for the PHP page, meaning the PHP page doesn't even get sent back
to the user until the file is done uploading. So there's not really any
choice but for the user to view the page with the upload form unt
; >
> >
> >The window does pop ups but ignores the widht and height sent.. whereas if
>i
> >hardcode the values for the pop up is works...
> >
> >Isnt is possible to send values for the window parameters dynamically?? if
> >so what am i doing
t is possible to send values for the window parameters dynamically?? if
>so what am i doing wrong??
>
>TIa,
>
>sands
>
>--
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
Mike Flynn - Burlington, VT
http://www.mikeflynn.net/ - [EMAIL PROTECTED]
home=>work=>home=>store=>home [repeat daily]
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> //redirect to page
> header("Location: /worked.php"); //<-- problem area.
> exit();
>}
>else
>// user/pass failed
>{
> //redirect to error page
> header("Location: /failed.php");
> exit();
click submit a douzend of times it always show the
>same
>
>any solution for this issue ?
>
>thanks
>Erik
>
>
>
>--
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
Mike Flynn - Burlington, VT
http://www.mikef
>
>Matt Babineau
>Freelance Internet Developer
>e: <mailto:[EMAIL PROTECTED]>
>[EMAIL PROTECTED]
>p: 603.943.4237
>w: <http://www.illuminatistudios.com/> http://www.illuminatistudios.com
>
>
Mike Flynn - Burlington, VT
http://www.mikeflynn.net/ - [EMAI
At 11:28 PM 10/8/01 -0500, you wrote:
>Thank you for your help so far but it seems as though the same problem
>is happening. For some reason the php won't grab the variable values.
>The only difference now is that it doesn't show me the error, it is just
>blank where it should be displaying the v
ow if you have any suggestions on getting rid of these weird undefined
>variables please reply..
>...also note that the code is not buggy.
>
>-steven
>
>
>
>
>
>--
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
--
I don't really know, but the manual says the following:
session.cache_expire: specifies time-to-live for cached session pages in
minutes; this has no effect for nocache limiter. Defaults to 180.
http://www.php.net/manual/en/ref.session.php
At 07:33 PM 4/30/02 -0400, Matt Babineau wrote:
>What
What you've done wrong is not checked the 4.2 release notes :)
http://www.php.net/release_4_2_0.php
At 11:13 AM 4/29/02 -0400, Scott Mc wrote:
>I am using WinXP (IIS), and PHP 4.1.2. Recently I've upgraded to PHP 4.2.
>Since the upgrade, all of my scripts that use the PHP_SELF variable will not
ng wrong with php only windows and php doesn't
>like eachother haha :-)
>
>the http 500 error is gone now "see above"
>
>regards from belgium
>Erik
-- Mike Flynn --
mike @ mikeflynn . net
home => work => home => shop => home [adbusters]
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e to execute the winword-program";
>?>
>
>i have asked a so called specialist who gave the following (not functioning,
>no error message) code:
>shell_exec("c:\programme\microsoft office\office\winword.exe");
>?>
>
>thanks to all who will help me
>rai
Didja think to check the version 4.1.2 release notes before posting your
question?
http://www.php.net/release_4_2_0.php
At 03:26 PM 4/26/02 -0500, Chris Dion wrote:
>Is there something I am missing here. With php 4.1.2 i can do
>blah.php?action=foo but with 4.2 I can't. What am I doing wrong?
.943.4237
>w: <http://www.illuminatistudios.com/> http://www.illuminatistudios.com
>
>
-- Mike Flynn --
mike @ mikeflynn . net
home => work => home => shop => home [adbusters]
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
OUNTER_Page_Views SET Count =
> > Count + 1 WHERE Counter_ID = '" . $count_id . "'";
> >
> >
> > $result3 = mysql_query($query3);
> > $result1 = mysql_query($query1);
> > $result = mysql_query($query);
> >
> >
> &g
At 10:49 AM 4/24/2002 -0400, you wrote:
>Yeah that is the idea, are there any bad things about doing it this way?
>The POST array does not exist if the page has not been posted to?
To be safer, you could check the sizeof($HTTP_POST_VARS), rather than just
if it is set (exists). That might work
be good to me but when I echo the query it parses out
>like this:
>
>select bio FROM individual WHERE last_name ='Appleyard
>selectedFirstname=Peter selectedMarket=Atlanta' AND first_name ='' AND
>market =''
>
>
>What am I missing...or doing wrong?
At 06:56 AM 4/21/02 -0700, Camelia Moldovan wrote:
>Hi! How can I attach a file to a mail using PHP ?
>
>I tried to use some existing classes but I received lots of errors.
http://www.phpbuilder.com/columns/kartic2807.php3
-Mike
--
PHP Windows Mailing List (http://www.php.net/)
To unsubs
At 11:56 AM 4/20/02 -0300, Waldemar Brand Neto wrote:
>Dear Myke I have this problem too. When I save the uploaded file im Mysql it
>save the path of the file and not the image itself. How cam I read the file
>and save into a BLOB field.
>
>Thanks.
>
>Waldemar
Try something like this:
$the_file =
J B's Supermarket to the web page all I get
>is J B. How can I get the entire display on the screen including the ' in
>the name?
>quincy
Mike Flynn - Burlington, VT
http://www.mikeflynn.net/ - [EMAIL PROTECTED]
home=>work=>home=>store=>home [repeat daily]
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The temp file is deleted after the script is run. So if you're checking
for the presence of that .TMP file after you have run your page, then you
won't find it. For security reasons (and also to save hard drive space),
the file is only there during the execution of the script. It is during
At 09:23 PM 4/14/2002 -0400, Tim Mackenzie wrote:
>There is a way of configuring PHP to limit access to the file system. You
>don't want any schmuck who uploads a PHP script access to your entire
>system, right? PHP allows you to limit what parts of the system can be
>seen. My question is how i
I'm assuming $submit is referring to the submit button.
First of all, the submit button isn't assigned to the variable $submit,
unless its NAME property is "submit". You could make a text field called
submit, a select box called submit, radio button, checkbox, etc. All it
depends on is which
query the DB only returning the selected columns.
>What is an efficient way of doing this?
>
>Does anyone know of any tutorials or examples that can get me close?
>
>Ron
>
>--
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.
hat is getting passed
>it looks correct but the session instance of the variable never changes.
>
>
>
>I have tried everything I could possibly try. I even copied and pasted
>sample code from www.zend.com with the exact same results.
>
>Is this a bug or what am I doing
onnect to the database");
>mysql_select_db("guestbook") or
>die ("could not connect to the specified database");
>?>
>I'm getting the "could not connect to the specified database" message.
>P.S. The database exists.
>
>Please Help
>Th
At 05:49 PM 4/9/02 +0200, Svensson, B.A.T. (HKG) wrote:
>The number '2' I now have, was it - to be extreme - it '1,1' (a sealing
>function) or was it '2,9' (a floor function) before? You can never really
>tell...
If it was by the rule we've settled on below, then if you have 2, then the
number y
Well, I suppose rounding by the dictionary's definition can mean any kind
of approximation to a number of less significant digits, so I see your
point. But by the popular vernacular and by the default precision for any
programming language's "round" function that I've encountered (including
P
Hmm? The article explains exactly how to do it. You can make a multipart
MIME e-mail where the first part is the message, and the 2nd part is the
file attachment (and more parts for additional files). The file data is
encoded using base64 encoding in this example. You just need to create th
At 09:43 PM 4/8/02 +0100, Ross Fleming wrote:
>Multiply by 100, take the absolute value and divide by 100 again
That will round down to 2 decimal places. To round to the nearest 2
decimal places, to what Ross said but instead of getting the absolute
value, just round it normally.
>Hi all,
>
>
At 03:31 PM 4/8/2002 +0200, Alberto. Sartori wrote:
>You should do the cicle and get the datas until you reach the end of file
>aka feof($fp) or better, try to use fread()
Yup, good point. Here's the modified code.. not using fread() though. For
non-binary data I think this should work ok tho
ata[$c]; break; } case 2 : {
>$marque= $data[$c]; break; } case 3 : { $nom = $data[$c]; break; } case 4
>: { $pdfproduit= $data[$c]; break; } case 5 : { $commprod = $data[$c];
>break; } } } ?>
>
>
>
>
>--
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
Mike Flynn - Burlington, VT
http://www.mikeflynn.net/ - [EMAIL PROTECTED]
home=>work=>home=>store=>home [repeat daily]
I doubt there is any way to do this without using an intermediate step. I
would grab all the data you need from whichever tables you are grabbing
from, into a temporary array in PHP, including whatever keys you are using
to place them into the other table where they are being placed. Then go
ysql_query($query);
>$Location_Info = mysql_fetch_row($result);
>
>echo "$Location_Info";
>
>?>
>
>
>
>
>
>
>--
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
Mike Flynn - Burlington, VT
http://www.mikeflynn.net/ - [EMAIL PROTECTED]
home=>work=>home=>store=>home [repeat daily]
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 09:19 AM 4/4/2002 +, you wrote:
>I can't figure out how to get email bounces to come back so that I can
>remove them from my lists. Is there some way to do this? I am using the
>mail function.
>
>Troy
If you mean remove them automatically, then I don't think there would be
any way to do
At 02:37 PM 4/2/02 -0700, Robin Bolton wrote:
>Another way to pass data from JavaScript <-> PHP is with cookies.
Good point!
-Mike
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have answered variations on this question at least 3 times. Please check
the archives. JavaScript is client-side, PHP is server-side. The only way
to go from JavaScript to PHP (in that direction) is by going to a new page
-- 1. Reloading the current page, with the relevant data in the quer
IFrames don't use the 'value' property, so your second approach was right
-- putting the content between the iframe tags. Now, do you know that
IFrames are only supported by Internet Explorer and not Netscape
Navigator? They are used on almost *no* sites.. so you may want to
consider that be
Anything outside of the tags doesn't affect PHP one way or the
other, as long as it doesn't contain any of the strings like etc
that turn PHP parsing on and off. So I don't think the JavaScript or
IFrames would affect it.
-Mike
At 12:31 PM 3/29/2002 -0600, Todd WIlliamsen wrote:
>Parse err
ill be able to grep text from MS Word and
>then save that word file into MYSQL database? Which means is MYSQL will be
>able to store files into it's table?
>
>Thx a lot
>jack
>[EMAIL PROTECTED]
>
>
>
>--
>PHP Windows Mailing List (http://www.php.net/)
>To u
At 03:58 PM 3/18/2002 +0100, Martin wrote:
>Hmm I have registred the Session $Namn
>by the following snippet:
>
><< File1 >>
>session_register("Namn");
>$Namn = "sweden";
>echo"ett litet test med sessioner";
>?>
Should there be a session_start() here? You have session.auto_start set to
0 in you
ext file. anyone know why? my example is
>http://www.notchmetal.com/bio/
>
>thanks
>
> -Sean-
Mike Flynn - Burlington, VT
http://www.mikeflynn.net/ - [EMAIL PROTECTED]
home=>work=>home=>store=>home
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 08:00 AM 3/11/2002 +0100, Wolfgang Schneider wrote:
>Actually, I was thinking of some "normal server side pages" ... :-)
>I've seen things people did with asp pages where I thought they sized
>pop windows or resized already open windows via the server side
>language, now I may simply be mistak
Good point. I assumed that Wolfgang meant for normal client-side pages.
-Mike
At 10:33 AM 3/10/02 -0800, alain wrote:
>Mike:
>You are right and you are wrong ;) It depends on the way that you are using
>php, if it's on a web site you are right, but you can also use php as a
>standalone applicat
Argh, how many times must it be reiterated that PHP is a *SERVER SIDE
PROGRAMMING LANGUAGE*. What this means is that by itself it cannot do
ANYTHING on the client's side ONCE THE PAGE HAS LOADED. You can have PHP
generate some JavaScript and dHTML to do such things, but PHP by itself
only ex
s in such kind of
>strings.
> > ' $bla bla and bla $bla '
> >
> > " \$bla bla and bla \$bla " - this should work too, but i haven`t
>checked.
> >
> > rash
> >
> >
>
>
>
>--
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
-- Mike Flynn --
mike @ mikeflynn . net
home => work => home => shop => home [adbusters]
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sessions won't depend on the browser version. If you are using cookies for
the sessions, it will just depend on whether their browser has cookies
blocked or not. If you are not using cookies, and have the "transparent
SID" option turned on in the PHP.INI file, then the ?SID=xxx will get
appe
One option is to use substr():
$thestring = 'scott';
$thestring = substr($thestring, 0, 3);
At 03:02 PM 3/6/02 -0500, Scott St. John wrote:
>I am trying to create a file in which each line is exactly 255 characters
>long, some of the data I am importing is longer than the field allows.
>Does any
Duh, just let him know the proper setting:
error_reporting = E_ALL & ~E_NOTICE
That will keep everything but minor warnings. That's what most people use.
-Mike
At 07:40 PM 3/2/02 -0800, alain samoun wrote:
>Crizz:
>Obviously you don't want to do that at this point - No error reporting for a
nt for the address field on the browser?
>If I type "http://localhost/test.php/whatever.pdf"; in the address field I
>get a server error which I was also expecting to be hornest. I don't see how
>that should work.
>
>
>"Mike Flynn" <[EMAIL PROTECTED]&
address "http://localhost/test.php"; and the
>browser would load Acrobat Reader and show the pdf document generated from
>"whatever.html".
>
>So how do I get the ".pdf" added?
>By typing the address "http://localhost/test.php?.pdf"; ? Doesn
chunked
> > > Content-Type: text/html
> > >
> > > some stupid html, or nothing at all
> > >
> > > in which case, I would try a different method to verify that data is
> > > properly passing between php and htmldoc.exe.
> > >
> > &g
At 04:56 PM 2/18/2002 +0100, Svensson, B.A.T. (HKG) wrote:
>Question: What prevents you from implement the system based on a Linux
>server just as the other "web stations"?
>
>If there is nothing that prevents this, why not go for a much secure and
>stable network platform like Linux?
Is this re
I should have been more specific in some of my pseudocode:
Update
View
Priv
That is, the '$userid's and the array indexes '[x]' they are followed by
are separate in the code.
-Mike
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/u
Ok, well what I would do is have each of the series of checkboxes be in an
array for each user, using variable variables.
There's probably an easier way to do it, but I'm not sure.. so here's
basically what I'd do (in pseudocode):
for (each user, their id being $userid) {
Update
Vi
You have to be a little more clear. What do you mean by "dynamically
generated" and "tree"? If the checkboxes are created dynamically, what
naming convention are using to give the checkboxes names? Set their
value=".." to whatever you want, and use some convention for their
names. Then aft
At 09:17 PM 2/12/2002 -0800, you wrote:
>What server side script should I use, I was visiting hotscripts and they
>don't really have anything that will work for me.
You don't really need a script. Just use a PHP file as the form action,
and in the PHP file create an e-mail with all the form inf
At 10:43 AM 2/12/2002 -0500, Nicole Amashta wrote:
>Not in the least. That is not the same at all. You are referencing the
> button.
>
>I am referencing a hidden field that is set with that value no matter what.
Exactly. I learned this the hard way. Don't rely on the submit button at
all. IE
At 09:45 PM 2/11/2002 -0800, Mike wrote:
>I am creating a page with a form on it. I want it so that when people click
>submit, I want the information from the form to be emailed to me. Is there a
>way I can do this with normal JavaScripting or even plain HTML or would I
>have to use something like
At 05:32 PM 12/28/01 +0100, you wrote:
>Don't send CC message to those who does not need the information,
>plse!!!
>
>(I am starting to get pretty fucking annoyed about that people doesn't check
>those things before pressing the send button/key.)
Actually, I did it on purpose, not
Huh? To average? You just use addition and division. It doesn't require
a function. A function would not only be silly but probably take more
keystrokes just to type.
Average = sum of units' values / number of units.
Additionally, you can do this automatically if you're storing your values
gt; >
> >
> >
>
>
>--
>PHP Windows 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]
-=- Mike Flynn - Bu
At 02:46 PM 12/28/2001 +0200, you wrote:
>Running NT4sp6a and PHP4.1.0.
>
>I try to redirect the browser to a new location [http://www.qnet.fi";); ?>], but nothing happens in the browser. There are no
>extra spaces, CR's, LF's or anything, and output_buffers are on in the
>php.ini.
>
>Any ideas??
At 02:10 PM 12/28/2001 +0800, you wrote:
>Dear all
>I'm using UltraDev which build a form containing a menu, there a two items
>inside this menu for user to choose. This form is using Post Action to
>$php_self which means it will pass back the variable to itself.
>Then here is the question:
>
> w
At 02:27 AM 12/23/01 -0500, you wrote:
>I thinjk in NS4.x, you have to make the Name or ID of all radio buttons same
>otherwise it will not work.
Yeah there's no bugs between Netscape and IE for radio buttons. Any
buttons having the same name will be in one group, wherein only one can be
selec
At 12:51 PM 12/19/2001 +0100, you wrote:
>Hello
>
>I have to redirect to an ssl with header function
>
>is it possible to force _top in header ?
Not positive what you mean, but if you mean that you just want the new page
to be at the top, it should automatically do that. The redirect statement
At 11:48 AM 12/18/2001 +0100, Martin.Andrew wrote:
>I want to use a combo box with multiple select enabled.
>Selecting one value works fine but when I select multiple values only the
>last value is saved in the DB.
>
>you must be able to use this function in PHP, right?
Name the select box as an
At 06:11 PM 12/9/2001 +, you wrote:
>I found the problem.
>
>There was a problem with FTP security, and a member decided to look in my
>PHP files and find my MySQL password. He then, obviously, used that MySQL
>password to trash our database.
>
>Mystery solved.
>
>- Jefferrs
A good way to hel
At 05:30 PM 12/6/2001 +0800, you wrote:
>I wish to hit the reply button and to: email automatically fill in as
>[EMAIL PROTECTED] not
>the email of the originator, could this be done on this list especially?
>
>Thanks.
>
>ST Ooi
>Malaysia
This would be something the list admin has to do. I thin
At 11:10 AM 12/6/2001 +, you wrote:
>WE not as STUPID as you ! Ignore this scam !
>
>Stupid Nigerian asshole.
Take a fucking chill. This is a well-known spam that circulates all the
time. The originator is not the real excite e-mail alias that it came
with. It's a worm.
There's no need
I've heard that ~256 characters is about the safe limit.
-Mike
At 12:25 PM 12/4/2001 +, you wrote:
>Be careful using long urls!
>
>It's a very unreliable mechanism.
>
>I've tried it in the past and anything over 1K is pushing your
>luck. Depending on the systems the URL is being passed th
Which session library files do you mean? Sessions should never create the
headers -- there's no reason for them to do so. There's nothing in the
page itself that sessions need care about and nothing they can affect / be
affected by. Are you sure that the headers aren't coming from somewhere
Please check a few sites to get background on this:
Start here:
http://www.php.net/manual/en/features.file-upload.php
Then check out some tutorials:
http://www.phpbuilder.com/columns/bealers2904.php3
http://www.thickbook.com/extra/php_fileupload.phtml
http://www.zend.com/codex.php?id=6&single=
tional email addresses to the 'To' list, use a
> > comma seperated list:
> > e.g. $to = "[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]";
> >
> > if you want to cc the email then add it to your headers:
> > e.g. $mailheaders .= "Cc: [EM
es. Are these somewhat
>different under Doze? I'm a bit of a newbie with php but it does
>appear some php code needs tweaking to work in windows.
>Any pointers greatfully accepted!
-=- Mike Flynn - Burlington, VT -=-
[EMAIL PROTECTED] http://www.mikeflynn.net/
At 09:21 AM 10/10/2001 +0200, Michel Laine wrote:
>"Warning: Cannot add header information - headers already sent by (output
>started at c:\program files\apache group\apache\htdocs\web1\1.php:2) in
>c:\program files\apache group\apache\htdocs\web1\1.php on line 6"
>
>Seems to me that you have some
At 05:17 PM 10/5/01 +0100, you wrote:
>I did this and now the admin page is returning a parse error?
>
>Has anybody been able to upload images via phpnuke?
>
>> if($upload) && ($admintest) {
Uhh.. look at the code.
if ($upload && $admintest) {
-Mike
--
PHP Windows Mailing List (http://www.
At 05:17 PM 10/5/01 +0100, you wrote:
>I did this and now the admin page is returning a parse error?
>
>Has anybody been able to upload images via phpnuke?
>
>> if($upload) && ($admintest) {
Uhh.. look at the code.
if ($upload && $admintest) {
-Mike
--
PHP Windows Mailing List (http://www.
iling
>with --enable-trans-sid.
> session.use_trans_sid = 1
>
>
>
>--
>PHP Windows 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
er and store the file name in the Database.
>I have tried to use the copy($string, $path) function but I keep getting errors.
>
>Does anyone know a simplat solution for this? Do I have to copy the contents of the
>file to a temp file on the server first? If so how?
>Or is th
Look at the line number indicated by the error. A parse error has nothing to do with
the mysql functions. Your code looks fine. What did you leave out with the ...'s?
By the way, an easier way to do what you're doing here is:
$res = mysql_query($query);
while ($arr = mysql_fetch_array($res))
gt;
>
>--
>PHP Windows 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]
-=- Mike Flynn - Burlington, VT -=-
At 10:39 AM 9/18/2001 +0430, you wrote:
>Hi All,
>I must a file download with used html form, for example with this code:
>How can upload only GIF or JPG file?
Be sure to include the MAX_FILE_SIZE hidden input field -- it is
required. And be sure to put it BEFORE the file input field in the cod
Hi Andrew,
I have done something very similar to this. Pretty identical. I know it
may seem complicated, but I think if you take a good look at it this code
might help you.
It's for managing a dynamic
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTE
Hey all,
Here's something I've wanted to do in the past, but being unable to figure
it out just worked around it.
Does anyone know of a good, secure solution to strip html characters like
htmlspecialchars() does, for security sake and proper page viewing, but
allow text formatting tags, like
t;
>Thanks a lot.
>
>
>
>--
>PHP Windows 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]
-=- Mike Flynn - Burl
ng 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]
-=- Mike Flynn - Burlington, VT -=-
[EMAIL PROTECTED] http://www.mikeflynn.net/ * Giv
;--
>PHP Windows 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]
-=- Mike Flynn - Burlington, VT -=-
[EMAIL PROTECTED]
to work with this variable (array)
>also in JavaScript !! So I have test[1]test[5] in PHP but how can I
>get values from this variables in JavaScript ? I know this is little off
>topic but I spent already whole day on this with no luck so far !!
>
>DAN
>
>-Original M
gt; > Situation:
> > > for ($i=1; $i<6; $i++) {
> >
> > }
> > ?>
> > This is all in one form. How can I get all five values of test from this
> > kind of code ?
> >
> > DAN
> >
>
>--
>PHP Windows Mailing List (http://
At 07:25 PM 8/8/2001 -0400, you wrote:
>I'm getting this message ...
>with the following code.
>
>
>$len = filesize($filename);
>header("Content-type: application/pdf");
...
Well, it's kind of important to know what comes before the ped it ... because if there's any kind of output whatsoever
befo
Hi,
1. This is dependent on your server software. If you configure .htm or
.html files or whatever to execute PHP the way you have .php configured,
then all files ending in .htm or whatnot will be executed the same as .php.
2. I hope you don't expect too many private replies when you put your
seem to like
>taking an array as a parameter. I had it looking something like this:
>
>global $incident_array[];
>
>Any help would be appreciated.
>
>Tom Tsongas
>
>
>
>--
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>Fo
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]
-=- Mike Flynn - Burlington, VT -=-
[EMAIL PROTECTED] http://www.mikeflynn.net/ * Give blood *
Am
variable based on this function and use this variable within the
>select statement!
>Anyone know whats happening or if there is a descent solution available?
>
>thanks,
>
>Andrew
-=- Mike Flynn - Burlington, VT -=-
[EMAIL PROTECTED] http://www.mikeflynn.net/ * Give bl
At 11:32 AM 7/29/01 -0700, Rasmus Lerdorf wrote:
> > > $a = array("a","b","c");
> >
> > for ($c=0 ; $c < count($a) ; ++$c);{
>
>Get rid of the ; there ^^^
Also,
echo("$a[$c] \n");
will probably not work.
Try:
echo $a[$c]."\n";
or, using your syntax, echo($a[$c]."\n");
You may want to
Can
>somebody help me?
>
>
>
>--
>PHP Windows 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]
-=- Mike Flynn - Burl
1 - 100 of 118 matches
Mail list logo