Hello,
"John Yamokoski" <[EMAIL PROTECTED]> wrote:
> I am new to PHP but wanted to know if its possible to do the following
with
> PHP.
>
> I want to grab the size of the users RAM and the speed of the users CPU.
Is
> this even possible with PHP since its a server side language??
>
> And if its no
Hello,
"Simon Dedeyne" <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Does anybody know where to find a pre-compiled Windows (XP) version of
> PHP that includes multistring functions? I checked phpdev on firegpages
> and other sites that usually hold these installations but their versions
> don't suppo
Hello,
"Phil Schwarzmann" <[EMAIL PROTECTED]> wrote:
> Let's say you had one site and one site only to get the latest PHP/MySQL
> news, articles, reviews, resources, tutorials, advanced stuff etc.
>
> What would it be?!?
http://www.phpbuilder.com/ ?
Give me another choice :)
http://w
Hello,
(B
(B"Kondwani Spike Mkandawire" <[EMAIL PROTECTED]> wrote in message
(B[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
(B> Hi folks:
(B>
(B> Have any of you guys encountered the following error:
(B>
(B> CGI Error
(B> The specified CGI application misbehaved by not returning a complete
Hello,
(B
(B"Khalid El-Kary" <[EMAIL PROTECTED]> wrote:
(B> hi,
(B> i was asking if there should be difference in functionality of PH string
(B> functions (not mb_) between the two following configurations:
(B>
(B> the company: PHP 4.2.1, Apache 1.3.20, linux
(B> me: PHP 4.2.3, Apache 1.3.2
Hello,
"Troy May" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Extreme newbie here (halfway through my first book :) ). I need to open a
> file, read the whole file into a variable, manipulate it, and then echo it
> to the screen. I'm doing it right from my book and it's not working.
> Here's what I
n String functions?
(B
(BGenerally no, I don't think so.
(B
(B> encoding for example?
(B
(BIt's possible that they are different but you can check phpinfo().
(B
(BAlso, if you're using multi-byte functions there's a possibility that your
(Bthe company you're us
(B"Khalid El-Kary" <[EMAIL PROTECTED]> wrote:
(B> hi,
(B> infact i'm un
(B> able to obtain a copy of my hosting company's php.ini
(B
(BThen, perhaps, try running phpinfo() and compare.
(B
(BI think it might even have something to do with "register_globals".
(B
(B- E
(B
(B
(B--
(BPH
Hello Marco,
(B
(B"Marco Tabini" <[EMAIL PROTECTED]> wrote:
(B
(B> If you look at the error he's getting, I think there's something a bit
(B> more critical than the PHP tags...
(B
(BYou're right. Most probably there's something more...
(B
(B> although you're right and I missed
(B> that :-
Hello,
(B
(B"Khalid El-Kary" <[EMAIL PROTECTED]>wrote:
(B> hi,
(B>
(B> are there any php.ini directives that control the PHP string functions?
(B
(BYou mean something like this? (Under "; Safe Mode")
(B
(B->
(B; This directive allows you to disable certain functions for security
(Bre
... and yes, you forgot the semi-colon :)
Also, are you trying to do something like these?
http://www.phpbeginner.com/columns/ray/cli
- E
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"Scott" <[EMAIL PROTECTED]> wrote:
> I'm trying to run a simple test php script as a cgi script on my ISP's
server
> and haven't been able to get it to work, although according them it is
> possible.
>
> I have an example from a book which gives the following steps:
>
> 1. Put the script in the
Hello,
"Scott" <[EMAIL PROTECTED]> wrote:
>
> Forgot to include the error I'm getting is:
>
> CGIwrap Error: System Error: execv() failed
>
> Error: No such file or directory (2)
>
> Although the file and path are correct.
>
Are you sure it's correct? Most cgi-bin folders are located outside you
"Jason Wong" <[EMAIL PROTECTED]> wrote:
> On Saturday 16 November 2002 03:25, [EMAIL PROTECTED] wrote:
> > And besides,
> >
> > I thought, those issues shouldn't apply anyway to versions 1.5 and
below.
> > (Of course, the original author thinks otherwise so I'm not going to
argue
> > that...)
>
>
Hello,
IANAL, so...
"Mako Shark" <[EMAIL PROTECTED]> wrote:
> < he/she should not be using GIF at all!>>
>
> This is leading me to believe that I can't use GIFs
> because of these issues. Is this true? I know now that
> Unisys (Unisys?) made a fuss about some compression or
> whatever, but someo
And besides,
I thought, those issues shouldn't apply anyway to versions 1.5 and below.
(Of course, the original author thinks otherwise so I'm not going to argue
that...)
- E
>
> "Jason Wong" <[EMAIL PROTECTED]> wrote:
>
>
> > If the OP was concerned about such issues then he/she should not be
u
"Jason Wong" <[EMAIL PROTECTED]> wrote:
> If the OP was concerned about such issues then he/she should not be using
GIF
> at all!
True. You've got a point there.
Anyway, that was just my wild guess...
- E
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.p
Hello,
"Ernest E Vogelsinger" <[EMAIL PROTECTED]> wrote:
> At 23:53 14.11.2002, Lars Espelid said:
> [snip]
> >Try to execute this code:
> >if (ereg[^0-9], $num))
> >print "That's not a number!";
> >
> >result: parsing error, expects ')' on the if-line.
Hello,
"Jason Wong" <[EMAIL PROTECTED]> wrote:
> On Saturday 16 November 2002 00:54, [EMAIL PROTECTED] wrote:
> > Hello,
> >
> > "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote:
> > > Look around a bit. All versions of GD can be found with gif support.
> >
> > ...but here
> >
> > http://www.boutell
Hello,
"Adam" <[EMAIL PROTECTED]> wrote:
> OK, color code is not present in HTML output. Very strange!
What do you exactly mean by "color code is not present in HTML output"?
...[snip]...
Also,
> > > > Anyway, I tried your suggestion but no joy... color does not show,
as
> > > > if i had writ
Hello,
"Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote:
> Look around a bit. All versions of GD can be found with gif support.
>
...but here
http://www.boutell.com/gd/
it says:
"GD does not create GIF images"
Or am I missing something? :)
- E
--
PHP General Mailing List (http://www.php.ne
And if you want your pages to be valid xhtml, make sure that you have
quotes:
Also, be sure to use "&" instead of just "&".
- E
"Adam Williams" <[EMAIL PROTECTED]> wrote:
> Change the space in job enquiry to a +
>
> Adam
>
> On 14 Nov 2002, BigDog wrote:
>
> > Does this not work...
> >
> >
And...
--- CJ <[EMAIL PROTECTED]> wrote:
...[snip]...
> > Also is this a big security risk as I will be
> > echoing the 2nd variable as the contents of a form field.
> > Would it be possible for someone to type in
> > the URL with HTML/php in it that would make a mess
> > of everything?
Well, i
Hello,
"Justin French" <[EMAIL PROTECTED]> wrote:
> It still seems to me that there must be a fundamental problem with the
> application design if such great lengths / work-arounds / patch jobs need
to
> be applied.
>
> But that's probably another discussion altogether :)
Well, I agree.
Besides
(B
(B"bahwi" <[EMAIL PROTECTED]> wrote:
(B
(B> Because you can only do that with JavaScript, and that still assures
(B> nothing. You can always just download the source of an HTML page with no
(B> problems. In UNIX with libwww installed you just type GET
(B> http://www.microsoft.com/ and it
(BMessage-ID: <[EMAIL PROTECTED]>
(BReferences: <[EMAIL PROTECTED]>
(B
(B"Joseph Szobody" <[EMAIL PROTECTED]> wrote:
(B>Actually, it still won't work under Windows.
(B> Even on a pop-up window, you can right click,
(B> view properties, copy the page address, open
(B> a new browser window,
"Aaron Merrick" <[EMAIL PROTECTED]> wrote:
> You are right, there is a reason I am echoing it in php, it is one result
of
> an if statement.
Well, I thought so :)
...[snip]...
> I tried echoing with single quotes - no change. So I compared the view
> source of the double quoted php generated p
"Brent Baisley" <[EMAIL PROTECTED]> wrote:
> While this works pretty well under Windows, it does not work on the Mac.
> A new window will be generated with the requested properties except for
> the menus thing. The Mac UI always has the menu at the top of the screen
> and are not associated with
Hello,
"Joseph Szobody" <[EMAIL PROTECTED]> wrote:
> Folks, I have a popup window that I would like to put a mild security
> constraint on. I don't want others to be able to directly type in the
address
> of this page, modify url parameters, etc.
...[snip]...
Just wondering...
Why, can't you ju
Hello,
"pig pig" <[EMAIL PROTECTED]> wrote:
> function Order_action($sAction)
> {
> global $db;
> global $sForm;
> global $sOrderErr;
>
> $sParams = "";
> $sActionFileName = "ShoppingCart.php?";
>
> do some error checking
>
...[snip]...
I'm not sure but this could be because of some
Hello,
<[EMAIL PROTECTED]> wrote:
>
> I'm sorting records using COUNT with the following mysql command
>
> $result = mysql_query ("SELECT company_name, agent_name, count(*) FROM
> $cur_listings GROUP BY company_name, agent_name");
>
> Running this in MySQL does exactly what I need it to do but
"Chris Shiflett" <[EMAIL PROTECTED]> wrote:
...[snip]...
> Yes, this is the same code that "works fine in plain html". Why echo it in
PHP if it is static?
Good question ;)
But I'm sure there's a good a answer :) Besides, why would anybody want to
do that if there's no good reason?
- E
--
"Ben C." <[EMAIL PROTECTED]> wrote:
> I was setting up a news site that is customized for the registered user.
I
> wanted that user to have the ability to be able to click a button and have
> the password e-mailed to him. The password function that I used is
> password(password) through mysql.
Hello,
"Aaron Merrick" <[EMAIL PROTECTED]> wrote:
> Folks,
>
> Can't see an answer anywhere in the archives, so here goes.
>
> This works fine in plain html:
>
> onresize="window.location.reload(false)" topmargin="1" bottommargin="0"
> leftmargin="0" rightmargin="0">
>
> When I put it in PHP thu
"John W. Holmes" <[EMAIL PROTECTED]> wrote:
>
...[snip]...
> And where do you plan on storing this 'secret code' that your dynamic
> PHP script have to have access to in order to add users and send
> forgotten email messages??
>
> If you have something to protect, then you should have your own
Hello,
"@ Nilaab" <[EMAIL PROTECTED]> wrote:
> Hello Everyone,
>
> I have a directory that I want emptied everytime a script accesses a
certain
> function. I tried using rmdir() and then mkdir(), thinking that it will
> delete the directory and the contents within it, and would create a brand
> n
Hello,
"Step Schwarz" <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I was hoping to find some code examples or tutorials on using PHP/MySQL
with
> Japanese text. The site I've built is very close, but apparently a very
I'm not sure about tutorials in English but if you know Japanese, I'm sure
you ca
Hello
"Kelly Meeks" <[EMAIL PROTECTED]> wrote:
> I saw this used in a script, but after a couple of searches didn't come up
with anything on php.net.
I think you're looking for this:
http://www.php.net/manual/en/language.types.string.php#language.types.string
.syntax.heredoc
- E
...[snip]...
"Maxim Maletsky" <[EMAIL PROTECTED]> wrote:
>
> Well, I will spread some light - I maintain OCI8 extension :)
>
> Your machine does not need Oracle Server installed, it needs Oracle
> Client installed. These are two completely different things.
>
> So, try this in your command prompt:
>
> ec
Hello,
First, let me just say that I'm no Oracle guru. :) But while we're waiting
for them...
"Ford, Mike [LSS]" <[EMAIL PROTECTED]> wrote:
> > -Original Message-
> > From: Dan Field [mailto:danf@;ceredigion.gov.uk]
> > Sent: 12 November 2002 13:39
...[snip]...
> > That is great news,
(B"Tweak2x" <[EMAIL PROTECTED]> wrote in message
(B[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
(B> How do i make an upload script?
(B
(B http://us.php.net/manual/en/features.file-upload.php
(B
(B- E
(B
(B
(B--
(BPHP General Mailing List (http://www.php.net/)
(BTo unsubscribe, visit:
Hello,
"Alawi albaity" <[EMAIL PROTECTED]> wrote:
> I dont see any comments
> where is this useful comments go ?
...you just missed these:
http://marc.theaimsgroup.com/?l=php-general&m=103705820013067&w=2
http://marc.theaimsgroup.com/?l=php-general&m=103706935420920&w=2
- E
--
PHP General M
Hello,
"Craig Buxton" <[EMAIL PROTECTED]> wrote:
> I have been trying to include an echo statement incorporating a here
> document on pages being served by my Mac OS X (v10.1.5) and Apache (v1.3)
>
> When I try to browse test.php, which contains...
>
> echo<<
> hello...hello...
>
> ENDOFECH
"Ernest E Vogelsinger" <[EMAIL PROTECTED]> wrote:
> At 23:33 11.11.2002, Tracy Finifter Rotton said:
> [snip]
> >Does anyone know what happened to the User Contributed Notes on the PHP
> >Manual? I went to go find one today, and they all appear to be gone!
Hello Marco,
"Marco Tabini" <[EMAIL PROTECTED]> wrote:
> You need to remove the semicolon from the beginning of your heredoc
> expression. The semicolon tells PHP (incorrectly) that the instruction
> terminates, while in fact it doesn't:
I think...
> $name="John Doe"
you meant the semicolon a
Yes, I think it's a good idea to emphasize "licensing" ($$).
(B
(BAlso, "portability" might be another thing to mention. (With little or no
(Bchanges, you're apps could run on different platforms, etc.)
(B
(B- E
(B
(BPS
(BDoes anybody have any tips on how to run IIS/ASP/MSSQL server on a Z
Hello,
"Charles Wiltgen" <[EMAIL PROTECTED]> wrote:
> David Rice wrote...
>
> > It's not "mandatory" to put quotes around attributes, but it would be
wise to
> > use this style="recommended" method of representing attributes, if for
no
> > reason="other" than to get used to a habit="good".
>
> It
Hello,
"John W. Holmes" <[EMAIL PROTECTED]> wrote:
> What if you create an array of all the letters and numbers, then shuffle
> that array, implode it into a string and grab the first 24 characters?
> It should be fairly random, but not guaranteed unique.
...but just grabbing the first 24 chars
"John Meyer" <[EMAIL PROTECTED]> wrote:
> I'm doing some PHP work, and I've come across the tag. What,
exactly,
> is this?
Could be a new tag--M$ Frontpage style :)
Anyway, what does it do? It may not even be a "tag"--perhaps a secret
code...
- E
--
PHP General Mailing List (http://www.ph
Hello,
"Karl James" <[EMAIL PROTECTED]> wrote:
> Hello
>
> I was wondering if anyone had a good tutorial on how
> To insert data from a form I created to the managers
> Table in my database.
>
> Im using mysql and php for this?
>
I googled for "how to insert data in mysql" and I found th
Hello,
"Steel" <[EMAIL PROTECTED]> wrote:
> Hi php-windows,
Wrong list :)
> Does anybody knows, what regexp can help me remove almost all
> M$ Word2000 HTML tags and styles?
Perhaps, you can try this class instead:
http://phpclasses.optip.com/browse.html/package/277.html
('Haven't use it t
And btw, you might want to check "User Contributed Notes" dated 04-Nov-2002
@
http://www.php.net/manual/en/function.rand.php
Perhaps you can just add some if...else and you can have the
12-random-digit-12-random-letter-string that you're looking for.
HTH,
- E
--
PHP General Mailing List (ht
Hello,
"Sebastian A." <[EMAIL PROTECTED]> wrote:
> I am currently working on a mySQL site administration system and I need
help
> on figuring out how I can create a 24 digit letter/number unique
identifier
> string. I know that I can easily get a random number using a PHP function
(I
> can rememb
> > Also the phpMyAdmin gives me errors when I use the ' inside a field in a
(BGUI
(B> > select.
(B
(BAnd since you're using 4.2.3, make sure that you've read this as well (if
(Byou haven't yet):
(B
(B http://bugs.php.net/bug.php?id=19404
(B
(B- E
(B
(B...still using 4.2.2...
(B
(B--
Well, *I think* if you've overwritten the previous files, then you'll be
able to use the new versions.
Try phpinfo() or php -v (or something) and perhaps you'll see if indeed the
new version is running.
- E
<[EMAIL PROTECTED]> wrote:
> Hello Edwin,
> Thank yo
Hello,
"Ernest E Vogelsinger" <[EMAIL PROTECTED]> wrote:
[snip]
> If this is really what the W3C validator tells you you should file a bug
> report, IMHO. Passing GET variables should be valid HTML ;-)
[/snip]
True. And & IS a valid html. In fact, changing & to & is the only
way I could pass th
Not really. Try it ;)
Khalid is correct.
- E
"Ernest E Vogelsinger" <[EMAIL PROTECTED]> wrote:
> At 07:45 09.11.2002, Khalid El-Kary said:
> [snip]
> >hi,
> >just use & instead
> >
> [snip]
>
> Sorry, no. This woul
"Stephen" <[EMAIL PROTECTED]> wrote:
> I've always had trouble doing that. Is there like a tutorial or anything
on
> how to setup PHP and MySQL?
Simple. Google for "setup PHP and MySQL".
- E
...[snip]...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.
By restarting your web server?
- E
<[EMAIL PROTECTED]> wrote:
[snip]
> How can I start up this new and recompiled version of PHP???
[/snip]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
(B
(B"Peter" <[EMAIL PROTECTED]> wrote in message
(B[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
(B
(B...[snip]...
(B
(B> the result of echo, $tmp is displayed as '0.0002'. What's wrong here?
(BThe
(B> problem only occurs when the value is greater than a 1,000? Could the ','
(B>
Hello,
"Karl James" <[EMAIL PROTECTED]> wrote:
> http://www.ultimatefootballleague.com/Create_Account.htm
>
> Im Trying to create this form so that this will give you access to login
> Team action page
> Where you can do the add/drops Trades and submit starters..
I suggest you try something simp
And, you can add to this
> Never trust data from the client...always filter it(I use an lib to do
that)!
> Make sure register_globals is off or code accordingly.
Make sure that you're using SSL (https).
Also, (maybe not directly related though...) if possible, separate your web
server from your
"Karl James" <[EMAIL PROTECTED]> wrote:
> I have the php bible 4 book but it
> Doesnt tell you how to do things all the way
Well, I don't think there's a book that would tell you how to do things
"all the way". Besides, if there is, programming wouldn't be fun anymore ;)
Start from small things
Or,
"Jason Wong" <[EMAIL PROTECTED]> wrote:
> On Saturday 09 November 2002 14:22, Ian Newlands wrote:
> > Does anyone know of a function, or a method to calculate how many bytes
are
> > in a string? Similar to the filesize file system function.
> >
> > Any help would be appreciated.
>
> Assuming
Very interesting! Thanks! I'm sure the list will be very useful. ;)
BTW, perhaps you can add apple.com to your list. (Apache, Linux--should be
BSD...)
- E
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
(B
(B"Petre Agenbag" <[EMAIL PROTECTED]> wrote:
(B> I'm just curious.
(B
(BMe, too. :)
(B
(B> Why do you want to echo within an echo?
(B> echo '';
(B> will do the trick won't it?
(B
(BTrue.
(B
(B> Unless I miss the point, I cannot see why you need to open new php tags
(B> for t
Hello,
"Maxim Maletsky" <[EMAIL PROTECTED]> wrote:
[snip]
> As of actually converting it you could do that very loop and have an:
> $atr_arr[] = $str[$i] in it, or, even more elegantly by using split()
> function or "...chunk.." something function(), don't remember right now.
[/snip]
Perhaps,
Perhaps?
But you don't really need the parenthesis ;)
- E
"Justin French" <[EMAIL PROTECTED]> wrote:
> on 04/11/02 4:15 PM, @ Edwin ([EMAIL PROTECTED]) wrote:
>
> > Hello,
> >
> > Could it be that because you have a blank line between
>
Hello,
"Paul" <[EMAIL PROTECTED]> wrote:
> OK I guess I am closer = the variable is being passed as I tested but I
> guess is failing on the test:
>
> if (isset($_GET["error_message"]))
>
What do you mean by "failing on the test"? What are you trying to
accomplish,
btw? How are you testing it? Al
Hello,
Could it be that because you have a blank line between
> require_once "classes/HtmlTemplate.class";
>
> if ($HTTP_SESSION_VARS[user_id]){
?
(Or even some blank lines or spaces before "require_once".)
Just guessing...
- E
--
PHP General Mailing List (http://www.php.net/)
To unsubscri
"SED" <[EMAIL PROTECTED]> wrote:
> I'm not very familiar to this stuff, but if I wanna use https:// do
> don't I need a key from Verisign (or similar) to make it work?
Yes and no. If you're going to use it on a production server, yes.
If it's on a test server but you still want to be somehow "pro
Hello SED,
"SED" <[EMAIL PROTECTED]> wrote:
> Thank you for the reply, what do you mean by "sniffing", do you mean
> everbody can monitor our browsing?
I'm not really sure how I can answer your question but let me just put it
this way.
Everybody CAN monitor our browsing but:
1. That doesn't mean
Hello,
"SED" <[EMAIL PROTECTED]> wrote:
> When I use sessions in PHP or just plain login/password in $_POST, can
> 3rd parties or hackers monitor the transmission, between me and user,
> and somehow decode the transmission and use the variables to login other
> time or overtake the current session
Hello,
"Jay Fitzgerald" <[EMAIL PROTECTED]> wrote:
[snip]
> ===
> session_start();
>
> if (isset("valid_id"))
> {
> echo "$_SESSION[valid_id]";
> }
> else
[/snip]
Perhaps, it's because you need to ask
if (isset($_SESSION['valid_id'])) ?
- E
--
PHP General Mailing
Hello,
"samug" <[EMAIL PROTECTED]> wrote in message
news:20021101163718.65263.qmail@;pb1.pair.com...
> There's no php.sql, so I'll put it here.
>
There's php.db, however... :)
- E
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
(B
(B"David Russell" <[EMAIL PROTECTED]> wrote:
(B> Hi all,
(B>
(B> I upgraded php and apache on my development machine (Windows XP). I am
(B> now running apache 1.3.27 and php 4.2.3.
(B>
(B> When I run a phpinfo(), I get my full list of stuff as expected, except
(B> that the apac
Hello,
(B
(B"Adam" <[EMAIL PROTECTED]> wrote in message
(B[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
(B> I need a string expression to verify an alpha numeric password. This is
(Bwhat
(B> i've come up with , however it does not work:
(B>
(B> elseif ( (!ereg ("^[a-zA-Z]+$", $password)) ||
<[EMAIL PROTECTED]> wrote:
>
> > Asking for something illegal is *wrong*.
>
> But just stealing it without asking is OK?
>
Tell me.
if (that was a joke){
I need to rephrase myself...
> Let's get busy coding--jokes and laughs (and ...whatever)
> can be found somewhere else...
should
Asking for something illegal is *wrong*.
But, there's always a better/proper way of dealing with this kind of
person/situation.
Let's get busy coding--jokes and laughs (and ...whatever) can be found
somewhere else...
- E
--
"Do not answer anyone
Hello,
(B
(B"Simon Taylor" <[EMAIL PROTECTED]> wrote:
(B> Hi All,
(B> Does anyone know if there is a good php development environment around,
(Byou
(B
(BZend Studio ?
(Bhttp://www.zend.com/store/products/zend-studio.php
(B
(B- E
(B
(B...[snip]...
(B
(B--
(BPHP General Mailing List (
Hello,
(B
(B"Petre Agenbag" <[EMAIL PROTECTED]> wrote:
(B> Hi
(B> I'm wondering if something like this will be possible.
(B>
(B> I am correct in thinking that POST and GET data are sent as plain text?
(B
(BNot always. (POST -> SSL)
(B
(B> And, that being plain text, they should probably b
Hello,
(B
(B"David Russell" <[EMAIL PROTECTED]> wrote:
(B
(B> Hi all,
(B>
(B> I am setting up a new production server. Assuming that I do not need
(B> register globals, what does everyone suggest for setting it up:
(B>
(B> Linux machine
(B> Apache
(B> PHP 4.2.3
(B>
(B> My real ques
Hello,
"PHP List" <[EMAIL PROTECTED]> wrote:
> For some reason my brain is not operating within normal parameters
> this week.
>
> $myarray["test"] = "sd";
> echo $myarray[0];
>
> Why will nothing echo? Do I somehow have to initialize indexing on
> the array $myarray?
> php says that $myarray
Hello,
<[EMAIL PROTECTED]> wrote:
>
> On Wed, 30 Oct 2002, Marek Kilimajer wrote:
>
> > You have an empty line there, get rid of the
> > ?>
> >
> > > pair
>
> That did it!! I didn't know a blank line inside php tags would be
> interpeted as output.
>
...because it was *outside*... :)
-
...and the 2 should be 3 :)
- E
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote:
> the -5 should be -7
>
> René Fournier wrote:
>
> > (Well, at least it's tricky for me... :-)
> >
> > I need to sort an array based on three numbers that are situated in
> > the middle of each array element. For exampl
Hello,
"John Meyer" <[EMAIL PROTECTED]> wrote:
> Either way, I'm not getting the interests.
>
...[snip]...
>
> When retrieving an array from $_POST, which is the right way:
>
> $arrInterests = $_POST["interests[]"];
>
> or
> $arrInterests = $_POST["interests"];
>
Try this instead:
$arrI
Hello,
Looking for this?
http://www.php.net/manual/en/function.max.php
- E
"Davíð Örn Jóhannsson" <[EMAIL PROTECTED]> wrote:
> I have a array called $arr[], it holds integer values, I don't know how
> many indexes it holds and I need to be able to find out what the hash
> ($arr[index])
> ho
fish 'n chips on me :)
Good job there--volunteers are great!
- E
"Rick Emery" <[EMAIL PROTECTED]> wrote:
> Edwin, you are CORRECT. I had a brain-fart.
>
> I stand before you all, humbled
>
> Round of beer for everyone in the house
>
> cheers
&
Hello,
"Rick Emery" <[EMAIL PROTECTED]> wrote:
> I HAVE selected multiple items without including MULTIPLE.
>
> The following link displays a form in which there are multiple SELECTS
with the same name.
> Upon processing the form on submit, I do retrieve all selected values, not
just the last.
> T
Hello,
"Rick Emery" <[EMAIL PROTECTED]> wrote:
[snip]
> I've used it without "multiple" many times
[/snip]
Of course. But, John was correct--you can only choose one.
UNLESS you use "multiple", you won't be able to select multiple
values ;)
What seems to be the problem here... html? :)
- E
--
Hello,
"Leif K-Brooks" <[EMAIL PROTECTED]> wrote:
[snip]
> But that doesn't work at all. Any ideas on how to do this?
[/snip]
Would't it be easier (and faster) to use
http://www.php.net/manual/en/function.str-replace.php ?
- E
--
PHP General Mailing List (http://www.php.net/)
To unsubsc
Hello,
"Mukta Telang" <[EMAIL PROTECTED]> wrote:
[snip]
> I tried using echo($_GET['$textbox']) instead of printf statement in
> hello.php..
[/snip]
Try $_POST['textbox'] instead. (You were using "method=post".)
- E
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: htt
Hello Martin,
"Martin Hudec" <[EMAIL PROTECTED]> wrote:
> Hello @ Edwin,
>
> of course you can but let me say something
>
> if .. else is used when u
> need to execute one thing in case that requirement in if is met and
> second thing if it is not met..
Hello,
"wh1sp3r" <[EMAIL PROTECTED]> wrote:
> I'm trying to create a script that handles/logs banner click-throughs
> from an HTML page passing variable information through the URL.
>
> example URL:
> http://somehost.com/bannerhandler.php?value=1
>
> The test script I wrote, however, is not re
Hello,
"Martin Hudec" <[EMAIL PROTECTED]> wrote:
> or (from my point of view is this better)
>
> if {$country!="finland") :
>display_shipping(calculate_nonfinland_cost($country));
> elsif ($country=="finland" && $express=="no") :
>display_shipping(calculate_shipping_cost($weight));
> else
$_SERVER['REMOTE_ADDR']
Check more info here:
http://www.php.net/manual/en/reserved.variables.php#reserved.variables.serve
r
You cannot (implicitly) trust it though...
IP address is NOT always = THE user
- E
"Bret L Conard" <[EMAIL PROTECTED]> wrote:
> Hi all,
> I've been away for a while b
Hello,
Looking for this?
http://marc.theaimsgroup.com/?l=php-general
- E
"Chris Boget" <[EMAIL PROTECTED]> wrote:
> Besides Google, is there any other site that archives
> this list? I checked PHP Builder but I can't seem to
> find a thread (or message) dated after April...
>
...[snip]...
Hello,
"James Taylor" <[EMAIL PROTECTED]> wrote:
> Just curious if anyone out there knows how to do a "Please wait" type
screen
> while the script is running in the background.. Like say PHP is doing a
> large select from a database, while the user waits for the script I'd like
a
> graphic or som
Hello Dan,
I'm sure you can google for it. Try:
sql injection
as your keyword.
You'll find many interesting articles about it.
Like this: (found at the end of "results" page)
http://www.webmasterbase.com/article/794
HTH,
- E
"Dan Tappin" <[EMAIL
Hello,
I think the problem lies here:
> $qty = $formqty;
> if($cart[$new])
> //$cart[$new]++;
>$cart[$new] = $cart[$new] + $qty;
> else
> $cart[$new] = 1;
> $total_price = calculate_price($cart);
> $items = calculate_items($cart);
> }
It seems like you should b
301 - 400 of 533 matches
Mail list logo