User Profile

Collapse

Profile Sidebar

Collapse
mihai123
mihai123
Last Activity: Apr 27 '07, 09:07 AM
Joined: Mar 22 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • mihai123
    replied to MySql relational database
    in PHP
    no it isn't possible you need to implement all the tables connections (foreing key) manually and take care of the consistency of your data in the database.
    See more | Go to post

    Leave a comment:


  • mihai123
    replied to Problem with some javascript and php
    in PHP
    pls delete this topic i've done it
    See more | Go to post

    Leave a comment:


  • mihai123
    started a topic Problem with some javascript and php
    in PHP

    Problem with some javascript and php

    I have a form with a <select> and i want to submit the form on the onchange event on this input.

    Here is the code pls help.

    [HTML]
    <head>
    ..............

    <script language="text/javascript"> <!-- test javascript function abc(){ document.getEle mentById('akten ').submit(); } //--> </script> </head>

    <body>
    ...
    See more | Go to post

  • mihai123
    replied to php + javascript
    in PHP
    if the address is this index.php?id=va lue

    then the variable id could be use like this $_GET['id']
    if you want to read all the query string (variable and their values) you can use $_SERVER['QUERY_STRING']

    no need to use javascript for this even if safe mode is enable.

    also if you use the method post you can use the variabla with this syntax $_POST['variable']
    See more | Go to post

    Leave a comment:


  • mihai123
    replied to word document is not correct after downloaded
    in PHP
    hmmm

    if you try to view in browser the word it's normal to see that caracter
    download the file and open it with microsoft word.
    header("Content-Type: application/octet-stream");

    Note: i see that you user a blob to store the file. Maybe the blob it's to small i notice from my experience that a program manager for database can create only blob with small storage capability. It's useful to manually...
    See more | Go to post

    Leave a comment:


  • mihai123
    replied to Generate XML files with PHP and MySQL
    in PHP
    you need to change your sql query

    SELECT orders_id.zen_o rders, delivery_name, delivery_compan y, delivery_street _address, delivery_suburb , delivery_city, delivery_postco de, delivery_state, delivery_countr y, orders_id.zen_o rders_products, products_model, products_quanti ty FROM zen_orders, zen_orders_prod ucts WHERE orders_id.zen_o rders=orders_id .zen_orders_pro ducts

    I'm not sure that this query will work but for sure if...
    See more | Go to post

    Leave a comment:


  • mihai123
    replied to Loading a Dll into PHP
    in PHP
    Note: dl() is not supported in multithreaded Web servers. Use the extensions statement in your php.ini when operating under such an environment. However, the CGI and CLI build are not affected !

    You need to copy the dll in the extension directory of your PHP and then enter and modify your php.ini file.

    you should serch there for "extension" and find the proper directory and then add your extenstion. also...
    See more | Go to post

    Leave a comment:


  • mihai123
    replied to Loading a Dll into PHP
    in PHP
    maybe this would help

    http://www.php.net/manual/en/function.dl.php...
    See more | Go to post

    Leave a comment:


  • for open and read the text file you'll need to user fopen and fread.
    you can find a parser for xml at www.w3schools.com
    also you can find many useful information on www.php.net

    If you don t neead to make this job automaticlly you can use Open Office, save you file there and then unzip the file.odt the content will be in an xml....
    See more | Go to post

    Leave a comment:


  • mihai123
    replied to Carry variables in the url in php??
    in PHP
    the url need to be like this link?variable=v alue&variable1= value1 etc...
    See more | Go to post

    Leave a comment:


  • mihai123
    replied to Unzip and parse from XML to Html/XHTML
    in PHP
    I find the problem unzip need the full path to the zip file soo you need to use the function getcwd() and after this you need to add the zip file name....
    See more | Go to post

    Leave a comment:


  • mihai123
    started a topic unable to open file with zip_open
    in PHP

    unable to open file with zip_open

    I try to unzip a files but i get the folowing warning.....

    Warning: zip_open() Cannot open zip archive test1.zip in C:\Program Files\Apache Group\Apache2\h tdocs\rwinhttp\ extract.php on line 3
    test1.zip is in the same folder with this script page.

    i verified and the php_zip.dll and bz2.dll are actives in php.ini

    This is the code
    <?php

    $zip = zip_open("test1 .zip");...
    See more | Go to post
    Last edited by mihai123; Mar 22 '07, 10:18 AM. Reason: adding some info

  • mihai123
    started a topic Unzip and parse from XML to Html/XHTML
    in PHP

    Unzip and parse from XML to Html/XHTML

    I have a blob column with zips files (there are open office documents).

    Can I unzip the files in the column without create the file? or i need to create the file first.
    Is there a class with zip function that i can include in my script without a need to change the configuration in php.ini ?
    I want to unzip just a file named content.xml is that possible?

    And the last question is there an example of convert...
    See more | Go to post
No activity results to display
Show More
Working...