Why dont you use json as server response? Then manipulate it by own
javascript. You can use jquery $.getJSON function to do the ajax part
for you.
On 11/16/07, Shiplu [EMAIL PROTECTED] wrote:
Why dont you use json as server response? Then manipulate it by own
javascript. You can use jquery
Why dont you use json as server response? Then manipulate it by own
javascript. You can use jquery $.getJSON function to do the ajax part
for you.
On 11/16/07, samantha_o [EMAIL PROTECTED] wrote:
Hi,
i would like to submit forms with ajax, using jquery and then load the next
page. I had
I configured autofs in my fedora so that when I plug any usb stick in
/dev/sda1 it automatically mounts in /mnt/auto/usb0
There is two lines where the problem arise.
$util-run_command(ls -1 /mnt/auto/usb0 | wc -l);// it shows 13 when I
plug my usb stick.
$list = scandir(/mnt/auto/usb0 ); //
shiplu ezt írta:
I configured autofs in my fedora so that when I plug any usb stick
in
/dev/sda1 it automatically mounts in /mnt/auto/usb0
There is two lines where the problem arise.
$util-run_command(ls -1 /mnt/auto/usb0 | wc -l);// it shows
13 when I
plug
On Jan 22, 2008 4:21 PM, Daniel Brown [EMAIL PROTECTED] wrote:
On Jan 22, 2008 3:57 PM, Jason Pruim [EMAIL PROTECTED] wrote:
Hi everyone,
Hi, Jason!
Been doing some reading on security and have decided that I should be
storing my include files outside of the document root... Which I
Even you cant put a space before ?php tag.
the following code will throw the same error.
| ?php
| setcookie();
| ?
Because I prepend a space for each line
But this will be okay
|?php
| setcookie();
| ?
This is a very common mistake and very very hard to find.
On Wed, Mar 12, 2008 at 7:53 AM,
HI,
I am working on a PHP project that interacts with command line utilities.
My php is running by apache. Means I am not running any php CLI.
here is the function that I am using for capturing command output.
function run_command($comamnd){
$ret=`$command 1 COMMAND.OUT 21`;
use
#php -s
command to indend your source file
On 8/21/07, Colin Guthrie [EMAIL PROTECTED] wrote:
nitrox . wrote:
I want to declare these variables Game_id and Member_id in advance.
Following the suggestionfrom one of my books can I do something like this:
$expected = array('Game_id',
, August 18, 2007 3:26 pm, shiplu wrote:
HI,
I am working on a PHP project that interacts with command line
utilities.
My php is running by apache. Means I am not running any php CLI.
here is the function that I am using for capturing command output.
function run_command($comamnd
On 8/28/07, Gevorg Harutyunyan [EMAIL PROTECTED] wrote:
Barev David,
I think this is solution
1. C/C++ updates database (MySQL or other)
2. There is some PHP file that is viewing your DB info(printing static
info)
3. There is other PHP file that is using AJAX for interactive update of
On 8/28/07, mike [EMAIL PROTECTED] wrote:
On 8/28/07, Stut [EMAIL PROTECTED] wrote:
In addition the OP is running IIS so this is all kinda less than helpful
to him.
yeah, i didn't say this would, but it should be able to be ported to a
PHP module by someone i would think. i mean if
On 8/28/07, Wagner Garcia Campagner [EMAIL PROTECTED] wrote:
Thanks Jim,
Your sugestion worked perfect for me!!
I have another question:
After i validate this URL i want to put a link with this URL in my page.
The problem is that if the URL is like (www.aol.com), when i create the
link,
On 8/29/07, Aram Shatakhtsyan [EMAIL PROTECTED] wrote:
How to run C++ program(*.exe) with PHP, and then terminate it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
PHP can do anything. But the matter is where the host permits to do
Hello everybody,
I am maintaining a social network site.
there each user can send other mail.
these mails are not real mail rather message entry to database.
I added a new feature so that every message is sent to me (admin/webmaster)
via email (real e-mail).
I used mail function.
THis is a simple
Hello,
i need a good php debugger. It should provide the facility of step by step
execution in real time.
Is there any?
Do any of you know about this?
I am having a bug. I can't trace where it is.
--
shout at http://shiplu.awardspace.com/
Available for Hire/Contract/Full Time
On 5/20/08, Shelley [EMAIL PROTECTED] wrote:
Hi all,
How can I call a javascript method inside PHP?
That is:
Suppose there is a js file: http://someurl/somejs.js
There are some js methods in that js file,
I want to include that js into PHP and call its methods.
Is it possible?
If it is,
On Tue, May 20, 2008 at 8:24 AM, Christoph Boget [EMAIL PROTECTED] wrote:
I ran across a PHP function, strip_illegal_chars(), but can't seem to
find anything about it in the documentation. Does anyone know
precisely what it does? Or where I can find actual documentation for
that
Hi,
In my web server, I cant send mail by PHPMailer. But If I login by the
squirellmail webclient my hosting provider gave, it sends email promptly.
Can anyone tell me what could be the reason?
--
Shiplu
http://talk.cmyweb.net
On Thu, Jun 12, 2008 at 8:18 PM, Sebastian Camino [EMAIL PROTECTED]
wrote:
Hello,
I want to know what the # char does. On a website I was working at, I
tried to open a file with a # in it's name and I got an error. So I'd
really appreciate any help to know how to avoid the error and what
On Fri, Jun 13, 2008 at 12:00 PM, Boyd, Todd M. [EMAIL PROTECTED] wrote:
-Original Message-
From: Shiplu [mailto:[EMAIL PROTECTED]
Sent: Friday, June 13, 2008 10:55 AM
To: PHP General list
Subject: [PHP] PHPMailer not working but Squirell mail works
Hi,
In my web server
.
The problem with this solution is, I have to run X, Firefox in my web
server, which doesn't look efficient for a server.
I wanna know, is there any other way to achieve this? without creating a
screen shot server.
Thanks
Shiplu
http://talk.cmyweb.net/
On Fri, Jun 13, 2008 at 5:01 PM, Daniel Brown [EMAIL PROTECTED] wrote:
On Fri, Jun 13, 2008 at 4:56 PM, Nathan Nobbe [EMAIL PROTECTED]
wrote:
it took me longer than i thought too. the main issues are performance
ones.
My main issues are paid projects taking precedence over non-paid.
The script cycle is, symbolically:
foreach (recipients as batch)
{
mail() using batch of recipients;
mysql_query() update table;
sleep(60);
}
final mysql_query() update table as complete;
why don't you edit your
On Thu, Jun 19, 2008 at 8:55 PM, VamVan [EMAIL PROTECTED] wrote:
Hi,
How to create an associative array of this kind in PHP?
return array(
12345 = array(
'mail' = '[EMAIL PROTECTED]',
'companyName' = 'Asdf Inc.',
),
54321 = array(
'mail' = '[EMAIL PROTECTED]',
just put the method body.
Can any one help me on increasing the speed?
Thanks in Advance
--
http://talk.cmyweb.net/
http://twitter.com/shiplu
);
curl_exec($ch);
curl_close($ch);
}
fclose($this-lfp);
_
--
Blog: http://talk.cmyweb.net/
Follow me: http://twitter.com/shiplu
: http://twitter.com/shiplu
/
Follow me: http://twitter.com/shiplu
/
Follow me: http://twitter.com/shiplu
May be jsninja has mailing list.
I am fond of jquery. so i recommend it too.
--
Blog: http://talk.cmyweb.net/
Follow me: http://twitter.com/shiplu
I wanna know how to write good code in php.
Not oop stuff. I wanna know how to write a good php code file.
documentation, comments. indentation etc.
what are the good practices??
--
Blog: http://talk.cmyweb.net/
Follow me: http://twitter.com/shiplu
Thanks Eric, Diogo, Ross and specially Christopher for this long article.
I have started reading those articles.
And I hope to collect those books too.
--
Blog: http://talk.cmyweb.net/
Follow me: http://twitter.com/shiplu
Google Chrome is not released yet, is it?
Didn't get any download link. :-S
--
A K M Mokaddim
http://talk.cmyweb.net
http://twitter.com/shiplu
Stop Top Posting !!
any idea?
--
Blog: http://talk.cmyweb.net/
Follow me: http://twitter.com/shiplu
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 9/27/08, Nathan Rixham [EMAIL PROTECTED] wrote:
Shiplu wrote:
The string is tdcharge/tdtd100/td.
I want and array( charge=100).
I am using this regular expression,
'/td([^]+)\/tdtd(?P\1\d+)\/td/'.
But its not working..
I get this error.,
PHP Warning: preg_match
://twitter.com/shiplu
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
://talk.cmyweb.net/
Follow me: http://twitter.com/shiplu
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 9/27/08, Nathan Rixham [EMAIL PROTECTED] wrote:
Shiplu wrote:
The string is tdcharge/tdtd100/td.
I want and array( charge=100).
I am using this regular expression,
'/td([^]+)\/tdtd(?P\1\d+)\/td/'.
But its not working..
I get this error.,
PHP Warning: preg_match
Sorry The previous code was wrong,
Its the correct version,
$x = a b;c d;e f;;
preg_match('/(?Pkeys\w) (?Pvalues\w)/',$x,$m);
print_r($m);
Now I am using backrefrence \1 in in ?P option like (?P\1\d+).
and I got the error.
--
Blog: http://talk.cmyweb.net/
Follow me: http://twitter.com/shiplu
: http://talk.cmyweb.net/ Follow me: http://twitter.com/shiplu
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
How to match accented characters by preg match?? I need to match Sin
garantía by /([^]+)/ but its capturing only Sin garant
Any idea?
--
Blog: http://talk.cmyweb.net/
Follow me: http://twitter.com/shiplu
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
and response packet from
there.
Make a format and use it with CURL.
Thats it. So Simple. You never gonna need to know who is generating the
site, PHP or ASP.NET.
--
A K M Mokaddim
http://talk.cmyweb.net
http://twitter.com/shiplu
Stop Top Posting !!
On Sun, Dec 7, 2008 at 8:22 AM, ioannes [EMAIL PROTECTED] wrote:
shiplu wrote:
When you are dealing with curl, anything can be done as long as its a HTTP
request.Its all about sending HTTP headers and content.
To parse HTML content you can use HTML parser. Regular expression may not
work
may be you can design a class.
interface ISortable{
public sort();
public compare($a,$b);
}
SortableList implements ISortable {
}
--
Blog: http://talk.cmyweb.net/
Follow me: http://twitter.com/shiplu
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
PHP is a scripting language.
Everytime the compiler has to parse the source.
You can not except true OOP performance.
OOP behavior is okay.
If performance is the main factor, an C extension will do that.
--
Blog: http://talk.cmyweb.net/
Follow me: http://twitter.com/shiplu
--
PHP General
On Wed, Dec 17, 2008 at 6:28 AM, ioannes ioan...@btinternet.com wrote:
shiplu wrote:
On Sun, Dec 7, 2008 at 8:22 AM, ioannes ioan...@btinternet.com wrote:
shiplu wrote:
When you are dealing with curl, anything can be done as long as its a
HTTP
request.Its all about sending HTTP headers
at the very beginning of my application. APP_SESSION_TIMEOUT
has value 10 which is in minutes.
The problem is it works good in FF3. But not in IE.
Any Idea how to resolve it? or any standard way to fix it?
--
Blog: http://talk.cmyweb.net/
Follow me: http://twitter.com/shiplu
--
PHP General Mailing
, talk.cmyweb.net
Follow me, twitter.com/shiplu
Innovation distinguishes bet ... ... (ask Steve Jobs the rest)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
it can be done by changing the routing table. I think this
technique has a problem. If one script changes the gate way to its own
IP other script will be using that IP too.
Is there any way to achieve this without changing the routing table gloablly?
--
Shiplu
Innovation distinguishes bet ... ... (ask
talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http://groups.google.com/group/p2psust
Innovation distinguishes bet ... ... (ask Steve Jobs the rest)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
There can be a problem. But do you see a problem?? if yes. what is it?
May be we can find the solution.
--
Shiplu Mokaddim
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http://groups.google.com/group/p2psust
Innovation distinguishes bet ... ... (ask
kdesvn, Its great.
Don't know about GTK. But there should be.
You can find all the subversion related package list by this following
command (without $ sign)
$ apt-cache search subversion
--
Shiplu Mokaddim
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers
.
A good algorithm can solve your problem anytime. ;-)
--
Shiplu Mokaddim
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http://groups.google.com/group/p2psust
Innovation distinguishes bet ... ... (ask Steve Jobs the rest)
--
PHP General Mailing List (http
.
I've created a little working example:
#!/usr/bin/php
?
echo 'hellu';
exit(0);
?
What if you dont use any exit(0) ??
--
Shiplu Mokaddim
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http://groups.google.com/group/p2psust
Innovation distinguishes bet
Another technique could be.
$s = $mydata-restored;
if($s[0]==$s[1]
$s[1]==$s[2]
$s[2]==$s[3]
$s[3]==0){
do_work();
}
But I think you got the best solution already.
--
Shiplu Mokaddim
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http
Ran this code (http://pastie.org/795983)
The result is,
array of 10,000
Array
(
[[]] = 5.66168689728
[strpos] = 5.70796895027
[substr] = 5.92751288414
[preg_match] = 6.21515512466
)
--
Shiplu Mokaddim
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST
the feed aggregator module in drupal but
not for drupal , for any website
There may be an out of box solution. You can google for it.
If you dont find any you have to write it in plain php.
--
Shiplu Mokaddim
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers
'] will make $_REQEUST['var3'] available
to you which is not what you want.
Correct me if I am wrong.
--
Shiplu Mokaddim
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http://groups.google.com/group/p2psust
Innovation distinguishes bet ... ... (ask Steve Jobs
think PHP doesnt support it.
In ReflectionParameter class you'll see there is no parameter type too.
May be this is because PHP is loosely typed language.
--
Shiplu Mokaddim
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http://groups.google.com/group
You can use siege in command line for web server stress testing.
There are other tools. I forget it.
Just look at the Performance section in http://talks.php.net/
There are some slides of Rasmus Lerdorf about these on
http://talks.php.net/ which are very helpful.
--
Shiplu Mokaddim
My
Here is the presentation http://talks.php.net/show/w2e09
--
Shiplu Mokaddim
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http://groups.google.com/group/p2psust
Innovation distinguishes bet ... ... (ask Steve Jobs the rest)
--
PHP General Mailing List
Its very good if you have a big monitor. I have one. Its quite good for me.
Problem is its for Java.
Not PHP :(
I thought its for PHP as this is PHP list.
--
Shiplu Mokaddim
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http://groups.google.com/group
}[/])?(?Pusername$user_name)(@$email_domain)?~;
preg_match($regexp, $text, $matches);
print_r($matches); // $matches['username'] will contain username.
--
Shiplu Mokaddim
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http://groups.google.com/group/p2psust
For faster dns lookup you can install dnsmasq package and make the local
server cache.
May be that'll solve your problem and the server will be faster.
Shiplu Mokaddim
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http://groups.google.com/group/p2psust
I want to add with Andre.
I am looking for a free hosted bug tracking solution. I can not afford
to host it in my web server.
So is there any free one??
It should not be public. Only me and my clients will be able to see it.
Thanks
--
Shiplu Mokaddim
My talks, http://talk.cmyweb.net
Follow me
You can use, http://php.net/getallheaders function and parse the
authentication header.
For basic authentication, username and password are kept base64
encoded and separated by a :
Shiplu Mokaddim
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http
', '1');
$a = 5;
print $a[1];
print $a['test'];
$a = array();
print $a[1];
print $a['test'];
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Sent from my mobile device
Shiplu
/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Sent from my mobile device
Shiplu Mokaddim
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http://groups.google.com/group/p2psust
Innovation distinguishes bet ... ... (ask Steve Jobs the rest
Did you try --with-fastcgi or --enable-fastcgi
Shiplu Mokaddim
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http://groups.google.com/group/p2psust
Innovation distinguishes bet ... ... (ask Steve Jobs the rest)
On Wed, Apr 21, 2010 at 5:17 PM
The reply-to header should be changed to php-gene...@lists.php.net.
I experience many dev list that are configured this way.
So, in my gmail i change my habit to press a instead of r.
Shiplu Mokaddim
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http
King Of Fighters (Series),
Tom Raider (Series),
Grand Theft Auto (Series),
Max Payne, Max Payne II,
Prince Of Persia (Series),
Sudoku
Shiplu Mokaddim
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http://groups.google.com/group/p2psust
Innovation
There is a command indent in your kde.
Check the manual
Shiplu Mokaddim
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http://groups.google.com/group/p2psust
Innovation distinguishes bet ... ... (ask Steve Jobs the rest)
--
PHP General Mailing List (http
$a=0;
while (++$a, $row=mysql_fetch_...){
echo tr class=\alternate-row-.($a%2).\...
}
Shiplu Mokaddim
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http://groups.google.com/group/p2psust
Innovation distinguishes bet ... ... (ask Steve Jobs the rest
Is there any php encoder like IonCube ?
Looking for an opensource solution.
My main target is to deliver encoded php codes so that it can not be
re-engineered.
Shiplu Mokadd.im
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http://groups.google.com/group
.
If thats the case its okay. Sometimes an obfuscated code is enough to
protect it.
As far I remember I heard somewhere it can be achieved by e-accelerator somehow.
How is it possible?
Shiplu Mokadd.im
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http
:42 +0600, shiplu wrote:
On Mon, May 10, 2010 at 6:28 AM, donald sullivan don...@nixspot.com
wrote:
bcompiler is available, but with the correct tools data can still be
extracted.
http://php.net/manual/en/book.bcompiler.php
Its not a problem if data can still be extracted. But I guess
For example, the following regex doesn't work.
return (bool) preg_match('/^[\pL\pN\pZ\p{Pc}\p{Pd}\p{Po}]++$/uD',
(string) $str);
Shiplu Mokadd.im
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http://groups.google.com/group/p2psust
Innovation
I think the error is related to changed described here.
http://www.pcre.org/changelog.txt
Shiplu Mokadd.im
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http://groups.google.com/group/p2psust
Innovation distinguishes bet ... ... (ask Steve Jobs the rest
oops!
Please see the change log for version 8.00 on
http://www.pcre.org/changelog.txt
Shiplu Mokadd.im
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http://groups.google.com/group/p2psust
Innovation distinguishes bet ... ... (ask Steve Jobs the rest)
I dont own a windows computer.
I found phpcoder.sf.net. it uses eaccelerator to encode. This is good.
But the problem is latest version of e-accelerator discontinued the
encoder. So may be, an older version will do it.
Didn't configured it yet.
Shiplu Mokadd.im
My talks, http://talk.cmyweb.net
Can you paste a sample encoded version of a php file on pastie.org?
Shiplu Mokadd.im
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http://groups.google.com/group/p2psust
Innovation distinguishes bet ... ... (ask Steve Jobs the rest)
--
PHP General
It just obfuscates. Long ago I created a decoder for this type of encoder.
Every day I got 100s of decoding requests.
After changing my domain and hosting company I didn't upload it yet.
I think bcompiler is better.
Shiplu Mokadd.im
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com
You can use shell commands.
Like sed, replace etc ..
Shiplu Mokadd.im
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http://groups.google.com/group/p2psust
Innovation distinguishes bet ... ... (ask Steve Jobs the rest)
--
PHP General Mailing List (http
application.
Shiplu Mokadd.im
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http://groups.google.com/group/p2psust
Innovation distinguishes bet ... ... (ask Steve Jobs the rest)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
= 3306
Change is to
port= 3307 or whatever port you like.
Then restart mysql.
But remember, all you php app need to connect mysql through that 3307 port
which is not standard.
So mysql_connect() functions params should be tweaked.
Shiplu Mokadd.im
My talks, http
Actually you just restore your NS schema in the new EasyPHP stack.
Shiplu Mokadd.im
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http://groups.google.com/group/p2psust
Innovation distinguishes bet ... ... (ask Steve Jobs the rest)
--
PHP General
I'll use,
list($data) = explode(,,$entries[$i][dn]);
Shiplu Mokadd.im
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http://groups.google.com/group/p2psust
Innovation distinguishes bet ... ... (ask Steve Jobs the rest)
--
PHP General Mailing List (http
rendering that'll be great.
Thanks
Shiplu Mokadd.im
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http://groups.google.com/group/p2psust
Innovation distinguishes bet ... ... (ask Steve Jobs the rest)
--
PHP General Mailing List (http://www.php.net
# yum install php4-curl
or
# yum install php-curl
Shiplu Mokadd.im
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http://groups.google.com/group/p2psust
Innovation distinguishes bet ... ... (ask Steve Jobs the rest)
--
PHP General Mailing List (http
I use naming convention for interface.
If an object can be cached, I create an interface I+Cache+able = ICachable.
So a sample class would be named as ASampleClass.php
And the Interface would be ICachable.php
This is a well known interface naming convention.
Shiplu Mokadd.im
My talks, http
Sure.
All you have to do is write a php extension.
Shiplu Mokadd.im
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http://groups.google.com/group/p2psust
Innovation distinguishes bet ... ... (ask Steve Jobs the rest)
--
PHP General Mailing List (http
You can use SpiderMoneky of Mozilla or V8 of Google to execute the js.
Later you can also create a php extension to call your lib.
The flow will be like this,
PHP -- PHP_V8_WRAPPER -- V8 -- EXECUTE_JS
Shiplu Mokadd.im
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST
be different.
As a developer I am not sure actually what function in php or mysql
serves the purpose.
Shiplu Mokadd.im
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http://groups.google.com/group/p2psust
Innovation distinguishes bet ... ... (ask Steve Jobs the rest
Use distinct.
SELECT DISTINCT COLUMN1, COLUMN2 FROM ... ...
Shiplu Mokadd.im
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http://groups.google.com/group/p2psust
Innovation distinguishes bet ... ... (ask Steve Jobs the rest)
--
PHP General Mailing
You have to maintain a queue if I understand it properly.
PHP page will send request on one end of queue.
And the server side cron will process from other end.
Cron will upload it to ftp.
Now you can implement a queue using database table or you can just use a file.
Shiplu Mokadd.im
My talks
version_compare() return true, yet the
filter_var() be undefined? Because that's what is happening.
Thank you.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Shiplu Mokadd.im
My talks, http://talk.cmyweb.net
Follow me, http
variable that contains big object if its not necessary.
2. Use unset when applicable
3. Read chunk by chunk.
4. Profile it to find the exact place where you are wasting memory.
Optimizing that little portion of code can improve memory performance.
--
Shiplu Mokadd.im
My talks, http
At home I always speak in Bangla. But at work I have to speak in English.
I watch Hindi movies well. So I understand Hindi too.
I used,
C
Java
C++
C#
ActionScript
Javascript
Perl
PHP
Bash
LISP
Currently I am working in
LISP
C
C++
At home I play with Bash, Javascript, PHP, C
--
Shiplu
For configuration, I used to use .php file earlier.
I just used array syntax to keep the config values.
But now I use json syntax. Its easy like xml.
Ini file is much more user friendly than json though.
--
Shiplu Mokadd.im
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
. Create a standalone multi-threaded server that calls a.out and php
calls that server.
2. Call a.out as a CGI and convert it that way.
Any ideas?
--
Shiplu Mokadd.im
My talks, http://talk.cmyweb.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
1 - 100 of 172 matches
Mail list logo