Hey all (sorry I know I'm a leecher, but I soon won't be. This is my first PHP project, but not my last ).
I need help with a little problem I am having. I am using cURL to navigate through some pages to validate a login and download some sources there. What I need to do is search through the tags of these sources to parse data within them. For instance
Code: [Select]<table width="195" border="0" align="left" cellpadding="0" cellspacing="0" class="data_table">
I need to get that element so that I can get the values inside of the table.
The problem lies in the fact that i am using cURL to do this. since it is not in my document, I cannot say
Code: [Select]document.getElementByTagName('table');
or whatever. I need to make document from the source that I get from the cURL. here is my current code -
Code: [Select] //This is all code which reads the file of the website and puts the information in $data
//I am positive it works because when I echo $data, the information loads (in encoded form)
$data = curl_exec ($ch);
echo $data;
$params = $data->getElementsByTagName('data_table');
Apparently I cannot use $data and then get the elements. Does anyone have any ideas?
Displaying Column Names
I have a question regarding the ability to show the column names from my table/query.What I'm looking to do is to be able to have my users enter their own query via a builder (Which I haven't built
how can we add data from dynamic fields to mysql db in php
i have a script which i found on the internet. i modify that script according to my needs. what is in that script is there are three form fields with two buttons. one button is "Give me more
Email/MMS to Site
Hey guys. I'm looking for a way for a user to upload images and/or text via their cell phones. It could be MMS but since most phones have email these days, maybe just a way to process email. I've
MYSQL INSERT ID NOT WORKING
Code: $id = mysql_insert_id();header("Location: ./?view=$id");Why $id pulling blank nothing?Code: mysql_query("INSERT INTO `prays` (`title`,`prayer`,`time`,`level`,`nameid`,`name`)
Web Host List
Here is a list of web hosts that offer PHP and MySQL. It is no where near a full list, but it is most popular. I'm locking this so you can't reply. I am pulling this list from the most popular google
Cloud Computing?
Hello,I was wondering if anyone could help explain this term to me. I'm starting to hear it a lot now. Tried looking up some definitions on it via Google and on Wikipedia but its all really technical
$get problem
Hi Guys ... can you please tell me what i am doing wrong hereCode: <?php $ShowBookmark = "False"; include 'Include/Header.php'; if (Get_QString('Post') == "True") {
passing data from one page to another
hey guysi have the follwoing code to get information from one page and place on another:(1st page) page to get info from:Code: <?php session_start();$_SESSION['data'] = "blah blah
progress bar...need expert opinion of experienced webmaster
Hey guys, quick question:I want to display a progress bar when I upload files, but I am not sure how to approach it. I have searched for hours and have found various ways of doing it. One was with
Cache PHP Objects/Classes?
Does anyone have ideas about caching PHP objects using something like: http://memcached.org/I have Windows so I cannot use memcached.Is there a PHP extension that caches PHP objects (classes)?