mysqli - it's what I wanted. thanks
hi all,
I'm looking for a mysql adapter for create my dal..
where can I find a good one? and have you ever written a dal with a mysql
adapter?
in my dal I want to pass parameters to sql sting, for example like
following:
$db->query($sql, array($name, $family))
thanks,
Shahrzad Khorrami
and rules table...
how to implement it in php?
Thanks,
Shahrzad
ok friends, solved ;)
$funName = 'getAssetHostsList';
$results = $this->_helper->results($funName);
$result = $client->$funName();
Thanks
shahrzad
#x27;this func must call from wsdl')
class Zend_Controller_Action_Helper_Results extends
Zend_Controller_Action_Helper_Abstract
{
$client = new Zend_Soap_Client('http://192.168.200.18/neuron.wsdl',
$options);
$result = $client->*getUsers*();
Regards,
Shahrzad Khorrami
by using of ' simplexml_load_string' instead of file, I solved my problem :)
thanks
hi all,
$results is a xml format string,
I want to get this string as a real xml file
$nodes = simplexml_load_file($results);
but $nodes is empty array...
how can I do that?
nodes must be an object contains xml
Thanks,
Shahrzad Khorrami
x27;]);
$result[] = $a;
}
}
return $result;
}
merci
Shahrzad ;)
Dear Richard,
we have more than one parentID with value 0 in main array, your
code is so good but show me just the children of first parentID 0.
:)
Thanks,
Shahrzad
Thanks Rechard :) I'm testing it... merccc
[singleClickExpand] =>
1
[leaf] => 1
[id] => dashboard
)
)
)
)
)
.
wow!
it means that by nid and parentID, I'll notice where I must add children
item to array...
Thanks,
Shahrzad
thanks Nathan, I think this is a good way
le or create new json file from this file with my
format?
Thanks alot,
Shahrzad Khorrami
ot;;
and add
$host = 'localhost';
$con = mysql_connect($host, $username, $password);
you can also check this page:
http://php.net/manual/en/function.mysql-connect.php
Regards,
Shahrzad
salam ;)
JQuery is good one.
--
Shahrzad Khorrami
:D
hi,
Is there any function in php to get data of a csv file from a line to
another line that we say?
for example get me data from line 400 to line 1400 of a csv file. if
no function, what you recommend to get data?
Thanks in advance,
Shahrzad
,
"r")); } else {
exec("./" . $exe . " " . $additional . " > /dev/null
&"); }
}
}
But I don't know how to pass variables to the second file? and how to use of
this function?
in *windows* enviroment... and return value of second file to first..
Thanks in advance
shahrzad
Hi friends,
I am newbie with this subject and really need to know it...
I need a good and clear samples of 'executing background process from
php<http://www.webdeveloper.com/forum/showthread.php?t=90061>'
where can I find it?
Thanks in advance,
Shahrzad
w I think this works slowly
what do you recommend?
Thanks in advance,
shahrzad
>>
>>
> 1: http://php.net/fgetcsv
> 2: if( ($row % 1) == 0 ) {
> 3: http://php.net/fputcsv
>
>
>
:-o
I want to divide this large csv file with programming to small one!
How to divide a large csv file to small ones?
Thanks,
Shahrzad
ot;
in table of database 4 column : name,ext,tel,date
that 4 field of csv file must map to these column
then I can't directly import my csv file into db. some process must do to
insert just my selected fields of csv file...
Thanks,
Shahrzad
n and programming just browse
the csv file and everything will do automatically
in my code all of lines inserted correctly with @set_time_limit(600) but
it's too slow and bad way...
no use of phpmyadmin and any splitter csv installer program..
Thanks,
shahrzad
line and
is this good way? what do you recommend? and how can I do that?
Thanks in advance,
shahrzad
nd do you know where I
can find this application source code?
Thanks in advance,
shahrzad khorrami
thanks chris :)
I tested with port 25, but it didn't work.
I confuse, I don't know what problem is
it works well with gmail...
thanks for reply :)
attachment
if(!$mail->Send()) {
echo "Mailer Error: " . $mail->ErrorInfo;
} else {
echo "Message sent!";
}
result is nothing, no error but didn't send
then I remove Username & password, but didn't work!...
thanks,
shahrzad khorrami
I'm sorry for there are no rules in the world no real men to help them. May
*Allah* help them
as we see what happened in *Iraq* who started war with Iran and just he can!
I believe because I can't see any power in men to do that. America is
behind Israel and other countries really are too weak
Hi all,
I am writing a script to print a few thousand pdf documents and I need
to have some control over the number of jobs that are sent to the
printer queue at time ...
I can not see how to get print queue information eg the number of
jobs pending .. at least my attempts are failing..
any idea
Thanks for reply
U+103A0 ... U+103DF
How can I use of it?
hi all,
is there any function to return us the lanuage of a word in the sentence?
for example : My name is شهرزاد .
when it sees شهرزاد notice that is a persian language.
Thanks
hi all,
is there any function to return us the lanuage of a word in the sentence?
for example : My name is شهرزاد .
when it sees شهرزاد notice that is a persian language.
Thanks
Thanks alot
I tested what you said and
IT WORKS!
Thanks Maciek :-)
hi all,
for reversing of characters, strrev() is good. but for persian characters
it doesn't work!
Thanks
IRIran.net'Remove page referrer' was my first question from PHP.net mailing
lists,
that's great :) , php have a good support ,
I think all php lovers gather here :) ,
I love this place ,
Thanks to all
my problem is for the 'Back' button of Internet Explorer,..
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all,
I have 2 page ,when I go from first page to second page , I don't want the user
can back to first page where it come from. is there any way to do this in php ?
to remove or disactive $_SERVER["HTTP_REFERER"] in php?
Thanks
39 matches
Mail list logo