User Profile
Collapse
-
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. -
-
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>
... -
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']Leave a comment:
-
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...Leave a comment:
-
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...Leave a comment:
-
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...Leave a comment:
-
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....Leave a comment:
-
the url need to be like this link?variable=v alue&variable1= value1 etc...Leave a comment:
-
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....Leave a comment:
-
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");... -
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...
No activity results to display
Show More
Leave a comment: