I am seeing the problem now. It seem that it had to do with the 'OR'
statement inside the elseif statement... I'm going to try a workaround to
it... As for you mentioning about the code... It's too bad this message
window doesn't properly display the tabs
--clip--
if ($firstname == \"\") {
hi, perhaps someone can help me ...
i store jpgs in a database, then i read them out
and write them to a tempfile, the sizeinformation says,
the binary blob = 65.535 bytes, but the jpg file has then
768.000 bytes, horrable do dl ...
i expect that i read 65 kb and write 65 kb, thats all ...
.
Just found the problem, the if, else-if, else statement work okay when it is
too many. The reason it doesn't work is because there's a loophole in the
script due to someone's flaw logic or haven't thought about it when
brainstorming...
Thanks,
Scott
"Scott Fletcher" <[EMAIL PROTECTED]> wrote in
hi, perhaps someone can help me ...
i store jpgs in a database, then i read them out
and write them to a tempfile, the sizeinformation says,
the binary blob = 65.535 bytes, but the jpg file has then
768.000 bytes, horrable do dl ...
$TEMPFILE = tempnam("./","TMP");
Since I'm new to the subject have patience with my 'stupid' questions. On
the form-page I don't have a session_start(), right?
But, this means the session will not be set before I reload the
check_users.php?
>From what I can see the session var is a string exactly a copy of the input
(the csv, txt
In a message dated 6/26/2003 1:08:02 PM Pacific Daylight Time,
[EMAIL PROTECTED] writes:
>You need to copy dlls\*.dll to winnt\system32 too.
Yes, but my question is about the change. There are two, libxml2 and iconv,
that I had to copy into the system directory before PHP 5 would run. I didn't
ha
--- "Ford, Mike [LSS]" <[EMAIL PROTECTED]> wrote:
> > -Original Message-
> > From: Mark [mailto:[EMAIL PROTECTED]
> > Sent: 26 June 2003 15:16
> > To: John Wulff; [EMAIL PROTECTED]
> > Subject: Re: [PHP] Impossible bug!
> >
> >
> > In additon to the previous comment about re
Hmph, just not quite doing the trick... If you'd be so kind here is the
complete source to give you a little bigger picture. As you can probably
see the point of the script is to generate a bar chart of the array.
Thanks so much for the help, let me know what you think!
-John
Untitled Docume
At 22:09 26.06.2003, Scott Fletcher said:
[snip]
>I am seeing the problem now. It seem that it had to do with the 'OR'
>statement inside the elseif statement... I'm going to try a workaround to
>it... As for you mentioning about the code... It's too bad t
Jason Wong wrote:
(B>
(B> Find out where your mysql.sock is and edit php.ini to match.
(B
(BGood idea.
(B
(BThe problem was that the installation instructions for MySQL for vague
(Band confusing. I started trying to install from rpm and that didn't
(Bwork. I then installed from the binary
How would i find the value of the largest number in this array?
$example_data = array(
array("Mar-99",100,2000,5945.33,1234,10),
array("Feb-99",908,3454,4764.90,4321,50),
array("Jan-99",542,8000,13365.52,6012,60)
);
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:
Yes, this is something that would probably be changed before the final
release, maybe even in the upcoming beta1.
Edin
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, June 26, 2003 10:34 PM
Subject: Re: [PHP] PHP 5 won't instal
Hello,
On 06/26/2003 02:10 AM, Joseph Szobody wrote:
A safer architechture would be to use two machines. One to act as
the Web server and the other to process transactions. The Web
server would take the orders and request the transaction server to
process them.
The transcation server can only be a
John Wulff wrote:
How would i find the value of the largest number in this array?
$example_data = array(
array("Mar-99",100,2000,5945.33,1234,10),
array("Feb-99",908,3454,4764.90,4321,50),
array("Jan-99",542,8000,13365.52,6012,60)
);
www.php.net/max
--
The above message is encrypted with double
>How would i find the value of the largest number in this array?
>
>$example_data = array(
>array("Mar-99",100,2000,5945.33,1234,10),
>array("Feb-99",908,3454,4764.90,4321,50),
>array("Jan-99",542,8000,13365.52,6012,60)
>);
end(array_reduce($example_data,
create_function('$a, $b',
'ret
Why not just connect the 2 servers together with additional nic cards, then
the second is only accessable from the first.
On 6/26/03 6:26 PM, "Manuel Lemos" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> On 06/26/2003 02:10 AM, Joseph Szobody wrote:
>>> A safer architechture would be to use two machine
Hello,
On 06/26/2003 07:43 PM, Mike Morton wrote:
Why not just connect the 2 servers together with additional nic cards, then
the second is only accessable from the first.
That is the point but if you make the database server accessible from
the Web server, anybody that hacks the Web server, can
Manuel Lemos wrote:
That is the point but if you make the database server accessible from
the Web server, anybody that hacks the Web server, can hack the
information in the database server, making having the two servers
pointless.
Not necessarily. There are a number of things that one can do to
Hi all
Has anyone been able to call php from a servlet (JAVA) using CGI
interface? I am trying to do that here, and everything seems to work without
problems, except that no data returns from the execution of my scripts. Any
idea what could be happening? Is there information on how to configure
Hi,
I didn't quite understood what you mean by CGI in this case,
but if you reffer to calling a script which resides on a server via HTTP
protocol, i suggest you take a look at the java.net.* package, You can
use the java.net.URLConnection to connect to the PHP script and act
as a clie
PHP4: 4.3.2
Likewise, my intention is to restrict the user within
'/home/ahank/public_html' when using fopen(), but allow the user to use
include() on files in '/usr/local/share/wl'. Here is my VirtualHost
config:
php_admin_flag register_globals Off
php_admin_flag safe_mode On
Hi,
Just a suggestion. It might be better and simpler
to store the imges as files on disk and not as BLOBs
and store in the DB only the reference to their path.
I think this performs better.
Cheers,
Catalin
"Gerhard Knapp" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTE
I am in New Mexico and my php system is telling via date() that my timezone is BST
(British standard time) and not MST (Mountain Standard Time). Any clue as to why it's
doing this??
Robin E. Kopetzky
Black Mesa Computers/Internet Services
www.blackmesa-isp.net
thats right, catalin, but
is it not possible do get a binary blob and write it to file, as it is?
... i cannot believe this ..., with any program language i can do so ...
...it have to be possible to write a blob-buffer byte by byte to a file,
damn ...
best regards
-Gerhard
"Catalin Trifu"
"Dennis Browne" <[EMAIL PROTECTED]> wrote:
> You are correct ... I did not save the files as utf-8. After doing so (to both
> page.php and lng_page_ja.php). The problem is there is still odd characters on line
> 1 of the web page after rendering. I believe it is because of the signature on the
Jean-Christian IMbeault <[EMAIL PROTECTED]> wrote:
[snip]
> The problem was that the installation instructions for MySQL for vague
> and confusing. I started trying to install from rpm and that didn't
> work. I then installed from the binary and that was hell too. All the
> problems stemmed from
"Sparky Kopetzky" <[EMAIL PROTECTED]> wrote:
> I am in New Mexico and my php system is telling via date() that my timezone is BST
> (British standard time) and not MST (Mountain Standard Time). Any clue as to why
> it's doing this??
>
Maybe because your php system is in a BST timezone? Where'
Sorry, i try again...
Thanks
- Original Message -
From: "Giuliano" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 26, 2003 11:02 AM
Subject: Seraching for good Hotel & room booking program.
> Hello,
> i am serching for a good program (PHP) that i can use for
> a
I'm looking at mantis..Nice System but not sure if it's what you want. I'm
gonna mod it a bit for my usage in a Drive (FA) Environment.
Cheers,
Mun Heng, Ow
H/M Engineering
Western Digital M'sia
DID : 03-7870 5168
-Original Message-
From: Martin Balcar [mailto:[EMAIL PROTECTED]
Sent: Th
Hello,
Does anybody know of any plans for an official certification path for
PHP?. Are they launching something like that anytime soon?. Just curious.
Oscar F.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am new to this list. Does this list also provide help with PHP?
_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
Stevie Peele wrote:
I am new to this list. Does this list also provide help with PHP?
Not sure what your post has to do with this thread, but what do you mean
by also? What else does the list do?
--
The above message is encrypted with double rot13 encoding. Any unauthorized attempt
to decrypt
On Thu, 26 Jun 2003, Oscar F wrote:
> Does anybody know of any plans for an official certification path for
> PHP?. Are they launching something like that anytime soon?. Just curious.
Who are "they" ?
Do you mean the developers of PHP in general? Nope, no chance. We write
code, we do not manage
I find the value of such certification programs
> extremely questionable.
here here :D
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Certification programs, imho, exist primarily for two reasons;
1. it allows developers with little experience to add credibility to their
claims that they know how to develop software.
2. it allows non-technical people involved in the hiring chain to make
judgements when they have no clue at all
yeh well these exams come in modules , and are extremely pricey , i think
good web examples, screenshots and experience should be enough, sadly i
have not done uni so am frowned upon when looking for work but have
experience in the work force, 4 years in IT now ok thats not enough but i
have fine t
Aside from the fact that bad code can obviously make sessions hackable, what
does everyone think about the security of sessions?
I rely on them fairly heavily for low-mid range security on some of my
scripts, but if I was to do something that involved more sensitive info, are
sessions bullet proof
A working public website, that solves a business problem, is a good
credential. I can't help but wonder if it takes more hours to develop a
respectable site or to study and take an exam. Do you suppose the
certification exam might actually be an easier option?
Warren Vail
[EMAIL PROTECTED]
---
"Bob Irwin" <[EMAIL PROTECTED]> wrote:
> Aside from the fact that bad code can obviously make sessions hackable, what
> does everyone think about the security of sessions?
>
> I rely on them fairly heavily for low-mid range security on some of my
> scripts, but if I was to do something that invo
I am getting a "Call to undefined function" when invoking
session_regenerate_id().
No typos -- I've checked.
Fatal error: Call to undefined function: session_regenerate_id() in
/path_to_my_script/resetsession.php3 on line 5
Running PHP 4.3.1 on RH 8.0 and Apache 2
--
PHP General Mailing Lis
PHP 4 >= 4.3.2
D. R. Hansen wrote:
I am getting a "Call to undefined function" when invoking
session_regenerate_id().
No typos -- I've checked.
Fatal error: Call to undefined function: session_regenerate_id() in
/path_to_my_script/resetsession.php3 on line 5
Running PHP 4.3.1 on RH 8.0 and A
D. R. Hansen wrote:
I am getting a "Call to undefined function" when invoking
session_regenerate_id().
No typos -- I've checked.
Fatal error: Call to undefined function: session_regenerate_id() in
/path_to_my_script/resetsession.php3 on line 5
Running PHP 4.3.1 on RH 8.0 and Apache 2
http://u
> Set the column type of password to be a char(32). Then, pass the
password
> through md5 to mysql to store it. To verify it, pass the password
through
> md5 then compare it to what's in the database.
This is true for your own authentication but I mean how to connect to the
database using md5.
I am swamped with work and need a php expert who is familiar with IC-Radius
to do the following project for me. If it can be done by Monday, I will be
willing to pay more. You must be able to accept payment through Paypal,
Yahoo Paydirect, or Check/Money Order. Project details are below.
This is a
101 - 144 of 144 matches
Mail list logo