Hello,
I'm likely the person you're looking for.
My name's Rija
I live in Vanuatu, and I teach IT and computer science for the MontMartre
High School.
I'll give you some of the best website I've done:
- trano-bongo.com
- evelyneproducts.com
- vanua2.com
- madeinpacific.com
Also, I've done plenty
test
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I want to run php 4.2.3 on Windows 98 2nd edition using apache server, but
after installing apache on it, I've got the following message, No service
installed.
So how can I install it? Then, I also cannot install php.
Any thought?
--
PHP General Mailing List (http://www.php.net/)
To
Yep,
You need make global every variable used in yout include.
Maybe, you should declare-
GLOBAL $_GET ;
or do not call function to include your include
just do simply like this,
foreach ($sections as $key = $value) include mod.section. . $value .
.php;
- Original Message -
From: Moo
- Original Message -
From: Jeff Bluemel [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 19, 2002 8:39 AM
Subject: [PHP] is this not possible?
I'm been ignored on this question for 4-5 days now. even if it is not
possible could somebody please verify this?
is it
What does this imap_errors() mean : mailbox is empty
I tried to create new mailbox using this simple script:
if (!imap_createmailbox($mbox,
imap_utf7_encode({192.168.0.1:110/pop3}INBOX.$newname)))
echo Impossible de créer une nouvelle boîte aux lettres
:.implode(br\n,imap_errors() ) ;
Hi Guys
I'm installing PHP 4.2.3 on Apache Server 2.0.41.
If I try localhost or localhost/manual it work perfectly,
Now I want to run my php program, I developed on IIS 5.0 environment, on my new Apache
server
I get the message below , and my browser display HTTP 400 - BAD request page,
Try to change write permission doing like the following:
- Right click on the folder
- Select proprieties
- Click on security icon
- And allow everyone to write, read, execute
If you cannot access this tools, ask your administrator to allow you to do
this work.
- Original Message -
GROUP BY column ???
For example if you want the count(*) of each value
do like this
SELECT column, count(*) from 'tablename' GROUP BY column ;
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, November 15, 2002 8:17 AM
Subject: [PHP] returning unique
You can also create new uni dimensional array
with key like this '0-1' and run array_unique
and after come back to myarray
for example
[UNTESTED]
foreach ($myarray as $key1 = $value)
foreach($value as $key2 = $value2) $new_array[$key1-$key2] = $value2
;
unset($myarray) ;
$new_array =
Try to put this at the top of your script-
?php
file://require comun.inc; para llamar a la conexion mejor poner include
file://include array.inc para funciones de array
$conexion = mysql_connect(localhost, root);
mysql_select_db(bd1, $conexion);
?
/// SCRIPT
Try this one:
echo select ;
for ($d=0 ; $d 7 ; $d++)
echo option
onchange=\javascript:document.location.href='link'\.date(d/m/y,
strtotime(+$d day)).\n ;
echo /option
/select ;
- Original Message -
From: Miguel Brás [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, November
$query = INSERT INTO mararegistro (visitorid, fname, lname, borndate,
address, city, country, phone, how) VALUES (null, 'c', 'c', '12', 'c', 'c',
'c', '12', 'c');
I think you should put quotes around all of these values 12 exept null or
change null to '' ///
- Original Message -
From:
error_reporting() ;
1 E_ERROR
2 E_WARNING
4 E_PARSE
8 E_NOTICE
16 E_CORE_ERROR
32 E_CORE_WARNING
64 E_COMPILE_ERROR
128 E_COMPILE_WARNING
256 E_USER_ERROR
512 E_USER_WARNING
1024 E_USER_NOTICE
- Original Message -
From:
maybe you should remove the dot before the session path or do like this :
session.save_path = C:\PHP\sessions\tmp
- Original Message -
From: Charlie Fowler [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Wednesday, November 13, 2002 10:19 AM
Subject:
You should do like this:
$password = $row['password'];
This return weird crypted value of your password.
Unless you want send the this weird password. The function mysql_password is
irreversible, you cannot get back the value crypted by password. Use ENCODE
and DECODE instead,
- Original
-
From: Ben C. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, November 13, 2002 12:07 PM
Subject: Re: [PHP] Trying to e-mail password
Is there not any way to reverse the crypted password before e-mailing??
If not, how do I use ENCODE / DECODE?
From: rija [EMAIL PROTECTED]
Date
your 'secret code'
is worthless.
---John Holmes...
-Original Message-
From: rija [mailto:rija;vatu.com]
Sent: Tuesday, November 12, 2002 9:37 PM
To: php; Ben C.
Subject: Re: [PHP] Trying to e-mail password
ENCODE(value, 'secret code')
DECODE(field name, 'secret code
Okay, so why are you giving users read access to the mysql data folder?
They can also open up your .php file and find your secret code.
I think, it is good discussion, so I try to go deeper to it, because we need
improve security. And I hope another people to join this.
Since I don't have my
If you want php to do it in the remote server (your case),
of course, you do not have to use javascript //
Just do like this
if (isset($_POST['submit'])) // to verify that browser are sending something
correctly
{
// -- record posted data into database
and after
// -- send mail
}
But if you
What am I missing?
My form does not submit when I hit enter in the text box.
I do something approximately like this :
form action=index.php?s=add method=post
input type=text name=bongabe value=something
...
input type=submit value=submit name=submit
//
Thanks in advance.
SELECT DECODE(ENCODE('password', 'sec'), SUBSTRING(secret,1,3));
if you put quotes around substring function, mysql considere it as a string,
so I think you shouldn't.
After, are you sure that the correct table field name is the weirdthing
encoded by this function : ENCODE('password', 'sec') ???
: Monday, November 11, 2002 3:45 PM
Subject: Re: [PHP] Submit hitting enter problem
on 11/11/02 12:44 PM, rija ([EMAIL PROTECTED]) wrote:
input type=text name=bongabe value=something
I think you need to use a textarea if you wish for the returns to be
submitted.
Cheers
Justin French
Sure !
But just simple question?
Is it necessary to put quotes around these attributes values?
Because I think quotes increase the site size, and using IE4, IE5, IE6, NS4,
OPERA, quotes don't change anything.
Of course if I have somethings with space, for value's attribute, It is
important to
-
From: Justin French [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; php [EMAIL PROTECTED]
Sent: Monday, November 11, 2002 4:28 PM
Subject: Re: [PHP] Submit hitting enter problem
on 11/11/02 2:16 PM, rija ([EMAIL PROTECTED]) wrote:
Actually, I miss-read your question... do you WANT the form
How about this one,
$word_search = 'blablabla' ;
echo eregi_replace(($word_search),b\\1/b,$html) ;
//
- Original Message -
From: BAROILLER Pierre-Emmanuel [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, November 08, 2002 2:42 AM
Subject: [PHP] regular expression and exact word
Have you tried out mysql function load_file() to upload directly your file
into the database without passing through php variable ?
Like this:
$result=MYSQL_QUERY(INSERT INTO master_products
(image_thumbnail,image_thumbnail_name,image_thumbnail_size,image_thumbnail_t
ype) VALUES
I cannot explain your error message,
are you sure that the following error message provide from these lines ?
If not, I think your machine is blasted, so find out an exorcist or a witch.
Good luck !
- Original Message -
From: Roger Lewis [EMAIL PROTECTED]
To: Roger Lewis [EMAIL
Simply, HTTP Authentification
Header(WWW-Authenticate: Basic realm='something')
does not work with microsoft product, so you need to buy Microsoft
authentification from Microsoft to do something like it.
- Original Message -
From: Rodolfo Gonzalez [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
I bit you are sending something like as an blank_space before your are
sending your header.
Show us first your code.
- Original Message -
From: ROBERT MCPEAK [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, November 06, 2002 6:34 AM
Subject: [PHP] session cache limiter
Could
Either you put references into your variables
$_FILES['userfile']['tmp_name'][0] :
move_uploaded_file($_FILES['userfile']['tmp_name'][0], \ufiles) ;
or don't put bracket in your variable userfile from your input form
like this : input type=file name=userfile
- Original Message -
From:
Put your variables into {} like this '{$_POST['email'] }',
$sql =SELECT company, name, email FROM $table_name
WHERE email = '{$_POST[email]}' AND password =
password('{$_POST[password]}');
- Original Message -
From: Ben C. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday,
Sorry, I didn't read correctly the question-
There are plenty way to do it
for example :
$query = mysql_query($sql) ;
$ligne=mysql_fetch_array($query) ;
echo $ligne['company'] ;
echo $ligne['email'] ;
or
echo mysql_result($query,0,1);
- Original Message -
From: rija [EMAIL PROTECTED
Hi Guy and Gay ?
I have the following code supposed to transform date format like this 04 desambra 1975
into 1975-12-04.
User can use whatever language he want like french, english, malagasy even Bichlamar-
for example : 04, otis 1975 = 04 aout 1975 = 04 aogositra 1975 = 04-août 1975 = 04
Why don't you ask Jim Carrey ???
He knew more that whoever here about The MASK !!!
Good luck.
- Original Message -
From: Daevid Vincent [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, November 06, 2002 3:56 PM
Subject: [PHP] How do I convert an array into a mask?
Does anyone
Me :-)
I wonder if you can post me these scripts
- Original Message -
From: Clint Tredway [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 05, 2002 8:46 AM
Subject: [PHP] PHP/Flash
I have a small example of using Flash/PHP if anyone wants it..
Clint
--
PHP
Why don't you cope with opendir / readdir () and array_rand ()
I tried it and I look ok-
But, I wonder if there are noble another way to do it?
- Original Message -
From: ROBERT MCPEAK [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 05, 2002 8:40 AM
Subject: [PHP]
It depends on where the textfile are going to be store
If you store them into unauthorized directory that php does not have the
right (or permission) to write in, I think it cannot be done, but if you put
down the file into allowed directory, why not?
to make column into your text file I think \t
$result = eregi_replace(($search),span
class=hightlight\\0/span,$result) ;
I use it, and I work fine for me.
- Original Message -
From: David Russell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, November 04, 2002 7:27 PM
Subject: [PHP] Battling with highlighting search criteria
Hi Ben,
I am not sure to understand exactly what do you want to do.
But I am going to try to answer you about something,
First, If you need to create your own ftp software using php, check out ftp library
(http://www.faqs.org/rfcs/rfc959.html)
there are several function about it, and you can
If you have hundred thousand elements for example if you rob up for some
country select within tierce code-
I thinks doing like the following is better
echo select
optiona
optionb
...
optionzz
option selected$value
/option
/select ;
And I don't care if it could have 2 same
Use readfile instead fread() if you've got some problem with, it looks
better!
Header(Content-Type: $type);
Header(Content-Disposition: attachment; filename=$downloadname);
header(Content-Length: $size);
header(Content-Transfer-Encoding: binary);
readfile($file);
- Original Message -
You might receive 2 files throught upload,
then the first file name should be $_FILES['origem'] ;
and the second file name $_FILES['origem2'] ;
To use the different variables you can use, peer John Holmes's answer, there
aren't no full answer like this anywhere?
to ask if file uploaded is ok
I don't think so,
Put the bracket with your radio's name not with your the value///
For example :
print td width=2input type=radio name=gl_acct[]
value=$row['acct']{$row['acct']}/td ...
and so one/
- Original Message -
From: David Jackson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
This is rather problem about javascript than PHP -
But I think that you need to use double quotes (escaped) to distinguish query and
variables in your javascript query:
Try out this, It work fine for me:
if(!isset($HTTP_SESSION_VARS['svUserAccess'])){
echo td class='mainmenu' align='center'
it that way, and no matter which one is picked, it will be
the same value.
rija wrote:
I don't think so,
Put the bracket with your radio's name not with your the value///
For example :
print td width=2input type=radio name=gl_acct[]
value=$row['acct']{$row['acct']}/td ...
and so one
I think your machine is blasted -
Find out an exorcist or a witch
or move out to other program-
- Original Message -
From: Paul [EMAIL PROTECTED]
To: 'John Nichel' [EMAIL PROTECTED]
Cc: 'Chris Shiflett' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, November 04, 2002 3:02 PM
Subject:
Perhaps the table name 'desc' is reserved word for 'order by' so MySQL
cannot use it as table name-
So why don't you print out the mysql_error() using for example die-
like this:
$inquiry = mysql_query(select id,link,heading,desc from links where heading
like '%$entry%' or desc like '%$entry%' or
Yes,
Between user and server, everydata pass through DNS, routeur, etc...
So if you don't want someone (hackers or FBI of CIA) to decode your data,
use SSL server (https://) with certificate-
- Original Message -
From: SED [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, November
cope with readdir() or dir().
I always use one of these functions and I'm wondered if there are more
efficient solution to do it !
- Original Message -
From: Shaun Thornburgh [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, November 02, 2002 9:00 AM
Subject: [PHP] Number of files
$sql=INSERT INTO `users` (login,passwd) VALUES ('$logintxt',
'password($passwdtxt)') ;
mysql_db_query(mysite,$sql);
- Original Message -
From: Mr. BuNgL3 [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, November 02, 2002 10:32 AM
Subject: [PHP] Can't store info on a mysql
I bit you are doing something like this:
copy($file, file) ;
- Original Message -
From: marcelo [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, November 02, 2002 11:19 AM
Subject: [PHP] uping to plaese help
Hi need some help please
What is wrong with my code?
it is
Theoriquement it is not possible, because you cannot use any variable since
you don't know its name-
But you can cope something with get_defined_vars() in which you set every
variable without distinction into an array- and after you select the
variable you need using some criterias.
like this
$_FILES['userfile']['name']
$_FILES['userfile']['type']
$_FILES['userfile']['size']
$_FILES['userfile']['tmp_name']
First once you upload file from browser using form ...input type=file
name=userfile, the filename is automatically renamed by another one and put
down to the upload_tmp_dir and
I don't think that eregi or ereg consider \s as whitespace-
Instead, use or \040-
- Original Message -
From: Peter J. Schoenster [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, November 01, 2002 4:44 PM
Subject: [PHP] why does eregi match for whitespace when there is none?
Why don't you launch your script once you are in the next page?
like:
a href=next_page.phpnext/a
So you don't have to get or post anything?
$sql = select stuff from my_table;
$result = mysql_query($sql);
$count = 0;
while ($myrow = mysql_fetch_assoc($result)) {
$id = $myrow[id];
$my_array[] =
.
If possible, how to do it.
If not, does anyone have any other ideas how to do this?
Best regards,
Ranaivo Rija
[EMAIL PROTECTED]
BP 1528 Port Vila
Vanuatu
\sary_vaovao.inc on line 6
Any suggestions ?
Ravelomanana Rija
[EMAIL PROTECTED]
BP 1528 Port Vila
Vanuatu
work
well.
Ravelomanana Rija
[EMAIL PROTECTED]
BP 1528 Port Vila
Vanuatu
- Original Message -
From: Tom Rogers [EMAIL PROTECTED]
To: Tom Rogers [EMAIL PROTECTED]
Cc: Rija [EMAIL PROTECTED]; PHP-General [EMAIL PROTECTED]
Sent: Thursday, July 25, 2002 12:19 PM
Subject: Re[2]: [PHP
I want to store image data into mysql table using BLOB but I don't know how to read it
after. To record the image, I doesn't have any problem, but to read the file after and
to view the image, I can't do anything the variable show only comment like this:
memobin24.bin
So how can I do?
This
60 matches
Mail list logo