If you are working with IIS, PHP and mysql there might be a problem that mysql extension is not enabled by default.
Fatal error: Call to undefined function mysql_connect() in C:\Inetpub\wwwr oot\my.php on line 6
This error says that library for mysql is not found. You can search for libmysql and register that dll with windows plus search for php_mysql.dll and put it in extensions directory of PHP.
Then go to...
User Profile
Collapse
-
Code:function loadXMLString(xmlstring) { if (window.DOMParser) { parser=new DOMParser(); xmlDoc=parser.parseFromString(txt,"text/xml"); } else // Internet Explorer { xmlDoc=new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.async="false"; xmlDoc.loadXML(txt); } return xmlDoc; } var
Leave a comment:
-
I tried this in Firefox and its working fine. It won't work in case if the new window is opened with the attribute target="_blank" (considered as new window I guess).Leave a comment:
-
I have a doubt, whether it is accessible in a child window (popup) or not, but seems to be a better idea will try this and will let you know on success....Leave a comment:
-
I already thought of this, but the problem is I have to pass transaction id through URL. Furthermore, I am maintaining user friendly URL's, so not a good idea.
In addition, I am allowing users to navigate the entire website and come back for payment, so I have to keep track of this on all the pages (Even on static HTML pages).
Even It's very difficult to pass it using form post on all over the website....Leave a comment:
-
Actually, the problem is user comes to the page select product and then goes to the payment page. Now payment page is showing him 500 Rs. User opens new tab purchase a product costing 1000 Rs.
Now I am storing transaction id in a single cookie. So first cookie got overridden. In this case only one tab is valid, so he can pay for Rs. 1000 and after a payment confirmation cookie is deleted, so the transaction for the previous amount...Leave a comment:
-
creating browser tab specific cookie
I am working on transactional website.
I am storing transaction identifier (a unique id) in a cookie, so that I can display transaction history to user.
Now a days modern browsers support multiple tabs in same window.
I am facing a problem when user starts two different transaction in two different tabs in same browser window. I am unable to differentiate between different browser tabs, because which same cookie... -
myqsl stored procedure passing comma seperated list as parameter
Hi All,
I have one problem here with mysql stored procedures.
I have a list of ids seperated by comma e.g., (" 'A', 'B', 'C' "). I am passing the same to mysql stored procedure as a parameter. I want to use these values in where clause of select statement using IN.
I can't use prepared statements because queries written in stored procedure are very complex. -
I have already tried the same.
I can fetch the mobile model number from the HTTP_USER_AGENT string. I have tested it successfully in Nokia N70 and SonyEricssonK75 0i. In both cases I can get "NokiaN70-1/3.0546.2.3 Series60/2.8 Profile/MIDP-2.0 Configuration/CLDC-1.1" and "SonyEricssonK7 50i/R1L Browser/SEMC-Browser/4.2 Profile/MIDP-2.0 Configuration/CLDC-1.1" as a HTTP_USER_AGENT strings respectively.
...Leave a comment:
-
PHP On mobile (Getting mobile model number)
Hi All,
I am developing a mobile application using PHP and XHTML for mobile.
In this application I am just counting number of downloads and after each hit I am making an entry in Mysql database. Its working fine up to this point.
Next I want is my "Java application" which I am allowing users to download should get downloaded only on supported handsets. I don't know how to identify the Model... -
Hi,
If you want to connect to oracle then you have to use functions meant for oracle.
There is OCI8 library for this, which you have to enabled before using.
Check this link for more information. There are some examples given for connecting to oracle. That might be helpful to you.
http://in2.php.net/manual/en/ref.oci8.php...Leave a comment:
-
This can be done even with table. Give a id to your table's td ( Means use id attribute of JavaScript and use it as parameter below)
Code:document.getElementById('td_id').innerHTML = "This is the text for the image";
Leave a comment:
-
I am too finding answer to my questions and its getting urgent for me.
I have one URL hosting.idealso lutions.in/domain.php When user points to link http://idealsolutions.in/domain_registration.htm he should be displayed the page from hosting.idealso lutions.in/domain.php link but http://idealsolutions.in/domain_registration.htm should be displayed in address bar. I have very less knowledge of apache. I have read some articles but...Leave a comment:
-
Yes I can do this with DNS configuration, but then for that i have to pay for managed DNS service as i have hosted my website with shared servers and they don't provide dns management for free of cost. Its better to go for apache mod_rewrite.Leave a comment:
-
Hey i think my problem is also bit similar to this one.
I have two websites (On different servers).
They are
http://idealsolutions.supersite.myorderbox.com
and
http://idealsolutions.in/
Now in this I want to show some of the links of idealsolutions. supersite.myord erbox.com as a page of http://idealsolutions. in. I mean i don't want that user should know that this page is from idealsolutions. supersite.myord erbox.com....Leave a comment:
-
I think it is very important to define some sort of standard for this stuff.Leave a comment:
-
I don't think these posts are created as per any standard. Every company has different name for same position and same type of work. I am very well confused with this stuff....Leave a comment:
-
I have tried using fread but no success so again switched to antiword. Using shellexec function of php i am invoking antiword also passing required parameters. Then it will created a text file on specified location which i am reading for extracting text. No other solution is found yet...Leave a comment:
-
I got some idea about it. Its very simple we just needs to read content from msword file as we do normally. Word appends some trailing and leading binary characters to the text content. We have to calculate and remove it. Then we have to remove some ASCII characters from the code which are introduced by Msword.
I have written some code but yet its not much clean. Also have to test it on Linux environment as currently I am doing it...Leave a comment:
-
Thanks for reply..
Now i am planning to use below given java class in my PHP application. I got this code while searching on google and i tried to compile it, it is giving me an error for class HWPFDocument.
I have import all the other classes libraries. But on google it is showing me that this class is from org.apache.poi. hwpf.HWPFDocume nt and my code is giving me compile time error.
If i could resolve...Leave a comment:
No activity results to display
Show More
Leave a comment: