[PHP] struct zend_guard

2012-01-30 Thread Adi Mutu
Hello, Can anybody tell me what this struct is used for ? I'm new to the internals of php. Thanks, A

Re: [PHP] Strange foreach reference issue

2012-01-08 Thread Adi Mutu
You can see here some nice pics, it's exactly as you said. http://schlueters.de/blog/archives/141-References-and-foreach.html From: Tim Behrendsen t...@behrendsen.com To: php-general@lists.php.net Cc: Stephen stephe...@rogers.com; Matijn Woudt

[PHP] questions from page Reference Counting Basics

2012-01-08 Thread Adi Mutu
Hello, I was reading http://www.php.net/manual/en/features.gc.refcounting-basics.php, and i saw this: The xdebug_debug_zval() function does not show this, but you could see it by also displaying the memory pointer. My question is, how can you get the memory pointer of a php variable? 

RE: [PHP] Zend memory manager

2011-01-24 Thread Adi Mutu
I have asked also there..but no answerBut honestly i don't understand why you have reccomended me that forum..because i thougt these mailing lists are about php developing... Thanks,A.

[PHP] Zend Memory Manager

2011-01-23 Thread Adi Mutu
Hello, This is my first mail here, i hope it's ok. Can somebody give me any hint to some docs about how the Zend mm works? I can't find any references on the net. I'm not interested in only emalloc, efree etc. but at an even lower level i mean about functions like _zend_mm_alloc_int,

[PHP] Zend memory manager

2011-01-23 Thread Adi Mutu
Hello, This is my first mail here, i hope it's ok. Can somebody give me any hint to some docs about how the Zend mm works? I can't find any references on the net. I'm not interested in only emalloc, efree etc. but at an even lower level i mean about functions like _zend_mm_alloc_int,

Re: [PHP] Zend memory manager

2011-01-23 Thread Adi Mutu
I have looked at the sources, but it's still not very clear to me Where should I ask this question than.? Sorry for the inconveniences! Thanks,

Re: [PHP] Zend memory manager

2011-01-23 Thread Adi Mutu
Of course I have tried, but nothing ... The results or only aboyt emalloc/pemalloc familly. Nothing lower level about how these 2 functions are implemented or about the mm_heap struct of mm_block.

[PHP] page redirecting

2006-06-28 Thread kristianto adi widiatmoko
HI folks, i need to redirecting page, it could be done by using header function like this header(Location : page2.php?var1=foo); but i need to hide variable from being displayed by browser since the content of variable is secret. I guess i need POST method instead of GET for redirecting that

[PHP] transfer file

