php-general Digest 6 Oct 2002 06:51:40 - Issue 1627
Topics (messages 118961 through 118983):
Re: recent encrpyt decrypt code... (problems)
118961 by: Tom Rogers
118980 by: Tom Rogers
118981 by: Jeff Bluemel
flash - php
118962 by: Zeljko Bozic
118963
I'm hoping someone can help me solve this problem. I've almost got something
working. Only problem is I am having some difficulty trying to come up
with a case or condition for the single value (ie. devmodfile value = file 3
in example below) that it won't print any arrows up, up/down, or down.
I've got informix on a sco open server box, and my webserver has php 4.2.3
with apache. I'm wondering what the best way to handle the connectivity
into the sco box is (not concerned with how difficult this is to setup, but
rather pure speed)
do I try to use a native driver? if I use the native
ok Tom - that worked...
thanks for your help and assistance... I never would have figured this out
without the help.
Jeff
"Tom Rogers" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> Sunday, October 6, 2002, 7:32:11 AM, you wrote:
> JB> ok - that mad
Hi,
Sunday, October 6, 2002, 7:32:11 AM, you wrote:
JB> ok - that made things work... here is the output. it looks like it is
JB> still encrypting it. what would the resolution be for this, or can I set
JB> the key to anything I want?
Ok I have got to the bottom of it :)
You changed the name
To clarify, and correct a few typos:
Instead of:
$ssun = "foo";
session_register("ssun");
Try:
$_SESSION['ssun'] = "foo";
HTH
Justin
on 06/10/02 12:11 PM, Jeff Bluemel ([EMAIL PROTECTED]) wrote:
> instead of using the session_register try $_SESSTION[' ssun']
>
>
> "Steve Vernon" <[EMAI
instead of using the session_register try $_SESSTION[' ssun']
"Steve Vernon" <[EMAIL PROTECTED]> wrote in message
056a01c26cb2$509f2260$a5e387d9@extreme">news:056a01c26cb2$509f2260$a5e387d9@extreme...
> Hiya,
> Just upgraded to 4.2.3 and I am using the attatched PHP.ini file. I
use
> session
Ryan, et al --
...and then Ryan A said...
%
% Hi guys,
Hi!
Your project sounds interesting, but it pretty much won't work for the
US -- or at best it would be unworkable.
In the US, the area code is three digits, the exchange is three digits,
and the number itself is four digits. For years p
Try the GNU Documentation on gettext:
http://www.gnu.org/manual/gettext/index.html
Regards
Sascha
Am Sonntag, 6. Oktober 2002 01:51 schrieb Wee Keat [Amorphosium]:
> Hi everyone..
>
> Sorry for bothering u guys for such trivial matter...
>
> But where can I get a good article on how to use
Hi everyone..
Sorry for bothering u guys for such trivial matter...
But where can I get a good article on how to use the gettext() function in PHP? I
am building a website that supports multilingual capability and I've tried searching
for it (Google, Yahoo, etc) the best that I could f
I wrote the PWEE PHP extension to solve this exact problem.
http://pwee.sourceforge.net
It's great for constants but it's true power comes from "executor
persistent" variables. I haven't updated the web site but it does work with
PHP 4.2.3.
Lance
> -Original Message-
> From: Jean-Chris
Hi Guys,
I'm looking for open source mailing lists. I'm aware of hotscripts.com and
the mailing lists listed there was not what I had in mind. What I'm looking
for is possible some code snippets or applications where the scripts handles
much like Mailman in which one person can post a new message
Keep in mind that we do not officially support Apache2 yet. Will be a
while before it will be anywhere near stable.
-Rasmus
On Sat, 5 Oct 2002, kramer wrote:
> Ok guys,
> To correcte all the typos, this is what I did.
> 1. Removed PHP( directory ) completely.
> 2. Start Apache - went fine( wit
Ok guys,
To correcte all the typos, this is what I did.
1. Removed PHP( directory ) completely.
2. Start Apache - went fine( without any reference of PHP )
3. Installed PHP in a simple directory( not Program Files et al. ), so now
its e:\php-4.2.3-Win32\...
4. Copied php4ts.dll to \WINNT\system32
What I mean is, by using functions to do the hard work for you, it is
less common to make an obvious mistake. I have a couple of functions
that I use in most of my scripts.
eg.
securityCheck(); // authenticates the user
dbConnect(); // connects to database with default parameters (in config
Am Samstag, 5. Oktober 2002 20:44 schrieb Adam Royle:
> I very much appreciate the suggestions made by the people on this list,
> although for me, when developing, the less typing I have to do, the
> less errors I am bound to come across, and therefore the less debugging
> I must do. (Now, doesn't
Marek Kilimajer wrote:
> Sorry, my fault, I forgot ) before {,
> This line is right:
> if( $res->numRows() ) {
>
Yeah, I figured it out after walking away from it for a while
if( $res->numRows() > 0) {
while ($row = $res->fetchRow()){
$id = $row[0];
$question = $row[1];
$re
Do you use globals on or off ?
--
Nicos - CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com - Hébergement de sites Internet
"Steve Vernon" <[EMAIL PROTECTED]> a écrit dans le message de news:
056a01c26cb2$509f2260$[EMAIL PROTECTED]
> Hiya,
> Just upgraded to 4.2.3 and I am using the attat
Hello,
I have a form with a textarea. When I put a long text(one word page for
example), when I submit, the form is not submitted. I have to remove
some line to submit. I don't have any limit in the textarea. The content
of this form is sorted in a MySQL database. I tried to set the field
where t
Hiya,
Just upgraded to 4.2.3 and I am using the attatched PHP.ini file. I use
sessions on my website, and they dont seem to work now after the upgrade.
Just wondering which lines do I need to alter please? After I logon, they
loose the session after choosing another page. Every page runs the f
Sorry, my fault, I forgot ) before {,
This line is right:
if( $res->numRows() ) {
Gary wrote:
> Doesn't work, get unexpected { for if( $res->numRows() {. If I remove
> braces or rearrange them it fall apart piece by piece.
>
> Thanks for the try
> Gary
>
> Marek Kilimajer wrote:
>
>> what about
Couple good places to start...
http://www.phpbuilder.com/columns/hill20011214.php3
http://www.macromedia.com/desdev/mx/flash/articles/flashmx_php.html
Joseph
"Zeljko Bozic" <[EMAIL PROTECTED]> wrote in message
001b01c26ca2$cc79c7b0$b3411ad9@stuntssw9fdkdl">news:001b01c26ca2$cc79c7b0$b3411ad9@s
I'm new to php.
want to build swf appl. with sql support
need some example (source)
please help
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Sunday, October 6, 2002, 4:20:40 AM, you wrote:
JB> here is the URL that will give you the php compile info on my website
JB> (phpinfo)
Looks identical to mine as far as mcrypt is concerned.
Try changing the $key = to this:
$key = 'test';
As it looks like the key is getting truncated to
php-general Digest 5 Oct 2002 18:44:28 - Issue 1626
Topics (messages 118943 through 118960):
Re: Findng a pattern
118943 by: Rasmus Lerdorf
118951 by: Marek Kilimajer
Record Sorting Using Up and Down Arrows
118944 by: David Pratt
118954 by: Marek Kilimajer
I very much appreciate the suggestions made by the people on this list,
although for me, when developing, the less typing I have to do, the
less errors I am bound to come across, and therefore the less debugging
I must do. (Now, doesn't this seem sensible?)
Anyway, I have developed a function
Doesn't work, get unexpected { for if( $res->numRows() {. If I remove
braces or rearrange them it fall apart piece by piece.
Thanks for the try
Gary
Marek Kilimajer wrote:
> what about
>
> if( $res->numRows() {
>while( $row = $res->fetchRows() ){
>... do what you've got to do
>}
>
Thanks, never been there ;)
@ Edwin wrote:
>Actually, there *is* ("mysql_numrows").
>
>I think you've missed this one. ;)
>
> http://www.php.net/manual/en/printwn/aliases.php
>
>- E
>
>On Saturday, October 05, 2002 11:40 PM
>Subject: Re: [PHP] Looping?
>Marek Kilimajer wrote:
>
>
>
>>Just che
Actually, there *is* ("mysql_numrows").
I think you've missed this one. ;)
http://www.php.net/manual/en/printwn/aliases.php
- E
On Saturday, October 05, 2002 11:40 PM
Subject: Re: [PHP] Looping?
Marek Kilimajer wrote:
> Just checked the manual and there are no functions named *mysql_numrows
Just checked the manual and there are no functions named *mysql_numrows*
or *mysql_num_row*, but
only *mysql_num_rows* (notice the S at the end)
Steve Jackson wrote:
>Nope doesn't make any difference
>mysql_numrows or mysql_num_row returns the same:
>
>In this case nothing!
>
>
>
>>-Origi
typo:
Justin French wrote:
>This should get you started:
>
>
>
>$dbreturn = mysql_query("SELECT * FROM Items WHERE ItemID = '$ItemID'");
>echo mysql_error();
>$ItemHits = mysql_numrows($dbreturn);
>
mysql_num_rows()
>while($row = mysql_fetch_array($dbreturn))
>{
>$ItemID = $row['ItemID'];
>$Ima
PhpNuke has something like this in blocks management. Try looking at it.
David Pratt wrote:
>Hi there. I am trying to write a routine to allow me to sort the contents of
>a table by clicking on up or down arrows.
>The idea is that top record will have down arrow, bottom record up arrow and
>reco
what about
if( $res->numRows() {
while( $row = $res->fetchRows() ){
... do what you've got to do
}
} else {
... no rows
}
Gary wrote:
> John W. Holmes wrote:
>
>>> John W. Holmes wrote:
>>>
>>>
> Can someone tell where I messed up on this code snippit?
>
>
This should get you started:
";
echo "";
echo "";
echo "";
echo "";
echo "";
echo "Product Name:";
echo "$ItemName";
echo "";
echo "";
echo "Product Code:";
echo "$ItemSKU";
echo "";
echo "";
echo "Unit price:";
echo "$ItemCost";
echo "";
echo "";
echo "Description";
echo "";
echo "";
echo "";
preg_match("Results ([0-9]+) - ([0-9]+) of about ([0-9]+).
Search took ([0-9]+) seconds.",$string, $hits);
$hits[1], $hits[2], $hits[3], $hits[4] will contain your numbers
Henry wrote:
>Yes
>
>But that the string is contained within a much bigger string as well
>
>I want to search for the f
Anyone help me? this is probably quite simple but I'm pretty new to PHP.
All I want to do it loop through some DB records and display them in the
format written in this PHP file:
Anyone see where I'm going wrong? the error I get says:
Warning: Unable to jump to row 0 on MySQL result index 2
";
ec
Hello,
I'm having a problem on my server where any time there is more than one
element in an array, all elements prior to the last one get a portion of the
beginning chopped off. This portion is pretty random (I have yet to find any
pattern) other than it seems if there is a space it will chop of
The other thing.. the header will redirect and the rest won't happen???
> header ( 'Location: ../test/test.php' );
Just out of interest sake do you or not have register global on/off??
Timothy Hitchens (HITCHO)
[EMAIL PROTECTED]
HITCHO has Spoken!
-Original Message-
From: Pablo
OK, I'm attempting this again:
header ( 'Location: ../test/test.php' );
sendByPost();
function sendByPost()
{
$host = "localhost";
$port = 80;
$postdata = "field1=value1&field2=value2&field3=value3";
if ($sp = fsockopen($host, $port)) {
fputs($sp,"POST /jotr/test/test.php HTTP/1.0\
on 05/10/02 5:53 AM, Jason ([EMAIL PROTECTED]) wrote:
> I would like to be able to upload files from the client computer to the
> server via a form. I know how to build the form, but am not sure of the
> best way to process this. I know there are certain ftp functions that can
> do this, which
> Did the individual trying to send post(ed) data without the use of a
> form succeed? I tried doing this before and didn't have any luck with
> it... And I eventually gave up.
Check out Rasmus' solution: http://www.php-faq.com/postToHost.html
Jome
--
PHP General Mailing List (http://www.
41 matches
Mail list logo