How Do I Grab This Link ID?
Ive managed to display my records in a table, with a link called 'Cancel' next to get row. When the user selects cancel I would like to open cancel.php and gather all the information regarding the ID for that row. I have the following code:
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Dynamic Download Link - Not Direct File Link
I'm posting a podcast feed that makes reference to audio files for download. Instead of linking to the files directly (e.g. www.mywebsite.com/podcast.mp3), I want to link to the file as get variables so that I can track number of listeners (e.g. www.mywebsite.com/?audio=podcast.mp3). Where would I look to get something like this to work? How do I start sending audio data to the user using a link like this?
Grab Id
Is there a reliable way in php to grab an id from something using information. For instance if there is a table with 10 fields. If you want to pull the id's of any of the data in the form that matched 3 different things. Like if the username equaled joyel, the password equaled david, and the username = businessman Say that for example, you can setup a query to retrieve all the id's of queries matching that. I see mysql_id or something which function is it, and is it reliable.
Grab
Im looking for a way to grab a random image from a gallery that links to a bigger image, just one thou, and add the http to a db, that way on call of a tutorial site it can grab the image and post it, but really im looking for the way to just search a page i say, add a random image that links to a bigger image in the db.
Grab Emails
Basically I had an old site which had a guest book where people could leave messages with their email addresses. Well I want to create a script where I can just copy the html into and the php script will grab all the emails for me. I got a program that does this but I want to be able to store those emails directly into my database.
Search Grab
I'm trying to make a php script that grabs results from a search on GoTo.com that searches through my websites GoTo affiliate ID. I want to have the search results echo'd on a page on my website. I was using eregi(), but I just can't seem to get it to work. Here is an exampe search results page: http://www.goto.com/d/search/p/befree/?Promo=befree0031906632173874949 0&Keywords=turntables&Promo=befree It's a search for "turntables"...any help would be greatly appreciated. =]
Grab IP Address
How do I grab the IP address of the user visiting my site in PHP?
Is There A Way To Grab A Value From Db And Send To Gif?
i'm looking to grab a value from mysql, using php, then generate a gif. say the value is "123", i would like that inserted into a gif. then each time it if called, its always the value from the db. are there some extensions or plugins that allow this?
Grab Headlines
i know u can grab headlines from sites like slashdot, geeknews..etc and display it in your webpage. i want to grab headlines from a certain news site(www.inquirer.net). how do you do it?
Grab Images
I would like to write a php script that will take the pictures in a folder and display them in the way I specify. For instance, having a page with thumbnails at the bottom and a larger picture right above that, and if you click on a thumbnail it will display that picture in the larger space right above it. I could probably do this in HTML but then each picture would have to be coded in manually. I want to just be able to throw a bunch of pictures in a directory and have them display as thumbnails automatically.
Grab First Letter Of Name
i have a pagination that has the alphabet buttons also. how to i set the query so that when i click the letter it will return the list wherein all names starts with that letter let say, i click letter "A" in the return list, all names starting at A will be listed.
Grab Words Out Of A Paragraph
I have a paragraph of text but I need to highlight certain words. I will be implementing this in a search engine I have. I was curious what the function is for me to pick out words of a paragraph. Also, if you know how I can highlight these words that would be great too.
Grab Output Html
I was wondering if I included something like "includes/encodepage.php" into mainfile.php ( Which gets included by almost every php file on my site ) If you could grab the output html into a variable so I can process it before it gets sent to the clients browser. I want to make a script that encodes the pages with javascript before it gets sent to the client, but I need to figure this out first..
Regular Expressions To Grab
Does anyone know if it's possible to use regular expressions to grab all content between two words. For example....
Grab HTML From An ASP Script
I want to grab a HTML page generated by an ASP script (I know nothing about ASP) runing in the other host.They first validate username and password in an "login.htm" page using <form action="login.asp" method="POST"> The code below works fine if the remote script is PHP. Code:
Grab Images Off A Web Page
Can someone help with a script to grab all images from a page then save them to a directory on your server. For example I'd put yahoo's url and it would grab all the images on the front page and save them to my directory.
Grab Filename From Directory
I have a directory with about 500 or so files in it. I'd like to grab the filename.ext and then insert into a database. I understand the inserting part, but I don't know how to grab the info. I will keep adding to it so the number will only grow.
Grab Succeeding String
Say I have a chunk of text and I know that somewhere in that chunk ot text is the phrase 'Next Week's Winning Number will be:', is there a way I can automatically grab the string immediately following?
Grab Interpreted Code?
I'm doing some research for an app that I am building. Basically its a code generator for email newsletters. I need the script to generate static XHTML code that I can give to my email people. The problem is that the content of the email is driven by PHP and MySQL. The email people can't have dynamic code mixed in with their XHTML. So, I need to create a page in XHTML with PHP that inserts the content, then I need to run that page through the PHP interpreter and then grab and store the rendered XHTML code. No of that is a problem for me except for grabbing the interpreted code. Any ideas? Did that make any sense?
Easiest Way To Grab An Xml Nodes Value?
I tried domxpath but failed. So whats an easy way to grab the value "Swordsman" and return it. <human> <units> <light> <name>Swordsman</name> </light> </units> </human>
Grab Data From One Form To Another
I have a text box which I am using for inputting quantity and I have a unencrypted paypal buy now button. Here is the code for the 2 forms: PAYPAL: <input type="hidden" name="undefined_quantity" value="1"> No Of Tickets: <LABEL for="ticketno">How many tickets would you like: </LABEL><BR> <INPUT type="text" id="ticketno" size="25"><BR><BR> Now what I want to do is when I press the paypal button I want to quantity of the quantity field added to the paypal quantity field. Im thinking of using a php script to grab the field data and paste it into the specified field.
How To Make PHP 'grab' Variables From A WML Form
I really can't get forms to pass data to my scripts. Now someone mentioned something about grabbing it and posted some code, but for the life of me I cannot find the email/post/whatever the hell it was, so can someone please tell me how a PHP script can be made to 'grab' a variable from a form.
Howto Grab Previous And Next Mysql Row
I have build a base with events in them (with a Y-m-d date) and i want to put on the "showevent" page a link to the previous event and a link to the next one.
PHP To Grab Page TITLE And Check For 404 Help
I am looking for a way to pull the <TITLE> from a web page. Does anyone know a PHP routine or method that can help? Also, I am looking for a way to test if a page is active. The ping returns the website is there (But also returns true on a 404 error), But I want to know if a page is "dead" (404 or other error) or active.
Cron A Login And Page Grab
I'm currently running a cron job every hour or so to do a file() grab of a page on a remote server, and then manipulate the resulting HTML for my own use. The problem is, I'd like to move the script on and have it actually log into an account on the server (via a username/password i've set), and grab the "members only" information from there. Any ideas on how I can do it? I'm not looking for a completed code, just a point in the right direction on what I need to do .
Determine If User Came From Inner Link Or An Outside Link
any php method or function to determine if a user came from within the website or from an outside website. I have a page that I want to display in different manners depends on how did the user arrive at my site. I know about the HTTP_REFERER function. but don't really know how to use it. I know this is the syntax: <?php echo $_SERVER['HTTP_REFERER']; ?> but when i entered the code in the php page. for instance test.php, there is nothing coming up. So my questions: 1. is there any other method? 2. could any of you maybe specify a bit more details about this function and how to use it.
Grab Data From Mysql For Specific Date
I am trying to make some code with PHP and MySQL for displaying data from table corresponding to current server date (only field with date corresponding to server date will show on webpage). PHP Code:
Using Fopen(), Curl Or 'Other' To Grab Remote Contents
I have been building a search engine here - not because I have plans of dethrowning Google but as a simple app upon which to develop a function set that I can use for other things. So I coded my little search engine, uploaded it and it didn't work with my host (Dreamhost.com): Warning: fopen(): URL file-access is disabled in the server configuration There is no way around this. Maybe I am a fool but when I am creating apps I like to have as little configuration requirements as possible -- in my mind it means more people can use my stuff. In this app I use fopen to go off and grab the page contents from which I extract the meta tags, strip away all the HTML tags, headers, and javascript and store what I need to. I did the above without using fragile weak get_meta_tags and have my own version of get_headers - because its a PHP5 function only, and because I dont like the idea of a page making multiple connections to a site. Essentially my functions will work if I can grab the entire page contents and throw them into a variable which I in turn pass. Is there a way of doing this without using fopen and curl?? I'm going to have to write a wrapper for my functions as it is so this works seemlessly regardless of the method used - I will include Curl in this however as mentioned earlier I prefer not to have to use extra extensions. Is it common for fopen to be disabled for remote content? Or do I just have an over zealous admin staff. I was planning on using these function with XML files down the road... this is the core of everything I am doing.
How To Grab MS Access Data Into Mysql And Vice Versa?
I'm developing an online ordering system, using PHP and MySQL database, which requires me to integrate with MS Access database to get some data . for example : application status. fyi, another system is developed using ASP and MS Access database to keep track of the application status since the status are always changing. i have to grab the application status of a particular record and update the MySQL database. this has to be done sort of the 2 databases are 'linked' together. any update/new records inserted into MySQL will be known by MS Access and any status update in MS Access will be known by MySQL. something like that.. is it possible to link the 2 different databases?
Grab Content From HTML Table And Place Into MySQL Table?
I am in the process of helping a co-worker upgrade some of his old static html pages into dynamic MySQL driven pages. He currently has a lot of pages with huge tables displaying data. Does anyone know if there is a script or class that can convert a table to a .sql file for upload?
Grab Email Addresses From MySQL And Send An Email....
I am making a simple mail form that will SELECT email address from a MySQL table based on the userid of the person sending the email. if (isset($_POST['submit'])) { require('../database.php'); $result = mysql_query("SELECT * FROM emailList WHERE merchantId = '".$_SESSION['id']."'") or die(mysql_error()); What would be the most efficient way of storing the email addresses from MySQL (may be 1 or may be 100) and then sending them in BCC to all the people gathered from the MySQL table?
Link?=ID#
I am wondering if there is a script/code somewhere to find that hides my actuall links from browsing users, no database related. For example. My links on a webpage link 1 = http://mysite.com/hello.php link2 = http://mysite.com/byebye.php I want to hide theese links and for the outsidebrowsers to look like this: link1 = http://mysite.com/redirect.php?ID=12 same for link 2 but with a different ID hope ypu understand .Please note : NO MYSQL support.
Using An As A Link
Now I am able to practice php on my pc, thanks to previous replies to a post in this forum, here the first of many questions. I want to be able to use an image as a link. So in html I would use: <a href="http://www.somepage.com"> <img src="someimage.jpg"> </a> I have written the php code below (which I am proud of !!): <?php // Switch statement based off server time switch (date('H i D')) { case དྷ 33 Sat': print '<img src="michelle.jpg" border="2" height="170" width="227" />' break; case དྷ 34 Sat': print '<img src="sunset.jpg" border="2" height="170" width="227" />' break; default: print 'Cases not met' } ?> Now the code above does what I want it to do but if I add the line below i get a parse error: case དྷ 35 Sat': print '<a href="http://www.somepage.com"><img src="someimage.jpg"></a>' break; So how do I create a link from the images in my code?
Getting 404 Link
Thanks to my apache .htaccess file, all the 404 errors are redirected to my 404.php file. I'd like to get the following infos : - the page address from which the 404 error come from (I get it with $_SERVER["HTTP_REFERER"]), - the exact link that provoqued a 404 error. How can I get the 2 piece of info ?
Link In If
if i have the following how do i make the new chat message a link? <? $numbernow=($chat[0])?> <? if ($stat[chatnow] < $numbernow) { print "NEW CHAT MESSAGES"; } ?>
Link Regexp
I am try to get all the links out of a document with a regexp.
Link Redirection
Is there any way to redirect a link to another page after it has been first used? Or even kill the link after its first use?
GET Variables Through Link
Maybe this is all just going right by me and I should probably understand this well by now, but it didn't work the first time, and I have yet to find the right answer. I'm looking to have a list of names, like James, Bill, Sam...etc on a page. With these names there will be a work function say Accountant, Billing, Janitor, and there will be another variable like office, 1, 102, closet...etc.
KW To Link Like Phpgiggle
I am looking for a php script like phpgiggle which coverts predetermined keywords into predetermined links each time the keyword appears in the page. Tried to get phpgiggle up and running but with no success and with the author's site down and with no support at all, i am looking for an alternative.
Mailto: Link
My script is <? $MyLink='<a href="mailto:<? echo $Email;?>">'.$Email."</a>"; ?> This is then saved to a file (txt) and the data inside the file is: <a href="mailto:<? echo $Email; ?>">xyz@zbc.com</a> So when I click on the mailto: link the status bar reads:- mailto:<? echo $Email ?> and the mailer opens with no address.
Php Link Checker
I want to test if my swf files and jpg files are not broken. I use the fuction fsockopen but this fuction does not work for a file+extension, just domain. Eg www.url.com is ok, but www.url.com/image.jpg is not! but image.jpg is exists! There is something to that check the full url of files?
Link Problem
I am using the following PHP coding but I have got a error message coming up so what am I do wrong? <a href="calender.php?action=$outputaction"><img src="$daycheck.jpg" border=0></a>
ODBC Link In Php
I need to use an MS Access DB on my php server. I'm having problems getting it to work though. PHP Code:
PHP Link List
On a page from Thredz (http://www.thredziii.com) I saw a script (it's not on anymore...cause he didn't want the script to be on his page) and I love it... It's a script that makes it possible that on a page links are sorted ALPHABETICALLY with the first letter of the "URL name"... (take a look on Thredz' site to c what I mean,K?) Then people got 2 have the abbility to fill in a small form, ON THE SAME PAGE WHERE THE LINKS ARE ON, where they fill in 2 fields; #1 = Name of the Site ($sitename) #2 = URL of the site ($url) When they fill out it form I want the PHP-script to put the information away as a link (in a *.txt-file...if possible) <A href="$url" target="_blank">"$sitename"</A><br> (something like this??? I'm not sure......) These links have to be sorted alphabetically (on the site's name,$sitename... I don't know how this works or how I have to make something like this... Could somebody please help me and give me a bit of help with it? Some explaining would be gr8 but the script written for me is the best wish I have.
Link Problem.....
I need some help for link redirect. I am currently working with a b2b site. I had define some rules in htaccess but due to auto append of PHPSessionID at the end of link I could not do it properly so can any one help me how to avoid that auto appand on phpsessionid at the end of link. for example I have a link like: http://www.xyz.com/test.html But it will create: http://www.xyz.com/test.html?PHPSES...8f97d004ddc 1a So I need to remove tht PHPSESSID from above link I need link as i supplied,.
|