2006-06-13 Thread kristianto adi widiatmoko
i try to transfer file from one server to another server, lets call it server A to server B. My Idea is like this I place my script in server A ?php $local = fopen(file.txt,r); $remote = fopen(http://B/file.txt,w+); while(!feof($local)) { $buff = fread($local,1024); fwrite($remote,

[PHP] transfer file

2006-06-08 Thread kristianto adi widiatmoko
can php do transfer file betwen 2 server without using ftp function socket that use ftp port Send instant messages to your online friends http://uk.messenger.yahoo.com

[PHP] displaying result problem

2006-05-12 Thread adi zebic
Hi, I have little problem while displaying a result from one simple querry. If i insert values into mysql DB in following order (12, 3, 14, 4 ) I allways have ( 12, 14, 3, 4 ) displaying when query the DB. (same with letters - dcba - abcd etc) I would like to be able to display the data like

[PHP] secure upload file

2006-05-02 Thread kristianto adi widiatmoko
can any body help me !! how to secure folder upload file since the privilege of this folder is 777 is any method to create a secure upload file ?? Send instant messages to your online friends http://uk.messenger.yahoo.com

Re: [PHP] difference between require and include

2006-01-20 Thread Adi
http://ca.php.net/manual/en/function.include.php On 1/20/06, balachandar muruganantham [EMAIL PROTECTED] wrote: Can anyone tell me the exact differeneces between require and include? -- name balachandar muruganantham/name Yahoo! mbchandar/Yahoo! Hotmail mbchandar/Hotmail blog

Re: [PHP] PHP load to high on server

2006-01-18 Thread Adi
Run some tracer apps on your code...could be some wild loops of some sort? Never the less, ZEND debugger with the module should do the jobit will tell you which files/functions etc are runningnice tool to track execution time etc... On 1/18/06, Albert [EMAIL PROTECTED] wrote: Hi I

Re: [PHP] generate database driven web pages

2006-01-17 Thread Adi
you can also make it a hidden form variable that is updated dynamically when a 'staff' member is clicked before form subimmion. generated staff link: a href=javascript:sendForm(?echo $staffID;?); javascript: function sendForm(staffID) { document.myform.staffID.value = staffID;

Re: [PHP] Re: php script running as a cgi

2006-01-16 Thread Adi
check to make sure you are allowing globals to be accessed in your php.ini.make sure you are accessing the post/get vars correctly On 1/16/06, John Nichel [EMAIL PROTECTED] wrote: zedleon wrote: Let me ask this... What is the proper way to configure a php script to run as a cgi? What

Re: [PHP] pspell dictionary issue

2005-12-21 Thread Adi
I found my problem...I was using: pspell_new(en, british); pspell_new(en, american); pspell_new(en, canadian); and I should've been using: pspell_new(en_GB, british); pspell_new(en_US, american); pspell_new(en_CA, canadian); if I want to use specific dictionaries in the english language. There

Re: [PHP] pspell dictionary issue

2005-12-20 Thread Adi
All the installs are from source...and aspell works just fine from shell...its almost like pspell if defaulting to use the american dictionary. Adam.

Re: [PHP] pspell dictionary issue

2005-12-20 Thread Adi
I am not on a RPM based system(running slackware)... I have aspell 0.60.4 Adam.

Re: [PHP] pspell dictionary issue

2005-12-20 Thread Adi
No sign of aspell packages on the machine... Adam. On 12/20/05, John Nichel [EMAIL PROTECTED] wrote: Adi wrote: I am not on a RPM based system(running slackware)... I have aspell 0.60.4 Okay, what I am asking is this: I understand that you installed aspell from source. However

[PHP] pspell dictionary issue

2005-12-19 Thread Adi
I am having a problem switching dictionaries from 'american', 'british' and 'canadian' English in pspell. Pspell seems to test everything against the american dictionary for some reason. I tested aspell on command line and worked fine if I supplied the dictionary I wanted to use with the –d

[PHP] split line of text

2005-09-27 Thread Adi Zebic
Hi, if chunk_split function split the line of text (here on 50 char) I was wondering if there exists one function who take care if the 50 char is in the middle of the word and split the line first empty space before the word or just after? $newstring = chunk_split($row[1], 50, 'br /'); echo

Re: [PHP] split line of text

2005-09-27 Thread Adi Zebic
Le 27-sept.-05 à 23:52, Philip Hallstrom a écrit : http://us3.php.net/manual/en/function.wordwrap.php thanks a lot! $newtext = wordwrap($row[1], 50, br /\n); echo $newtext; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] really basic question

2005-09-06 Thread Adi Zebic
); } ? Thanks a lot, ADI -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] how to divide string

2005-09-05 Thread Adi Zebic
Hi, is there any magic function who can give me from: $string = abcdefghijklmnopqrstuwvxyz; somthing like this: abcd efgh ijkl mnop qrst uwvx yz (each 'x' letters go to the next line) Thanks a lot, ADI -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Java - toString() - php - ?

2005-08-02 Thread Adi Zebic
() function getValues() { print ($this - t1); print ($this - t2); print ($this - t3); } and after explicit invoke function: $aConstructor - getValues(); So, what I want is this: print ($aConstructor); and not this: $aContructor - getValues(); Am I clear :-) ADI

[PHP] php-mySQL insert problem

2005-08-01 Thread Adi Zebic
error, unexpected T_OBJECT_OPERATOR in /Library/Apache2/htdocs/Users.php on line 80 I think that my error is in escape characters and I dont not know hox to resolve my problem. Any help is welcome. Thanks in advance ADI -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Re: SOLVED - [PHP] php-mySQL insert problem

2005-08-01 Thread Adi Zebic
to go into. Yess! That's the right one :-) It is also good practice to check if there is an error and try to get the most information available. DB class do the right thing with try/catch. THANK YOU VERY VERY MUCH Jack Scott! ADI -- PHP General Mailing List (http://www.php.net

[PHP] Java - toString() - php - ?

2005-08-01 Thread Adi Zebic
+ ] ; } *** Is there similar kind of function in php that help us to print the state of object in his life evolution? Thanks ADI -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Date Update

2005-02-03 Thread Adi Pramadi
) ? Regards, Adi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] freelancer site

2002-12-04 Thread adi
I'm looking for an open source kit php for making a freelancer site like: http://www.scriptlance.com/ The hired can bid for a job posted by employer. Anyone found one? Tx in adv for any help, I tried google, sourceforge but didn't find any kit like this.

[PHP] time to seconds

2002-09-18 Thread adi
Hi, I have a table table1, with a column Duration time type(ex 00:12:30) I want to make in PHP a sql selection: SELECT * from table1 WHERE condition, and after that, to make sum of values of column Duration and display it. Any Help? How to transform time in seconds, with php functions? tx

[PHP] script mysql date picker

