Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   PHP (https://www.askmehelpdesk.com/forumdisplay.php?f=454)
-   -   Php_write in php5 gives cannot read error (https://www.askmehelpdesk.com/showthread.php?t=20517)

  • Feb 12, 2006, 11:11 PM
    john_christopher_s
    Php_write in php5 gives cannot read error
    Hi,
    I have used php_write function in PHP4 and it works fine, I have updated my codes to PHP5, I have changed some codes for this and when I use this function php_write php5.
    Please if anybody knows why it happened help to me.

    Thank you
  • Feb 13, 2006, 02:36 AM
    LTheobald
    I found no mention of a function called "php_write" in the PHP manual and I've certainly heard of it. So this means one of two things:

    1. Either this method has now been depreciated and can't be used in PHP5 (although I still think this would be in the manual) or....
    2. This php_write function is actually one you have written/downloaded and then imported into your PHP page. In this case, I would assume that the code behind the php_write() function is not php5 compatible.


    If you could post an example of your code & error message, it might give us a better idea of what's going on.
  • Feb 13, 2006, 02:41 AM
    john_christopher_s
    Hi Thanks for you help,
    This is in writing extensions. So when we write the extension for the php, we were using C++ programming, there we are using this function. Im able to use this function to create php4 extension dll, while for php5 it gives that error.

    Please if you can help to me,

    Thank you,
  • Sep 24, 2008, 09:40 AM
    webi

    You should check the functions used in your script for compatibility issues.

  • All times are GMT -7. The time now is 03:35 PM.