Hi,
Thanks for your response
safe_mode is Off but still I'm getting this problem.
Thank you,
Venkatesh
--- Rabin Vincent <[EMAIL PROTECTED]> wrote:
> On 6/14/06, Venkatesh Babu <[EMAIL PROTECTED]>
> wrote:
> > I have a small php file (test.php) wh
Hello All,
I have a small php file (test.php) whose code is shown
below:
This test.php works fine when I execute from command
prompt as "php test.php", but when I access it through
web browser, it seems not to be working fine, I get an
exit status of 127 (which means command not found). I
check
0; $i < $ncols; $i++ ) {
print "$row[$i]";
}
print "";
}
print "\n";
$tdate=date("d.m.y");
echo "Date*:";echo
"(DD.MM.YY)";
echo "";
$ttime=$ttime = date("H:i:s");
echo "Tim
end using array functions instead (also, it is exceedingly easy
to sort the elements of an array... see the end).
I believe this will do what you are trying to do:
//Tokenizer for Babu
$str = '10,12,14-18';
$commas = explode(',', $str); // $commas will be an array of three
items
$str=10,12,14-18;
$tok = strtok($str, ',');
while ($tok !== false) {
$toks[] = $tok;
$tok = strtok(',');
}
foreach ($toks as $token){
if (strpos($token,'-')){
stringtokenize($token);
}else{
$finaltokens[]= $token;
}
}
function stringtokenize($nstr){
$ntok1= strtok($nstr,'-');
the main string is seperated by comma and some of the
substrings(tokes) are seperated by hypen.
can some one give me an idea how to implement in php.
Thanks
babu.
-
To help you stay safe and secure online, we've developed the all new Yahoo!
Security Centre.
Hi,
how to convert DD.MM.YYand HH:MM:SS into mysql date( '-MM-DD' ) and time
format. I think the time is same as HH:MM:SS.
Are there any php built in functions , or need to convert them using regular
expressions.
thanks
babu
---
.
thanks
babu.
-
How much free photo storage do you get? Store your holiday snaps for FREE with
Yahoo! Photos. Get Yahoo! Photos
HI,
how can i write regular expression for time in 24-hour format i:e, HH:MM:SS.
using preg_match.
thanks
babu
-
How much free photo storage do you get? Store your holiday snaps for FREE with
Yahoo! Photos. Get Yahoo! Photos
/dir1/xyz.html , if the user try
to access http://localhost, or http://localhost/dir1 he shud get a message
forbidden.
Thanks
babu.
-
To help you stay safe and secure online, we've developed the all new Yahoo!
Security Centre.
how to get the email address into a simple string variable from above select
statement using oci8 functions and mssql functions.
Thanks
babu
-
How much free photo storage do you get? Store your holiday snaps for FREE with
Yahoo! Photos. Get Yahoo! Photos
;
>i think i can use require_once(file2.php) in file3.php and get the values.But
>i want to get the values selected by user from html form.
>
>Thanks for the help.
>babu
>
>
>-
>Yahoo! Messenger NEW - crystal clear PC to PCcalling worldw
It will become a big mess up for me if i combine all the files as they are
large files.
Matt Darby <[EMAIL PROTECTED]> wrote:
babu wrote:
>I am using header method for redirecting to another php file.I also want to
>pass some variables to the redirected file.
>
>for exam
help.
babu
-
Yahoo! Messenger NEW - crystal clear PC to PCcalling worldwide with voicemail
Thanks for the help mike and parker,
I have used ob_start and ob_end_flush methods, and its working fine.
i got good idea of redirecting now.
Mikey <[EMAIL PROTECTED]> wrote:
babu wrote:
>Hi parker,
>can you please tell me how to use java script or html redirect, i mea
Hi parker,
can you please tell me how to use java script or html redirect, i mean a sample.
thanks
"Chris W. Parker" <[EMAIL PROTECTED]> wrote:
babu
on Wednesday, July 20, 2005 10:15 AM said:
> 1."Is there any other alternative to this method."
Javascript o
hp documentation for header method. where there is one user
comment about this.
i have followed his steps like removing blank lines, using exit method. But the
3rd point that is "HTML goes before any PHP code ", i could not follow it , can
some one pl
Hi,
Its giving the line number. But actually i want to know the correct syntax for
concatenation. I think all there is some mistake in all the three concatination
statements.
so could some one check and give some idea.
thanks
John Nichel <[EMAIL PROTECTED]> wrote:
babu wrote
".$adduser;
$sql=mssql_query($sqlstmt);
$sql1=mssql_query($sqlstmt1);
$sql2=mssql_query($sqlstmt2);
thanks
babu
-
Yahoo! Messenger NEW - crystal clear PC to PCcalling worldwide with voicemail
Hi ,
i have a set of queries which i have placed them in one .sql file.i want to run
this file using php's mssql and oracle(oci) functions.
any idea pls.
thanks.
babu
-
How much free photo storage do you get? Store your holiday snaps for
Hi all,
i have a text file as shown below, which contains records like varaiable, value
pairs seperated by '=' .there are many such records, each record is starts with
first variable 'SUBSTRATNAME'.
SUBSTRATNAME=S112 <--
PIXEL=5
OPERATOR=Zi
KOMMENTAR=dunkel
DATUM=03.01.2005
UHRZEIT=11:22
MESSUNG
hi sokolewicz,
i get this error, wehn i try to run the file
Parse error: syntax error, unexpected ')', expecting T_PAAMAYIM_NEKUDOTAYIM in
C:\apachefriends\xampp\htdocs\fmf\IV-test-files\200501t\dirread2.php on line 21
"M. Sokolewicz" <[EMAIL PROTECTED]> wrote:
babu
f ($handle)) {
$buffer = fgets($handle, 8192);
if (substr($buffer,0,1)!=='[' && substr($buffer,0,3)!=='TYP'){
$hf = fopen($target, 'a');
fwrite($hf, $buffer);
fclose($hf);
}
}
fclose ($handle);
That should do the trick.
George
> -Original Message---
Hi i have a txt file like
[SUBSTRAT]
TYP=25x25_10
SUBSTRATNAME=S112
PIXEL=5
OPERATOR=Zi
KOMMENTAR=dunkel
INTENSITAET=1000.00
[MESSUNG]
DATUM=03.01.2005
UHRZEIT=11:22
MESSUNG=SWEEP_UI
i want to delete lines which start with '[' and 'TYP'. i have multiple such
files.i have used strstr method.
wrote: babu wrote:
> I have a directory which has thousands of files based on date.
> for example
> mmdd-number(auto increment).txt
> 20050101-0001.txt,20050101-0002.txt20050101-0210.txt
> 20050102-0001.txt,20050102-0002.txt..
files, but i want to extract data from the files with the above
format.
I have seen in the php documentation for reading a directory,but not files with
a specific structure.i could not able to write the correct regular expression
for the filename match.
can some one give an idea.
thanks
babu
files, but i want to extract data from the files with the above
format.
I have seen in the php documentation for reading a directory,but not files with
a specific structure.
can some one give an idea.
thanks
babu.
-
Yahoo! Messenger NEW
to know how it implemented.
can some one please point to some examples or so.
Thanks
babu
Send instant messages to your online friends http://uk.messenger.yahoo.com
Hi chris,
i am using mssql and php, so i trying to get the query result when the user
enters the query and submits the execute button.
i want to differentiate the syntactically correct query and the incorrect query
with differ colors.
here i am posting my code
if (-1 == $connection)
Chris Ramsay <[EMAIL PROTECTED]> wrote:On Fri, 18 Mar 2005 09:42:13 +
(GMT), babu wrote:
> Hi all i am newbie,
>
> I have a php code like this
>
> > foreach($_SESSION['history'] as $item) {
> $item = str_replace(";","",$item);
&
Hi all i am newbie,
I have a php code like this
$item";
//echo "$item";
}//foreach
?>
I want to set the color of the srting in $item.
Are there any PHP functions available.
Thanks
babu.
Send instant messages to your online friends http://uk.messenger.yahoo.com
the previous thread.that is adding
libmysql.dll to system32 and so on. I cannot find php_mysql.dll in php.ini.
can some one help
Thanks
babu
-
ALL-NEW Yahoo! Messenger - all new features - even more fun!
32 matches
Mail list logo