Hello Matthew,
Monday, December 6, 2004, 11:33:28 AM, you wrote:
MWOP> In you .htaccess:
MWOP>
MWOP> ForceType application/x-httpd-php
MWOP>
MWOP> DirectoryIndex index
MWOP> Then, in your script, you'll need to access the PATH_INFO environment
MWOP> variable via the $_SERVE
Hello php-general,
I have a question about htaccess (I cannot modify httpd.conf in the
server since I just host on server, not dedicated one.
I want to be able to convert from :
www.mysite.com/index.php?f=module_a.php
into
www.mysite.com/index/module_a.php
and am I able to do :
www.mysite.co
Hello php-general,
I have question for you :)
Is there suggestion about how to remove html tag, javascript and quote
(' & ") from user's input at the same time ?
thx ;)
--
Best regards,
adwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.ph
Hello John,
Tuesday, October 5, 2004, 11:59:19 AM, you wrote:
JH> Yes, that is what you mean. fetch() is going to parse the smarty "email"
JH> template (where you have your IF, FOR, smarty variables, etc) and return
JH> the parsed template to you. Then you stick that into mail().
JH> If you want
AIL PROTECTED]>
JH> User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803)
JH> X-Accept-Language: en-us, en
JH> MIME-Version: 1.0
JH> To: adwinwijaya <[EMAIL PROTECTED]>
JH> CC: [EMAIL PROTECTED]
JH> References: <[EMAIL PROTECTED]>
JH> In-Reply-To: &l
Hello php-general,
Currently I use Smarty for page templating system, and I am happy with
this. But is there any way to produce a file with smarty instead of
displaying it as a page.
I want to use this as email templating, I want to create an email and
I have a template like smarty and I want to
Hello Marek,
Monday, September 20, 2004, 6:58:46 PM, you wrote:
MK> adwinwijaya wrote:
>> Hi all ...
>>
>>
>> I have script that looks like :
>>
>> if(file_exists($filename)){
>> $len = filesize($filename);
>> //header(&
Hi all ...
I have script that looks like :
if(file_exists($filename)){
$len = filesize($filename);
//header("Content-type: attachment/pdf");
header('Content-Type: application/pdf');
//header("Content-Type: application/octet-stream");
header("Cont
Hello PHP Users,
I have files (that protected from direct download) and I put it
outside public_html/ directory (outside web server directory).
and the people from outside could access the file by typing:
www.myweb.com/download.php?filename=xzy.pdf
can someone give me hint how to do this ?
than
Hello John,
Tuesday, August 10, 2004, 12:35:30 AM, you wrote:
JWH> From: "adwinwijaya" <[EMAIL PROTECTED]>
>> Assume I have array that looks like :
>>
>> Array(
>> 'type'->'Fiction',
>> 'notes
Hello all,
Assume I have array that looks like :
Array(
'type'->'Fiction',
'notes'->'Fiction books from a-z',
'list'-> Array(
'list'-> [0]->array(
'title'->'xzy',
'id'->'1')
[1]->array(
Hi...
I found a bug (may be)
I tried to do like this:
$temp = $country_list[$country_symbol['AU']] ;
this didnt work, so I have to change to :
$symbol = $country_symbol['AU'];
$temp = $country_list[$symbol] ;
is this PHP bug ?
--
Best regards,
adwinwijaya
Hello Tom,
Friday, May 14, 2004, 7:21:39 PM, you wrote:
TC> Try:
TC> http://www.1phpstreet.com/vb/scripts/ShowCode.asp?txtCodeId=318&lngWId=8
TC> Regards,
TC> Tom
so, where i can download the list of countries and its ip address ?
thx
--
Best regards,
adwin
--
PHP General Mailing List (http:/
Hello PHP,
Is there any function/class to search the location based on ip
address ?
For example, I got ip 144.xxx.xxx.xxx and it can displaying that IP
comes from X country.
thxs
--
Best regards,
adwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://
Hello php-general,
Before, our project didnt use SSL mode and it work perfectly. But now,
when we want to use ssl mode, it didnt work as we expected..
for example, when I try to type https://localhost/ it display :
Fatal error: Cannot instantiate non-existent class: smarty in
/var/www/html/HOME/w
when I use input that produce array (like
multiple checkbox will produce an array in $_POST).
Is there any way to do this ?
thank you
--
Best regards,
adwinwijaya mailto:[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
Hello php-general,
Happy april mop ... look at your phpinfo() :)
whose picture is it ?
--
Best regards,
adwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello php-general,
how to display date like Monday, 1 January 1903 18:11 pm in php ?
(since the date() function only able to display date before 1970)
(and why it only support date after 1 Jan 1970) ?
thanks
--
Best regards,
adwin
--
PHP General Mailing List (http://www.php.net/)
To u
Hi all,
I have a script like this:
in html
and in process.php I have:
$value){
$_POST[$key] = trim($value);
$_POST[$key] = stripTags($value) ;
}
}
print "" ;
print_r($_POST);
print "" ;
?>
and the output will b
a> $uploadfile = $uploaddir . $_FILES['userfile']['name'];
the problem is solved now ... I am very careless ... i forgot to
rename userfile to image ...
thank you for your help :)
--
Best regards,
adwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://w
Hello Mike,
Tuesday, February 24, 2004, 11:05:17 PM, you wrote:
FML> On 24 February 2004 06:58, adwinwijaya wrote:
>>
>> $uploadfile = $uploaddir . $_FILES['userfile']['name'];
>> Array
>> (
>> [image] => Array
F
txt
[type] => text/plain
[tmp_name] => C:\WINDOWS\TEMP\php471.tmp
[error] => 0
[size] => 2048
)
)
and when I look up at C:/Program Files/Apache
Group/Apache2/htdocs/test/ (the target directory) .. I never found
the fi
Hello ajay,
Sunday, February 22, 2004, 9:05:52 PM, you wrote:
a> hi!
a> the code is
a> include("classes/DB.php");
a> include("classes/PageMaker.php");
hmm... may be you need to add '/' in front of classess
try this one:
include(dirname(__FILE__)."/classes/DB.php");
hope it wil
would you like to show us part of the code (especially on
--> index.php line 18)
--
Best regards,
adwinwijayamailto:[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$array_j = $array[$i] ;
count($array_j) ;
2.
foreach($array as $sub_array){
foreach($subarray as $key=>$value)
echo $key.'=='.$value ;
}
cmiiw
--
Best regards,
adwinwijayamailto:[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
pache\htdocs\usydbasketball\subscribe_mailing_list.php:6) in c:\program
>> files\apache
>> group\apache\htdocs\usydbasketball\subscribe_mailing_list.php on
>> line 67
>>
>> so how do i workaround that?
>>
>> thanks
>>
>> regards
uire .. hope it work :)
--
Best regards,
adwinwijayamailto:[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
'location: foo.php'); the php
processor should terminated and open the page foo.php instead ...
cmmiw
--
Best regards,
adwinwijayamailto:[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
logic ... after sending the (redirect) to another
--> page .. the process shall be stopped and thanks for your
--> advise ... I just know that I have to write location: with space
--> ... I am get used to do that for almost 1 year :)
--
Best regards,
adwinwijaya
'something' .. it wont redirect me
to to_another_page.php but if I put die(); after calling
header(); .. it will work ...
is this the bug ?
I use php 4.3.4 ... and Apache 2.x
thanks
--
Best regards,
adwinwijaya mailto:[EMAIL PROTECTED]
--
Hello php-general,
I wonder is there any class/function in php to convert from dates
(dd/mm/ hh:mm:ss) to Julian date ?
(I also wonder why there is no Julian date function in php function
libraries ... i think it is nice to have Julian date )
thx
--
Best regards,
adwinwijaya
31 matches
Mail list logo