In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> Is there a way to seed the mt_rand function with numbers and letters to
> generate a good password of say 6-10 characters?
>
> Thanks
>
> Phillip
As I understand it, mt_rand is a random _number_ generator. But I imagine
that you cou
If I change:
$to_path = "c:\\".$date."www\\";
to
$to_path = "c:\\".$date."\\www\\";
It doesn't work? Otherwise, it works.
Can anyone help? Undoubtably something f-ed in the code, or is it a
Windows thing?
###
$date = date ("Ymd");
> >
> > > oh yes i've got your point, but i've tried what you've told us before
> but
> > > still it does not redirect to cover over the frame page.
> >
> > Ah, yes, that'd be a problem... :)
> >
> > I knew what I said worked because I use it to get my pages to break out
> > of About.com's fra
On Thu, Mar 14, 2002 at 08:53:23AM +0800, Michael P. Carel wrote:
> oh yes i've got your point, but i've tried what you've told us before but
> still it does not redirect to cover over the frame page.
Ah, yes, that'd be a problem... :)
I knew what I said worked because I use it to get my pages
Morgan,
You're the second one I've seen using "do". What "do"? Is it in the php
manual and I missed it?
I changed your code slightly (to major if it's your baby). It might puke if
the $row is empty for the While loop. If it does, try an @ sign before the
while. I didn't test it but it looks
I'm trying to build PHP 4.1.2 with an existing static Apache 1.3.23
installation, and am having some resolution problems I haven't seen before.
This is on a dusty old Free BSD 2.2.2 system, but I was able to build 4.1.1
with no problems with the same configuration. It uses gcc version 2.7.2.1
Ah, PHP doesn't understand $apr1$ to be an md5 salt. Not quite sure why
Apache's htpasswd uses that salt instead of the standard $1$
On Thu, 14 Mar 2002, David Ford wrote:
> On the same box, php is generating $1$ md5 hashes properly, two char and
> $apr1$ hashes as DES. The htpassword is genera
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> Hi,
>
> Was anyone ever successful using gmp extension with PhP 4.1.1?
>
> Thank you,
> Leon
>
> -Original Message-
> From: ZILBER,LEONID (HP-NewJersey,ex1) [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 14, 2002 5:30 PM
>
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> Note that I'm using the Windows version of PHP.
>
> Whenever I use a mail() function in my PHP code I get an error of "Failed to
> Connect on line ". So, I'm guessing my error lies in the PHP
> configuration file. I searched around the
Hey Daniel:
> When I have Textboxes I can retrieve their values whne the method POST is
> used by the $HTTP_POST_VARS['name_of_the_textbox']
Here's a sample form:
When you submit it, the boxes that are checked off go into the $Doms[]
array. Those which aren't checked don't. The
Is there a way to seed the mt_rand function with numbers and letters to
generate a good password of say 6-10 characters?
Thanks
Phillip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
instead of:
$esc_subject = $row["SUBJECT1"];
use:
$esc_subject1 = $row["SUBJECT1"];
$esc_subject2 = $row["SUBJECT2"];
and have some logic, in php, later to determine which one(s) to display
-Original Message-
From: phplist [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 15, 2002 2:55 P
I apologize if I wasn't clear in my email. The query part is fine I
think, as I tested it through the myPHPAdmin and had no problem with the
results (but brackets are good though).
It's this part I'm not too sure about. AS you can see, it's just using
["SUBJECT1"] as shown. Correct me if I'm wron
(sorry if this shows up twice!)
hi, i'm new to php and am having a problem with a script i'm working on.
i posted this to alt.php a few days ago and got part of my problem
fixed, but i still have one problem which i can't figure out and haven't
gotten an answer to there.
here is the code:
");
/
What wrong with this code? It does'nt consistently send email with the
users in that table. Sometimes it duplicate sending to a certain users and
sometimes it doesnt.
Please help
$query=("Select * from $users_tablename where Group_Id='3' ");
$result = mysql_query($query);
if(!$result)er
use brackets
where (sub1 or sub2) and geo
-Original Message-
From: phplist [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 15, 2002 2:41 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Fetching 1 array from either one of 2 possible columns?
I'm working on a query by selection type of form, wher
I'm working on a query by selection type of form, where if a user
selects a subject to get information. Each database entry will have 2
subject fields, Subject 1 being the main subject and Subject 2 being the
cross-subject. A table is set up like this:
+--+--+--+--+---
There will be a correspoding variable/index set is the checkbox is checked,
no value is set for uncheck boxes
Martin
-Original Message-
From: Daniel Ferreira Castro [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 15, 2002 1:36 PM
To: [EMAIL PROTECTED]
Subject: [PHP] GET values from Checkb
On the same box, php is generating $1$ md5 hashes properly, two char and
$apr1$ hashes as DES. The htpassword is generating $apr1$ hashes.
Where is the gadget that needs fixed?
David
Rasmus Lerdorf wrote:
>The PHP one supports that if your OS does.
>
>On Thu, 14 Mar 2002, David Ford wrote:
>
On Thu, Mar 14, 2002 at 05:18:03PM -0500, Thalis A. Kalfigopoulos wrote:
> If I send just a line of simple text (like "The quick brown fox
> drowned") for XML parsing, why doesn't it call the function which I
> declare for character data handling? It doesn't even give me an error
> :-( Is it wron
When I have Textboxes I can retrieve their values whne the method POST is
used by the $HTTP_POST_VARS['name_of_the_textbox']
But when I try to use it on a checkbox it doesn't work.
How can I retireve that value from a checkbox, to know if it was checked or
not?
Thank you
Daniel F. Castro
[EMA
On Thu, 14 Mar 2002, Dennis Gearon wrote:
> So, before I start, I want to make sure it is what I want. Does anybody
> have experience in using 'mod_rewrite' and can answer this question?
>
> Does all the cookie, post, and get varibles plus all headers get
> preserved in a 'mod_rewrite' action?
The PHP one supports that if your OS does.
On Thu, 14 Mar 2002, David Ford wrote:
> Does anyone have a crypt() function that can use the $apr1$ prefixed
> salt that apache's htpasswd uses?
>
> David
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.p
Missing close " for one.
v
include("index.php?var='$var'");
^
and you don't need to pass the $var to the include since it will be included,
and obviously you already have it declared.
if index.php contained
and the file you are i
Note that I'm using the Windows version of PHP.
Whenever I use a mail() function in my PHP code I get an error of "Failed to
Connect on line ". So, I'm guessing my error lies in the PHP
configuration file. I searched around the PHP.INI file for anything
resembililing "mail". I found these two lin
Does anyone have a crypt() function that can use the $apr1$ prefixed
salt that apache's htpasswd uses?
David
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
qmail here, working fine.
I have the following set in php.ini :
sendmail_path =/var/qmail/bin/qmail-inject
Jim.
"Jason Wong" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Thursday 14 March 2002 22:56, Daniel Reichenbach wrote:
> > > I use qmail with PHP on a RH v
I would like to begin working with mail servers in PHP, with the intent of
creating a webmail system for my site. I am trying to get things working,
but am not exactly sure how to get everything installed and configured
correctly. I know that I have to install a c-client library, but am not
sure
At 05:52 PM 3/14/2002 +0200, Ando Saabas wrote:
>Ok let me explain my problem further some. I need the regular expression to
>purify the html page from script tags:
>I used: $file = eregi_replace("(.*)", " ", $file);
>Now this works fine, until theres a webpage like:
>
>script data.
>Some webpage
I must ask first, why don't you just use the session_destroy() function?
it will kill all related sessions variables and reset the PHPSESSID (if
that's you have it named)
Jim Lucas
www.bend.com
- Original Message -
From: "SpamSucks86" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Th
Plus, depending on how you are calling the file. Meaning if the file name
that you are calling is a static file name or dynamic file name
require() and require_once() will include a file before the php parser
starts its job, but this will only happen if the name isn't dynamic.
meaning that if
when someone logs in, it sets $HTTP_SESSION_VARS with the appropriate
information. to log them out, I tried just using
unset($HTTP_SESSION_VARS['valid_user']) but it doesn't actually remove
it from the session. it will only work if valid_user was set on the same
script call (for example, if it log
RewriteRule ^([[:digit:]]+)(/*)$ /__obj.php\?id\=$1 [QSA]
We use this rule to rewrite
/1234
to become
__obj.php?id=1234
and pass and Query String Arguments (QSA) like ?foo=bar and so on.
-Joe
"Dennis Gearon" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTEC
They are much the same, both "include" a file.
To quote the PHP manual "require() and include() are identical in every way
except how they handle failure. include() produces a Warning while require()
results in a Fatal Error. In other words, don't hesitate to use require() if
you want a missing f
Hi
I have this problem is that the website I am designing can be accessed using
multiple addresses: wired.st-and.ac.uk, wired.st-andrews.ac.uk,
wiredsoc.st-and.ac.uk or wired (internally). The trouble is that the cookie
is locked to one address. For instance, if I initialise it in
wired.st-an
fix ure clock!!
"Erik Price" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> On Saturday, March 13, 2010, at 10:15 PM, Jennifer Downey wrote:
>
> > I am no DHTML expert and don't even know the language also didn't know
> > where
> > to post this. But after to
Are these redundant functions or are they different? I seem to be able
to use the interchangeably.
David McInnis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is there any way to get an error message via pg_errormessage() when
using pg_connect() and it fails?
Currently I have $conn=@pg_connect(), I don't want error text showing up
where the HTML cursor is, I intend to put any error text elsewhere.
Unfortunately, $conn is FALSE and pg_errormessage()
Hi,
Was anyone ever successful using gmp extension with PhP 4.1.1?
Thank you,
Leon
-Original Message-
From: ZILBER,LEONID (HP-NewJersey,ex1) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 14, 2002 5:30 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [PHP] gmp_mod support
When I add --with-g
In article <000a01c1cb5f$a5cdbca0$b850010a@AGA253DISUP004>,
[EMAIL PROTECTED] says...
> Hi,
>
> I have a problem in my build php-4.1.2.
>
> config.cache :
> ...
> ac_cv_path_PROG_SENDMAIL=${ac_cv_path_PROG_SENDMAIL=/usr/sbin/sendmail}
> ...
>
> When i run my script php the follow error happen
In article ,
[EMAIL PROTECTED] says...
>
> could anybody help me out, while compiling and Making PHP
> its going fine, but I couldn't get any php binary file instead a
> file named 'libphp4.la' was created.
> I want to compile it as a
I seem to be getting closer to finding out how to make all requests for
html,php,etc go through ONE particular file, and then do content
management via that file and permissions. It involves 'mod_rewrite' in
Apache.
Whoa! What a learning curve for the module, though!
So, before I start, I want t
When I add --with-gmp support, I get an error cannot find gmp.h file, while
I do have ext/gmp/php_gmp.h
Thank you,
Leon
-Original Message-
From: ZILBER,LEONID (HP-NewJersey,ex1) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 14, 2002 5:26 PM
To: '[EMAIL PROTECTED]'
Subject: [PHP] gmp_m
Hi guys,
I have compiled PhP 4.1.1 as DSO module specifying --with-gmp support.
Unfortunatelly, I don't have any of gmp API's available. Does anyone know
why it doesn't work for me?
Thank you very much,
Leon
---
Leon Zilber
HP Internet Operation R&D Lab
phone: 973.443.78.82
email: [EMAI
If I send just a line of simple text (like "The quick brown fox drowned") for XML
parsing, why doesn't it call the function which I declare for character data handling?
It doesn't even give me an error :-( Is it wrong to have plain text as input for XML
parsing?
cheers,
--t.
--
PHP General
On Thu, 2002-03-14 at 13:20, Phil Schwarzmann wrote:
> Why doesn't this work...
>
> include("index.php?var='$var');
>
> I want to include a page in my code and send a variable to it but I get
> some funky error.
>
> THANKS!!
Please read this page carefully, especially the third paragraph an
Oh I see. Sorry, i was thinking apples and you guys were talking about
oranges. I just ran into this problem a little while ago, that's why I
felt the need to butt in.
Erik
On Thursday, March 14, 2002, at 05:08 PM, Edward van Bilderbeek - Bean
IT wrote:
> Jep, that was what I meant... s
On Thursday, March 14, 2002, at 05:03 PM, Jan Rademaker wrote:
> I think what Edward means is that you can't pass parameters to an
> included
> file, like include("some.inc?var=value");
> That's true, at least for local
> files. include("http://remotesite/some.php?var=value";) will work, as
>
Jep, that was what I meant... sorry Erik, didn't read your question right...
Edward
- Original Message -
From: "Jan Rademaker" <[EMAIL PROTECTED]>
To: "Erik Price" <[EMAIL PROTECTED]>
Cc: "Edward van Bilderbeek - Bean IT" <[EMAIL PROTECTED]>; "Phil
Schwarzmann" <[EMAIL PROTECTED]>; <[EMA
In PHP 4.1.0 or greater, all you need to use sessions is this:
I'm attempting to understand how to use session variables with
> register_globals off. Listed below are three very simple pages that
> pass
> session variables.
>
> >>>With register_globals off:
> I'm only able to see $ses_var1
Hmmm, now I'm in doubt... I always had errors using it, so I stopped using
it... I also have problems with variables that have the same name and are in
both the original file and the included file... might it have something to
do with the PHP version you're working on?
Greets,
Edward
- Orig
On Thursday, March 14, 2002, at 04:34 PM, Edward van Bilderbeek - Bean
IT wrote:
> you can't use a variable as a parameter for the included file... because
> include does nothing else then putting the text of the include file on
> the
> place of the include statement...
Are you sure about th
I'm attempting to understand how to use session variables with
register_globals off. Listed below are three very simple pages that pass
session variables.
>>>With register_globals off:
I'm only able to see $ses_var1 if I refer to it with
$HTTP_SESSION_VARS['ses_var1'] or
$_SESSION['ses_v
On Thursday, March 14, 2002, at 04:00 PM, David Johansen wrote:
> I would like to make a little online feedback and application form. I
> was
> trying to decide if I should use the mailto action of the form or if
> there's
> some better way that I can do it in PHP. Is there a way I could just
Hi,
I talked to you on ICQ and told you to send an email with my PHP problem. So here it
is.
Someone is submitting an URL.
The problem is that someone is submitting the URL per form. So it is allways something
like http:\\www.mydomain.com\1.htm
In that case it is difficult to tell where to loo
you can't use a variable as a parameter for the included file... because
include does nothing else then putting the text of the include file on the
place of the include statement...
so this should work:
$var = 'bladibla';
include('index.php');
Greets,
Edward
- Original Message -
Fro
Try to simplify the problem
$file='index.php?var=';
$file.=$var;
include($file);
-Original Message-
From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 14, 2002 1:20 PM
To: [EMAIL PROTECTED]
Subject: [PHP] include() question
Why doesn't this work...
include("index.
Why doesn't this work...
include("index.php?var='$var');
I want to include a page in my code and send a variable to it but I get
some funky error.
THANKS!!
Whetever you prefer. You may mail the form to you, or store in a
database/file for retrival.
Me? I would store on a database and make a page where I can see the
feedbacks. I got so many emails daily that more would not be welcome.
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.ne
OK, I guess I found the problem. RealOne Media player from real
networks uses Explorer within its program and I was not closing the
RealOne Player therefore it was holding onto the cookie.
Thanks,
David McInnis
-Original Message-
From: Rick Emery [mailto:[EMAIL PROTECTED]]
Sent: Thursd
I would like to make a little online feedback and application form. I was
trying to decide if I should use the mailto action of the form or if there's
some better way that I can do it in PHP. Is there a way I could just write
it to a file or something in PHP or is there a more typical and better w
On Thursday, March 14, 2002, at 03:06 PM, Gav wrote:
> What I do want to do though is create a gallery feature so what I
> believe I
> need to do is to append the info above into a textfile named total.txt
> or
> something. So that everytime a separate file is saved on to the server,
> it's
On Friday 15 March 2002 04:06, Gav wrote:
> I'm adapting some ecard code for my site so that users can save the
> position of various objects within my flash movie. At the moment I create
> a random file name for the text file which is saved to my server. The user
> is sent an email saying to g
On Friday 15 March 2002 03:11, you wrote:
> Sorry... The error I get on members.php page is
> "if ( == paid)" is printed if 'paid' is selected
> or "if ($paid == no)" is printed if 'not paid' is selected
> from this piece of code
> print "Paid: name='paid' value='$row->paid'>
> p
I am attempting to change the orienation of printing for a page with a huge
table to landscape instead of portrait.
This is the code I used:
$defprintercon=printer_open();
printer_set_option( $defprintercon, PRINTER_ORIENTATION,
PRINTER_ORIENTATION_LANDSCAPE);
printer_close($defprintercon);
When
I'm adapting some ecard code for my site so that users can save the position
of various objects within my flash movie. At the moment I create a random
file name for the text file which is saved to my server. The user is sent
an email saying to go to this.swf?theinfo=randomtextfile.txt. The info
On Wednesday, March 13, 2002, at 06:13 PM, Edward Tanguay wrote:
> Fatal error: Only variables can be passed by reference in
> /home/tanguay/test/testxslt.php on line 7
>
> when I run this code:
>
>
> // Allocate a new XSLT processor
> $xh = xslt_create();
>
> // Process the document, returnin
Hi all,
does any one have any expereince with this company ?
http://ciwebhosting.com/
Please feel free to share with me.
regards
R'twick Niceorgaw
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
No, because 'activation' of php is done by the server. PHP is a server
side language.
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884
"Dr. Shim" <[EMAIL PROTE
It's not $PHP_SELF that's the issue here -- well it was probably blank because either
register_globals is off or you were in a function and didn't global it. The real
trouble is that. IE < v6.0 is forgiving and if the action="" is blank sends the
request to the current page. So you feel comfy
Nope, not with Apache-1.3. Apache 2.0 will have a solution to this. Or
you can run multiple instances of Apache behind a Squid reverse proxy with
Squidguard redirecting requests to the appropriate port.
-Rasmus
On Thu, 14 Mar 2002, Pablo Murillo wrote:
> Hi
>
> I have a machine running :
> -
On Thursday, March 14, 2002, at 02:15 PM, Daniel Ferreira Castro wrote:
> If it validates the user, then he creates a session called
> login_session and
> open another file called s_proj.htm throug the line
> header("location:http://pinguim/pb/s_proj.php";);
>
> The problem is
> on my login.ph
Hi
I have a machine running :
- RH6.2
- Apache Apache/1.3.22
- PHP 4.1.1 (patched to 4.1.2) as apache module, configured in safe mode
I have different users (same group) for every VHosts for extra security
Every vhosts dir is chmoded to 0755 (and all the content too)
Why PHP use the user/group
Hey Gee:
On Fri, Mar 15, 2002 at 08:11:06AM +1300, gee wrote:
> print "Paid:
>
> paid
> not paid
> ";
I'd take a slightly different approach (wrapped for email)...
paid=='paid') ? ('checked ') : ('') ); ?>
/> Yes
paid!='paid') ? ('checked ') : ('') ); ?>
/> No
I am working with a login system and on my login I want to star a session
that has the variables login and password registered.
This is the way of my files are organized.
I have a login.htm that has a form which POST the two fields of this form
called 'ct_login' and 'ct_pass' and has the action =
Sorry... The error I get on members.php page is
"if ( == paid)" is printed if 'paid' is selected
or "if ($paid == no)" is printed if 'not paid' is selected
from this piece of code
print "Paid:
paid
not paid
";
- Original Message -
From: "Jason Wong" <[EMA
My question is can event handlers on form objects trigger PHP code?
Or even an "onsubmit" event handler on forms?
If something like this is possible, could any of you tell me how? I've
tried, and tried. I've used PHP tags inside the event handler
But the result is that the event handler is
For some reason, on just one server, data from forms posted with
ENCTYPE="multipart/form-data" never makes it to the PHP script.
We use this extremely simple test script:
And on this one server, no output shows unless the first tag is
commented and the second uncommented. On all other
(Sorry if this is a duplicate post; I sent it through the news server but
began to think that might not be forwarding posts to the list)
For some reason, on just one server, data from forms posted with
ENCTYPE="multipart/form-data" never makes it to the PHP script.
We use this extremely simple t
Jeff,
I just had this problem!
Using $PHP_SELF did not work with Netscape 4.7 for some reason. I was
using it in form submissions and kept getting the error 'Method Not
Allowed'. My fix was simple, I just hard coded the action url since.
If you really need $PHP_SELF, I don't know what the fix
I'm working on a app that uses the header("Location") is the middle of
the file, but since I'm using output buffering it shouldn't matter. The
application works fine in Mozilla, Konqueror, and IE, but not in
Netscape 4 or 6.
I don't get the error that the "headers have already been written"
erro
Rick,
I agree. Row ids should be for internal database use. SQL frees
us from needing them.
Tyler, what order do you want these records returned in? That is what
goes into the ORDER BY clause. If, for example, it is alphabetical order
of NAME then use ORDER BY NAME. If it is the order in whi
Please CC me, I'm on digest
---
Has anyone looked at what the browsers send when they request stuff
like:
images
flash
Real Audio
etc
Do they send the cookies/post/get vars from the previous page,
the requesting URI, or anything but the re
I am trying to post to another server without a form. The input is from a
form on my server. I log the entry in MySQL and then pass the input to this
function to open the connection and return a query result.
The post to the other server requires authentication in the form of USERID
and PASSWORD.
Here's a function that was sent to me in response to me needing the exact
same thing:
function pb_t2h_URLMarkup ($Text, $StyleClass = '', $Target = '')
{
if ($StyleClass != '')
$ClassS = " class='$StyleClass'";
else
$ClassS = "";
if
Hi,
I'm having trouble supporting Internet Explorer 5.5 and earlier versions
in a PHP download script. People are reporting that the file comes out
as 'download.htm'.
Here is the code in my download.php:
$len = filesize($file);
header("Content-type: application
Hello,
I've been playing with this since lastnight. I have a string of
text...Example:
"This is a test string of test, please go to http://www.google.com now."
I need something that will catch the "http://www.google.com"; part, and make
into a link instead of just plain text. Does anyone know
You can't put $a[][] inside a qouted string like that. Either use
${a[][]} or put it outside like this:
Print(" ".$aOptions[1][1]."\n");
-Rasmus
On Thu, 14 Mar 2002, Mauricio Cuenca wrote:
> Hello,
>
> I've built a function that receives an array as an argument to create an
> HTML drop-do
Hello,
I've built a function that receives an array as an argument to create an
HTML drop-down list, but when I try to print the list this is all I got:
Array[1]
Array[1]
This is my code:
---
Function TextList($sName, $aOptions)
{
$nCount = Count($
Hello,
I've built a function that receives an array as an argument to create an
HTML drop-down list, but when I try to print the list this is all I got:
Array[1]
Array[1]
This is my code:
---
Function TextList($sName, $aOptions)
{
$nCount = Count($
> Please take a look at the script below.
> If i want to show an image it doesnt work if it's under an if statement.
> Why in this case?
>
> $feedb=0;
> if($feedb==0){ echo "";}
> echo "";
> ?>
> How can i solve this problem?
By spelling src correctly.
-Rasmus
--
On Friday 15 March 2002 00:10, Vlad Kulchitski wrote:
> This is the code I am using for uploading:
>
> if(($userfile) && ($userfile != "none"))
> {
>
> $type=basename($userfile_type);
[snip]
Hmm, Andrey says the bug has been fixed and committed to the CVS. But looking
at the bug reports ther
Also you have to close all instances of the browser for this to occur.
That is even if you close the browser that has a session to the site if
you have another window open to any other site then the cookie
stays.
> OK...that looks valid.
>
> Now, what indications are you getting that the coo
Look here for more info about file upload problems with Opera:
http://bugs.php.net/search.php?cmd=display&search_for=opera&x=0&y=0
Andrey
- Original Message -
From: "Vlad Kulchitski" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 14, 2002 5:57 PM
Subject: [PHP] Opera
Thank you VERY much!!! Worked like a charm...
David
"Richard Archer" <[EMAIL PROTECTED]> wrote in message
news:a05100301b8b615655f5f@[203.89.243.68]...
> At 9:22 AM +0100 14/3/02, David Brannlund wrote:
>
> >This configuration works with GD 1.3-6 and Freetype 1.x.
> >
> >When we try to upgrade
If I have magic quotes on, will stripslashes() / addslashes() work? Doesn't seem to
work for me...
-Original Message-
From: Vlad Kulchitski
Sent: 14 ÂÅÒÅÚÎÑ 2002 Ò. 11:10
To: [EMAIL PROTECTED]
Subject: [PHP] Opera broswer & file upload / MY CODE
This is the code I am using for uploadin
CVS is the code repository. The PHP code is developed by many programmers and the CVS
is used to store the code.
CVS = concurent versioning systems. It is used to prevent race conditions when two or
more programmers are writing/patching a code.
Also there are many other pretty things.
So when bu
This is the code I am using for uploading:
if(($userfile) && ($userfile != "none"))
{
$type=basename($userfile_type);
switch ($type)
{
case "jpeg":
case "pjpeg": $filename="talkroom_gallery_photographs/$username.jpg";
copy($userfile, $filename);
The message I get is that the file is invalid format...
I tested on Netscape 4.xx and Netscape 6.xx
tested on IE 4 through 5. Works fine.
I can paste the code I am using if you want to take a look.
Vlad
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: 14 ÂÅÒÅÚÎÑ 2
This problem was fixed in the CVS.
Best regards,
Andrey Hristov
- Original Message -
From: "Vlad Kulchitski" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 14, 2002 5:57 PM
Subject: [PHP] Opera broswer & file upload
Also another question, my fileupload works everyw
1 - 100 of 176 matches
Mail list logo