2002-09-04 Thread adi
Hi, There are somewhere a script to manage mysql table in this way: -In table i have a date field(format -mm-dd). I tried webmin, PHPMyEdit etc, for editing this field from web page, but field is displayed as textbox and i have to write manually date field. I want next to textfield a button

[PHP] html to php with echo

2002-09-03 Thread adi
I try to transform a html file in -php file, but i have errors in it(Error in page.) Where is mistake? index.php WRONG ? echo END HEAD script language=JavaScript src=date-picker.js/script /HEAD BODY center form name=calform input type=text name=datebox size=15a

[PHP] php newsletter source

2002-08-26 Thread adi
Hi, there is a newsletter or massmailer(open source), created with php, with option for sending mail with attashments to groups of clients? I tried phpmailer,DeepThroat,MyMail but atashments are not permitted, or only html and text. Any other sources? tx in advance for any help adi

Re: [PHP] date() doesn't return system date?

2002-08-15 Thread adi
incorect sintax see: Example 4. date() Formatting /* Today is March 10th, 2001, 5:16:18 pm */ $today = date(F j, Y, g:i a); // March 10, 2001, 5:16 pm $today = date(m.d.y); // 03.10.01 $today = date(j, m, Y); // 10, 3, 2001 $today =

[PHP] radio value

2002-08-13 Thread adi
in radiogroup box, and when i click on select button, value passed to cod textbox is undefined. How to make cod.value to take selected radio value? tx in adv for any help adi

[PHP] Re: qmail with perl and php

2002-07-09 Thread adi
try to specify the sender with -f: mail([EMAIL PROTECTED], My Subject, Line 1\nLine 2\nLine 3, From: [EMAIL PROTECTED] , [EMAIL PROTECTED]); - Original Message - From: Jeff MacDonald [EMAIL PROTECTED] To: Qmail [EMAIL PROTECTED] Sent: Thursday, August 08, 2002 8:05 AM

[PHP] php +newlines+mysql

2002-07-08 Thread adi
, the newlines disappear! ps.column 1 have type text or varchar(100) Is a problem of type? tx in advance for any help adi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] textarea new line+mysql update

2002-07-05 Thread adi
have type text or varchar(100) Is a problem of type? tx again adi - Original Message - From: Henning Sittler [EMAIL PROTECTED] To: 'adi' [EMAIL PROTECTED] Sent: Friday, July 05, 2002 4:05 PM Subject: RE: [PHP] textarea new line $string=-line1\n -line2 \n-line3; \n Henning Sittler

[PHP] php form with textarea

2002-07-05 Thread adi
I have a php file with two textarea and one button; i want when i press button, value from textarea2 is filled in textarea1. can u help me? my try is: //file1.php if ($action == change) { $arie1=$arie2; } echo textarea name='arie1' cols='50' rows='3'$arie1/textarea; echo form

[PHP] textarea new line

2002-07-05 Thread adi
i want to add in textarea a string with new line tag in it. how to do that? my try: $string=-line1n\ -line2 n\-line3; echo brtextarea name='aria' cols='50' rows='2'$string/textarea; but i see a single line instead of: -line1 -line2 -line3 tx in advance for any help

[PHP] mail atashments

2002-07-04 Thread adi
HI, How to send atashments with mail() function? I have a form to mail page, and i want to atash and transmit files tx

[PHP] sample javascript popup+php - newbie

2002-07-03 Thread adi
an sample app like this? tx in adv for any help adi

Re: [PHP] sample javascript popup+php - newbie

2002-07-03 Thread adi
is in textbox2 or do you want the form in file2.php to be submitted to file1.php? The difference is that in the first case no PHP gets to run when button2 is pressed, whereas in the second case file1.php gets to run with the data in the form in file2.php. Bogdan adi wrote: hi, I want to make an app

[PHP] fread() function do not read first two lines

2002-06-28 Thread adi
Hi! Why fread() function do not read first two lines in a file? I have a chrates.php file : html head titleTitle here!/title /head body ? if (isset($save)) { // get contents of a file into a string $filename = /var/www/html/data/rates.php; $fd = fopen ($filename, r);

[PHP] htaccess authenticate

2002-06-28 Thread adi
I have a website with .htaccess authenticate. I want to get htaccess username and password and use them in .php page. Is this possible? mypage.php: ? ... $user == htaccess user $pwd == htaccess pass ?

[PHP] help pls!

2002-06-27 Thread adi
' = '0.35' Any help will be deeply apreciated Adi

Re: [PHP] help pls!

2002-06-27 Thread adi
The files are: changerates.php file ? include('rates.php'); ? html head titleTitle here!/title /head body ? if (isset($save)) { $currency_rates[USD]== $text; } ? br ? print_r($currency_rates[USD])? form method=post action=?=$php_self? input type=text name=text input

Re: [PHP] Sendmail doesn't send...

2002-06-26 Thread adi
Look in var/log/maillog or similar for errors - Original Message - From: Nightshade [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 26, 2002 3:18 PM Subject: [PHP] Sendmail doesn't send... Hi, that's my configuration: I've Mdk 8.2 Today I've installed sendmail for 1st

[PHP] real time php

2002-06-24 Thread adi
will be deeply apreciated adi

[PHP] open/read file/directory and file test

2002-01-19 Thread Juni Adi
On Sun, 20 Jan 2002, Juni Adi wrote: Hi folks, After meessing up with installation stuffs, now it's time for PHP code: 1. How to tell PHP to open a file like Perl do through: open (FILE, $file); 2. Same question, this time to open/read a directory: opendir (DIR, $dir); and readdir

[PHP] help installing php

2002-01-17 Thread Juni Adi
, can anybody point me sites where I can download the right rpms to work along with my stuffs? (I'd prefer RPMS because I've always been having trouble installing from source code). Cheers -- + || Juni Adi

Re: [PHP] help installing php

2002-01-17 Thread Juni Adi
was instaling both apache and mysql from rpms. So, can you tell me to define the path for those apache and mysql so I can make the PHP work along with apache and mysql as well? Or at least tell me what indicate a source code directory (what files are in). Maybe I can search it manually. Regards Juni Adi

Re: [PHP] Mdb conversion

2001-09-01 Thread Adi Wibowo
to mysql.com and search for convertion script (vb) to be included into mdb and run it. You will get two text files (consist of SQL scripts that create tables and insert data). Use those files as scripts for mysql. Adi Wibowo -- http://dewey.petra.ac.id * Work matter: [EMAIL PROTECTED

Re: [PHP] What does PHP stand for?

2001-08-28 Thread Adi Wibowo
On Tue, 28 Aug 2001, [iso-8859-1] Niklas Lampén wrote: It just crossed my mind: I don't know what PHP stands for...so anyone? :) PHP stands for ... PHP. Adi Wibowo -- http://dewey.petra.ac.id * Work matter: [EMAIL PROTECTED] * Private matter : [EMAIL PROTECTED

[PHP] Saving file

2001-03-31 Thread Adi Wibowo
o download it, but still doesn't work. Do you have any suggestion to push browser to always download the file? Thank you so much. Adi Wibowo --- * Work matter: [EMAIL PROTECTED] * Private matter : [EMAIL PROTECTED] --

Re: [PHP] PHP Editor for Linux

2001-03-30 Thread Adi Wibowo
libraries. So kdelibs and kdebase should be installed before you can use it. It provide many highlight mode, html preview, very stable. Plus if you use XFree-4.0.3 and KDE-2.1., true type font will make programming a nicer moment. =) http://quanta.sourceforge.net Adi Wibowo

Re: [PHP] php4 but dont work with php3

2001-03-24 Thread Adi Wibowo
this : AddType application/x-httpd-php3 .php3 -- deleted/commented AddType application/x-httpd-php3-source .phps -- deleted/commented AddType application/x-httpd-php .php -- add .php3 Hope it help. Adi Wibowo --- * Work matter: [EMAIL PROTECTED

Re: [PHP] libclntsh.so.8.0 : oracle+php under linux rh 6.2

2001-03-22 Thread Adi Wibowo
/httpd/modules/libphp4.so into server: libclntsh.so.8.0: cannot open shared object file: No such file or directory Try include your ORACLE_HOME or ORACLE_HOME/lib to ld.so.conf and run ldconfig. Try start apache again. Good luck. Adi Wibowo

Re: [PHP] Tables with scroll in HTML?

2001-03-18 Thread Adi Wibowo
variables between frames. Of course, table's frame must have some routine to store/update session variable when it clicked or changed. Adi Wibowo --- * Work matter: [EMAIL PROTECTED] * Private matter : [EMAIL PROTECTED] -- -- PHP

Re: [PHP] Oracle Web Php

2001-02-14 Thread Adi Wibowo
of web server flag). But it still has the same instruction manual. Try looking at "Oracle Functions" or "Oracle 8 Functions" at PHP manual. Hope it help. Adi Wibowo --- * Work matter: [EMAIL PROTECTED] * Private matte

[PHP] RE: Zend Store products questions

2001-01-24 Thread Adi Brand
this period. 3. If your H/W fails or need to be replaced, please contact Zend and we will provide you with a substitute license. Best regards, Adi J. Brand VP International Sales Zend Technologies Voice: +972 (0)3 613 9665, x.116 Cell: +972 (0)56 505 005 www.zend.com