I'm trying to read a html page using simple html dom for which an login authorization is needed.
for example: http://example.com/login/ is the login page and http://example.com/page/ is where i should parse the html.
So i used curl to do the login and simple html dom to parse.
But i dont know whether my page login or not, because when i display the response from curl its the login page contents!!
...
User Profile
Collapse
-
Authorize with curl and login into a page to parse html not working
-
Hi everyone..
I provided all the codes that i m using.,
Anyone to help me.. -
Page name(URL) displayed when sending mail through PHP
Hi all.,
I m having a website in which paypal acts as a payment gateway.,
i m using IPN to validate the payment and send confirmation mail to the recipients in my notiy url(e.g http://www.mysite.com/notify.php)
Everything works fine., but in yahoomail when i opened the email received and viewed the full headers of the mail.,
i can see the URL from which the mail is sent.
Like.....Last edited by Niheel; May 16 '11, 03:24 AM. -
i found this link helpful and i developed worksheeets using this..
check it out.
http://www.bettina-attack.de/jonny/v...hp_writeexcel/...Leave a comment:
-
The script is in the client system not in an webserver.
Although the php application will run in an browser right.
Or do i need to run it as an desktop application , is there anyway to run an php application as a desktop application..
If it can be done in the client system as a web application or desktop application., how can i do that..
thanks
vijayLeave a comment:
-
how to connect scanner with php application
Hi all.,
i m in a process of developing a php application for data storage.,
consider the database contains many fields which includes name, time, tags, file, etc..
The file field contains the file uploaded.,
so to do that i need to
1.scan the hard copy of the file
2.store it in harddrive
3.go to my application
4.select the file saved
... -
Oops., found the answer.,
Payment Review is enabled in my sandbox account.
Solution:
Turn off this feature in your sandbox account by logging in at https://developer.paypal.com >> click on test accounts >> then, next to your sandbox account, click on 'enabled' under Payment review to disable it.
found it in paypal developer central.Leave a comment:
-
hey it works perfectly man., all the list boxes are filled with their values.,
but when the function is called through the onchange event of the generated listbox nothing happens..Leave a comment:
-
result is "pub_type".
i think there might be some error's inside the second function since the javascript doesnt even enter it..Leave a comment:
-
How to confirm payment in paypal using IPN
Hi
i m a working with paypal to integrate it with my website.,
users can book the hall regarding time basis.
so i m sending the amount to paypal by paynow button created through my paypal test account.
and i inserted the ipn coding in the notify_url specified.
here is the code
Code:<?php // Read the post from PayPal system and add 'cmd' $req
-
checked., the result is good., when i added the code
Code:alert(xmlHttp.responseText);
{"size":["3"],"color":["black&whit e"],"position":["Run on page"]}Leave a comment:
-
-
semicolon missing in line 17.,
try applying it.
Code:$row = mysql_fetch_assoc($result);
Leave a comment:
-
hello canabeez.,
working in localhost sorry., unable to give u a sample page.,
i tried your ideas and implemented it in the pages.,
the first function works fine and the posted value is retrieved when i submit the form.
but the second function didnt work properly.,
no results were found.,
i tried by placing some alert functions to examine where the process stops.,...Leave a comment:
-
Ajax value's not retrieved when form is submitted
Hi.,
In my page i have a form which has a list box named mediatype which has few values (type1,type2... ).
An ajax function is called in the onchange event and the correcponding publication types are displayed in the ajax page which displays below the mediatype listbox.
similarly three more listboxes are displayed when the publication type is changed, using the same ajax function.
all works... -
select hierarchy of id's from single table
hi
i m having an table named users.
the column names are id,name,referal ID,amount etc...
each user has an referalID.
so when a new row is inserted i need to update the amount of the referalID by an percentage and their referalID amount by an percentage upto 5levels..
how to select those hierarchy of id's in an query..
thanks
regards
vijay -
What kind of databases can we use with PHP?
Can we use any SQL database as backend for a PHP application? Or is it an mandatory to use MySQL for PHP? -
onkeyup event for iframe
hi
i downloaded an text editor from
http://www.hscripts.co m/scripts/JavaScript/richtexteditor. php
it works well for me..
when the user types the text and modify it using the editor i need to display it in an preview section automatically..
the scripts uses iframe to work in the editor.,
i ve shown the preview by using an preview button and using the code below... -
create image from text and image
hi
i m developing a page in which users can design an advertisement with their own header,logo,bod y,footer
i m displaying the preview in separate table in which each of them are divided into sections(1sr row header, 2nd row logo , 3rd row body, 4th row footer).
when the process is complete and when the user click submit button i need to convert this whole thing into an single image and store into my database... -
No activity results to display
Show More
Leave a comment: