[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

[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?  Tha

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 To: php-general@lists.php.net Cc: Stephen ; Matijn Woudt Sent: Sunday, January 8, 2012 3:01 AM Subject: Re: [P

Re: [PHP] Zend memory manager

2011-01-24 Thread Adi Mutu
Ok, Everything's clear now.Thanks for the help and sorry for incoveniences.

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.

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.

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,

[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, _zend_

[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, _zen

[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 http://B/file.txt","w+); while(!feof($local)) { $buff = fread($local,1024); fwrite($remote, $buff); } fclose($local); fclose($remote); ?> I

[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 th

[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? > > -- > balachandar muruganantham > mbchandar > mbchandar > http://chandar.blogspot.com > http://www.ba

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 > >

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: javascript: function sendForm(staffID) { document.myform.staffID.value = staffID; document.myform.submit(); } On 1/17/06, Bing Du <[EMAIL PRO

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?

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

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 ins

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
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.

[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 option.

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, "\n"); echo $newtext; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[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, ''); echo $n

[PHP] really basic question

2005-09-06 Thread Adi Zebic
Hi folks, It is permited to do something like this in the functions "body" cellpadding="0"> 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 unsu

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

2005-08-02 Thread Adi Zebic
and not this: $aContructor -> getValues(); Am I clear :-) ADI -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2005-08-01 Thread Adi Zebic
Nombre de personnes dans dialogue: " + nbrPersonnes + " ] " ; } *** 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] Re: SOLVED - [PHP] php-mySQL insert problem

2005-08-01 Thread Adi Zebic
n; } you need to have quotes arround your varchar items and you should also specify which column you want the values 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 th

[PHP] php-mySQL insert problem

2005-08-01 Thread Adi Zebic
$db -> query($insertQuery); this is not working and I have next message: Parse error: parse 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. T

[PHP] Date Update

2005-02-03 Thread Adi Pramadi
date) ? 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 butto

[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 END; ?> index.html GOOD: tx in adv for any help Ady

[PHP] php newsletter source

2002-08-25 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
ect an item 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, 2

[PHP] php +newlines+mysql

2002-07-08 Thread adi
in a textarea control the new value from column1, 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

[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 "$string"; but i see a single line instead of: -line1 -line2 -line3 tx in advance for any help

[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 "$arie1"; echo "\n"; echo "$arie2"; echo""; ...

Re: [PHP] textarea new line+mysql update

2002-07-05 Thread adi
he newlines disappear! ps.column 1 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,

[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

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

2002-07-03 Thread adi
ant textbox1 to contain whatever 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 fil

[PHP] sample javascript popup+php - newbie

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

[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:

[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 : Title here! PS.rates.php is: '6.5596', 'ADP' => '183.180', 'AED' => '3.6725', 'AFA' => '4750.00', 'ALL' => '143.840', 'ANG' => '1.7800', 'AON' => '5.8956

[PHP] Modify string in text file

2002-06-27 Thread adi
I have a text file: file1 with a string in it '' How to make a php file: file2.php, with a textbox and a button in it; when i press button, value from textbox take place of '' string? tx in advance for any help

Re: [PHP] help pls!

2002-06-27 Thread adi
The files are: changerates.php file Title here! ***rates.php file '6.5596', 'ADP' => '183.180', 'AED' => '3.6725', 'AFA' => '4750.00', 'ALL' => '143.840', 'BEF' => '44.5192', 'BGL' => '2.1542', 'BHD' => '0.3770', 'COP' => '2254.00', '

[PHP] help pls!

2002-06-27 Thread adi
ue (0.33) in rate.php like this: 'USD' => '0.35' Any help will be deeply apreciated Adi

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

[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 re

Re: [PHP] help installing php

2002-01-19 Thread Juni Adi
tory (I have to save my disk spaces). -- +++++ || Juni Adi || || Volunteers Alliance for Saving the Nature || || www.arupa.or.id || + -- PHP General Mailing List (htt

Re: [PHP] help installing php

2002-01-17 Thread Juni Adi
two of them as I 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

[PHP] help installing php

2002-01-17 Thread Juni Adi
on dependency stuffs. So, 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 -- ++++

Re: [PHP] Mdb conversion

2001-09-01 Thread Adi Wibowo
t access to mysql. Just go 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 matte

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 P

[PHP] ignore message - test

2001-07-23 Thread Adi Ciutureanu
testing list -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] statistical functions

2001-05-13 Thread Adi Ionescu
Hello Can someone please help me find the normal distribution function! Thx, Adi Ionescu -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL

Re: [PHP] "show tables" in oracle 8-i

2001-04-13 Thread Adi Wibowo
On Thu, 12 Apr 2001, Dennis Gearon wrote: > I've been looking through the book, and so far, I can't find the command > for 'show tables' in Oracle 8i. Anyone know it? It should be > programmatically available, I would think, as an SQL command. s

[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
t. But it use KDE 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.sourceforg

Re: [PHP] php4 but dont work with php3

2001-03-24 Thread Adi Wibowo
; What I'm doing wrong? I suggest 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 -

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

2001-03-22 Thread Adi Wibowo
d I keep getting > > Cannot load /etc/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 st

Re: [PHP] Tables with scroll in HTML?

2001-03-18 Thread Adi Wibowo
ables to store 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

Re: [PHP] Oracle Web & Php

2001-02-14 Thread Adi Wibowo
s a CGI (without any kind 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 PROTEC

[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