A Web Development QUICK LINK PAGE (QLP) - HTML, Perl, PHP, JavaScript, AJAX, CGI, Etc.
I've recently organized and even color-coded many of my favorite
bookmarks on WEB DEVELOPMENT (and a few other favorite subjects too)
into what I call QUICK LINK PAGES. These are very condensed, compact
(no graphics), fast-loading pages with a 100+ links to some of my
favorite web sites on a particular subject. I hope you'll give them a
try...
Here's the link...
The easy-to-remember link above gets you to one of the Quick Link Pages
(QLP). The current categories (DIVERSIONS, INVESTING, JAZZ, MACINTOSH,
OPERA, PHYSICS (with ASTRONOMY and MATHEMATICS), SPORTS, WEB
DEVELOPMENT, and WINDOWS) are color-coded on the top of every page.
Just click your favorite category. I hope you'll find a lot to enjoy.
If you find any errors, or have suggestions for additional links or
categories,
View Complete Forum Thread with Replies
Related Forum Messages:
Regalar Expression To Extract An Html Link From A Page
I have a regalar expression to extract an html link from a page: href=(["']?)([^>1]*.html)1(?: [^>]*)?> It looks after the "href" for an optional quote and then looks for something that is not the quote or the endarrow. The problematic part is [^>1]*. It should exclude anything with the quote, but somehow that doesn't work. Maybe 1 is not allowed inside brackets? I would like some advice on how to handle this.
View Replies !
Html Page Link Prints Path 3 Times In Header
I have a website with html pages and a php page (a form). I just put in links on the html pages to the php page. When I click them I go to the php page and as bonus the path of the html page is printed at the top three times. (The text in the php page changes depending on which page I have hit the link from.) For example: Quote: http://mysite.com/sitefolder/previouspage.htmlhttp://mysite.com/sitefolder/previouspage.htmlhttp://mysite.com/sitefolder/previouspage.htmlhttp If I highlight and then delete this text in Navigator or Explore both browsers return me to the page written out three times at the top of the page. Here is the code that is giving me this result. Code:
View Replies !
HTML Quick Form
I like HTML Quick Form and think that it is a great tool.. but I still havent found any documentation that tells me how to use HTML Quick Forms with my own table and my own layout. Is this possible? Instead of the default positioning of form items the way it is done in HTML Quick forms?
View Replies !
Using Preg_match_all To Locate HTML Anchor Link BUT Only If The Link Is A .pdf File
The subject line describes what I'm trying to do, (and after thinking about it for a day or so and trying different things; searching around for similar questions on the board,) but I still haven't found a proper regular expression. I am trying to use preg_match_all to locate HTML Anchor link BUT only if the link is a .pdf file within text from a database table. It actually was working just fine until I recently made a change regarding new lines () and (<br />) in the text that is to be searched. But after making changes regarding the new lines and things, my previous regexp doesn't work correctly. Here is the regexp I am trying to use: preg_match_all('/<a href="(.*)">(.*)</a>/U', $entry->Record['e_entry'], $res_output, PREG_PATTERN_ORDER); That regexp does find each occurance of an <a href="">something here</a> link... but I need it to only find occurances of an anchor link if it is a PDF file link (ex: <a href="../something.pdf">something</a>). So I tried changing the regexp to something like this: preg_match_all('/<a href="(.*).pdf">(.*)</a>/U', $entry->Record['e_entry'], $res_output, PREG_PATTERN_ORDER); But in the preg_match_all results array ($res_output) a regular <a href="">something here</a> link is ALSO found as well as the .pdf links... I am trying to only find links that contain .pdf at the end of the file name. Sorry that this is written kind of strangely, if you need more info let me know. Does anyone know what I need to change in the regexp to ONLY find HTML anchor links that contain .pdf at the end of the HREF?
View Replies !
Open Source Ajax/php Html Editors?
Are there any open source ajax/php html editors? I want to incorporate as simple (very simple) ajax based html editor into a webapp I'm making. I spent an hour or so downloading code and saw nothing that actually worked. Don't need tables, just need to drag text around, set fonts and colors, upload images, have a simple form for making links. Does such a thing exist? I'm giving away what I'm making, so I don't want to pay for the parts.
View Replies !
Perl Includes In A Php Page
I'm converting some html pages to php pages. The original pages have perl includes in them with this syntax in the html: <!--#exec cgi="/cgi-bin/ads/zonea.pl"--> Of course, such includes in my php pages aren't working. Is it possible to run this perl script and put the results into a php string variable by something like: $variable = system("perl /path_to/cgi-bin/ads/zonea.pl"); that might not be syntacticly correct, but I hope the idea is getting across. I just discovered the answer to my question, and I'll go ahead a post in case some else would like to know, or if someone else knows a better way to do this, but this worked: $variable = echo("perl /path_to/cgi-bin/ads/zonea.pl"); echo $variable; Which printed the banner to the php document just like the ssi did in the original html doc. Hope someone finds it helpful!
View Replies !
Ajax Per Page Limit?
I'm building a page with two levels of Ajax controlled content. Either works fine alone, but when Ajax is used to open the first layer, the second, which is nested inside it, doesn't work. There are six links at the top for various topics, including "Agriculture". Here are the link code, Ajax function, and div tag: Code:
View Replies !
Loading A Page With Ajax Or Sajax?
Well i have a problem i want to be able to run my messenger and music player or every page on my site just right now not much of the site is using Ajax or sajax, is there a way to load a php document in the page without having to reload my messenger or music player?
View Replies !
Using AJAX, How Can The Page Get State Infomation From Backgroud PHP Script?
I'm not familiar with web programming, but I have a problem here. I have a page. When a user click one button on it, I will use AJAX to request a PHP script which will do a bunch of tasks, asynchronously. These tasks might take long time so I want to keep the user informed of the progress. The problem is that only the PHP script knows the progress, how can the web page gets these information from PHP script?
View Replies !
ENV Variables In Perl Scripts Called From Perl.
I have a perl script in which I am using a ReadParse routine that parses the $ENV{'QUERY_STRING'} or $ENV{'CONTENT_LENGTH'}*which are two variables passed to the script under usual SSI (.shtml) containing form data submitted to the page from which the script is executed from. Code:
View Replies !
Setup A Link In My Page That Will Change My Page
I am working on a page with a right column that I want to use for navigation. In this right column I am using the below code to set a value for the link. I am using the variable $test right now. I want to click on the link and when the value is set to a certain value, say 1, I want the script to run and load a page based on a switch case. This way I can use different links for navigation that will load different forms and areas of my application. So here is the code for the link line. Code:
View Replies !
HTML Link
The select options include each of the products which are coded by an ID number. To create a link in the outgoing mail by PHP page. I have a var coming from a Select Option $productid. It is written as <OPTION VALUE="23532"> What I need to do is have this provide a complete link and name of the product. I would like to parse the databse of the store so that if the ID number is provided, on the resulting php page that sends the mail and displays the results on the screen, I want to read from the data base to complete the link that goes on to the screen and into the mail Thus pulling $product_name $product_description $product_thumbnail and composing it into a preformatted HTML email message. <P ALIGN="CENTER"><IMG SRC="$imagelink" width="100" height="120"><BR> <A HREF="http://www.foobar.com/products.php?productid="$productid"> $product name</A> $product_description</P>
View Replies !
Url Html Link
Rather than make my own function Im just wondering if there is a predefined one or one you guys know of I want to have something that will turn a link someone has entered (www.website.com) and wrap it in html to make it a link so: <a href="http://www.website.com" target="blank">www.website.com</a>
View Replies !
Html Link To Data
The site I am building needs several html links, from images, to variouse categories. There are two foreign keys in the table so there is no need for a join. I simply wish to search those fields and gather all the relevant numbers to display on the results page. The method is a link with the correct variable. The query: <?php require_once('Connections/sports_connect.php'); ?> <?php mysql_select_db($database_sports_connect, $sports_connect); $query_qLinks = "SELECT department_id, cat_id, advert FROM entry"; $qLinks = mysql_query($query_qLinks, $sports_connect) or die(mysql_error()); $row_qLinks = mysql_fetch_assoc($qLinks); $totalRows_qLinks = mysql_num_rows($qLinks); ?> I am trying to get a "detail" link modified to send to the results page to where the data will be recieved. search_result.php?department_send=<?php echo $row_qLinks['department_id']; ?>
View Replies !
Php Page Will Not Process Link To Different Page
I have just installed RH Linux ES 3.0 (basic) kernel 2.4.21-9.EL, i686, Apache 2.0.X, and php 4.2.X. I have made no changes to the php.ini. I am trying to use the following page (code listed here) to click on link, and display 1 of three pages. The code does not seem to work, it only shows the "else" condition of the php code, which is page: "stuff.php". What do I need to do to my apache/php config to get this to work? Of course I copied this code from a php site tutorial somewhere. Page code below: <? if ($link == page2){ $page="files/page2.html"; } elseif($link == page3){ $page="files/page3.html"; } else{ $page="files/stuff.php"; } ?> <html> <head> <title> index.php </title> </head> <body bgcolor="#999999"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td colspan="3"><h1>The Template (index.html)</h1></td> </tr> <tr> <td align="center" valign="top"><a href="index.php?link=index"> Page 1 </a></td> <td align="center" valign="top"><a href="index.php?link=page2"> Page 2 </a></td> <td align="center" valign="top"><a href="index.php?link=page3"> Page 3 </a></td> </tr> </table> <? include($page); ?> </body> </html>
View Replies !
From Html Form To A Sitengine Link
My problem is this. I want a code, that would allow the phrase that i type in my html/php form, to be automatically put into a link in a search engine. I know how to do this with frames using variables, but how could i do that with opening new pages? How I would like it to go:
View Replies !
Grabbing A Link Out Of A Line Of HTML
I currently have a huge function that will crawl a page of a site and grab all the links off the page. There seems to be a problem though by grabbing the link text. I was curious how I can improve my function. So I was curious if anyone knows how I can make a function that will grab "info@test.com" out of this line: Just some text. <a href="mailto:info@test.com">Contact Us.</a>. The main problem I come up with is sometimes it will grab the "Contact Us" or it screws up when they have additional values in the <a href> tag.
View Replies !
Can I Inser Value From Mypage.html?src=[value] Into A Link?
Let's say I have an incoming link going to www.mydomain.com/page.html?src=[value] where the value is the id of an ad or whatever. Is it possible to insert this value in to an outbound link on www.mydomam.com/page.html, i.e. is it possible to create a link that will automatically pass on this value to a different page?
View Replies !
Search Each Html File For Every Occurrence Of A Link
I am looking to transfer content of hundreds of html files into a database. I need to search each html file for every occurrence of a link, image if there is one present, alt text and anchor text. It should then be placed in several variables $link, $src, $alt, $anchor and placed into a csv file so I can import it into a database. The only thing that I have done so far is read the contents of the html file into a string. <a href="link.htm" target="_blank"><img border="0" src="example.jpg" alt="This is an example"><br>This is an example</a></td> So in this example, I need to retrieve link.htm, example.jpg, 'This is an example', and 'This is an example'.
View Replies !
Html Link For Local File Not Working
I tried a simple example for html link inside php file I have a file called file1.txt inside C: I put the following lines in a file and named it .html <html> <a href='C:file1.txt'> open file</a> </html> here the link works and the file opens upon clicking if the same file I named it .php and tried to run it using apache localhost here when you click the link, nothing happen and the file didn't open why?? knowing that if we put any website link it works , but if we put any file inside our computer it doesn't work.
View Replies !
How Do You Link To An External PHP Script In An HTML File?
I installed XAMPP, so everything should be configured properly. However, I'm still having problems. So, here are some of the questions I have. If anyone could help me out on any of them, that would be great. 1. What is a web server? How is it helping me write PHP? 2. When I open my PHP files in my browser, they are still not read properly. Any known reason why? 3. How do you link to an external PHP script in an HTML file? Is there a such thing, or am I totally clueless?
View Replies !
Can I "include" A Perl Script With In Php Page?
I was trying to use "include" to execute a perl script in my pHP page. Instead, it just printed out the contents of the Perl script and didn't execute thes cript. Is there any kind of function which executes a script.. i know SSI has this.. does php? something like >> execute("cgi-bin/script.cgi"}
View Replies !
Embed Php Generated Html In Another Html Page
I am trying to include some php generated html in a page that is just a standard html file, NOT a php file. I have seen other html pages do this by including an src to the cgi script in script tags, like this: <script src="http://someurl.com/somescript.cgi"></script> the html page loads and the script is executed and the returned html is displayed in the calling page. So, I tried this: <script src="http://someurl.com/somescript.php"></script> It doesnt work!!
View Replies !
.html' Page Be Replaced By '.html.php'
Can a '.html' page be replaced by '.html.php' page via RewriteRule? To clarify, I'm using a software that formats the look of the site using .html pages. I'd like to add PHP code to that page but of course, it is not of the right page type. What I was wondering is Could I create a duplicate of that '.html' page, rename it to .g. '.html.php' and make the revisions and then just create a RewriteRule that redirects the '.html' page to the '.html.php' without generating an error? The alternative and undesired way of doing it would be to rename the original page to '.html.php' and find and revise ALL of the routines that call that page. That would create a revision nightmare especially upon upgrading the software.
View Replies !
Next Page Link
I have pages, 1.php, 2.php, 3.php and so on. I would like to make a next page and last page links at the bottom of each of them. Is there a way to get the pagename then take the .php off of it, and then add or subtract 1 and then echo that? $nextpage = "(php_self - .php + 1)"; $lastpage = "(php_self - .php - 1)"; I know that is not even close, but use that idea.
View Replies !
Can Header() Do A Div Reload Without A Page Reload (ie Ajax-type)?
I have a display page (displaypage.php) divided into two panes - one for content and one for feedback, referred to in the CSS as contentDiv and feedbackDiv respectively. When I click on a word in the content pane, I do a PHP/PostgreSQL search for similar words, and the results appear in the feedback pane without a page reload. For this, I am using a very basic Ajax setup Code:
View Replies !
Check For Link In Web Page.
I am putting a form on my site that will allow someone to submit a link to me. If they have a return link back to me it will effect the way I display thier link. Closer to the top of the page. What do I have to do in order to see if my link is up on the page they submit.
View Replies !
Redirect At Other Link Page
by php which the fast solution for make redirection at homepage ? Time ago read some solutions, but one most fast because not load or not make a reload of itself page, not remember exactly but was a solution more fast...
View Replies !
Link Display On Same Page?
I want to list the titles of all my articles from my database onto my webpage at articles.php. Then when the users click on each title, the individual articles will load on the same page. I'm new to PHP/MySQL, so here is what i've done so far. row[0] as my unique id numbers for each article, and i've included it so that i can somehow tell the page to load the article related to the unique id number. Is this all making sense? Code:
View Replies !
Dynamic Web Page Link
I want to create a simple dynamic page where when i click on a link to automatically create the page. What i mean.. I have some news that display by date, and because they will be updated every day i don't want to create a page for each one of these. So when the user goes to the index page of the news(where the news are displayed by date) and clicks on one, I want the php do all the job and create a new web page where it will add the hole text of the "new" the user selected in a page template. How do i do that? Can i use the dreamweaver templates?
View Replies !
Link To Page 2 From A Table
Trying to learn and create my own classified script. on page one main page i was able to read the categories from mysql databse and display the the categories in a 3 col table (row1['category']). what can i add in terms of code so when i click on a category that it takes me to page_2.php carring with it the category i selected (the page must open in the same page)? i tried different version of $_service(php_self) but not getting anywhere. page_2.php will display a sub category which i will work on later.
View Replies !
Unique Page Link
I am trying to make a page have a unique link so people can send it to friends. What I am trying to do is something like: Your Name: Your Friends Name: Submit After that, the next page will display that information and output a unique link where that friend can send the link to other people with the information saved (a unique link [I have PHP Code:
View Replies !
Check Link Page Url
I am trying to find the pages url then see if it contains a certain string. Here is the code I used but doesn't work. <? $link = $_SERVER["PHP_SELF"]; $exp = explode("=", $link); $linkname = $exp[0]; $linknumber = $exp[1]; if($linkname == "/viewpage.php?page_id") { echo $linkname; echo $linknumber; } ?> What I'm trying to do is see if "$_SERVER["PHP_SELF"]" contains a certain page. If it contains "/viewpage.php?page_id" I want it to go into that if statement. The problem is it doesn't Btw I need it to explode it because I need the page id number in the other variable for something later. Also another problem is if the link doesn't contain the "=" sign to explode. Would that cause a problem?
View Replies !
2>&1 Arg In Exec(perl.... + "sh: /perl Not Found Error" TIA For Help
I have the following line in a php file: $msg= exec("perl $scriptPath/insert.pl $d $u $t 2>&1", $returnVal); Can someone explain the "2>&1" argument? Second problem, this same line of code when run from the unix command line returns the following error: sh: /perl: No such file or directory I've verified that perl is located in /usr/bin/ /usr/bin is in the environment variable "PATH" all the directories from php program to the root and back down to usr/bin have 755 permissions. if I run the program (insert.pl) from the command line it works I've tried putting the following in both the php and perl programs: #!/usr/bin/perl #!/usr/bin
View Replies !
Changing A More Link Into Page Numbers
I have the following code which I've tried to edit to fit some examples others have posted on here, with no luck. I have a page that displays More and Prev links but not the page numbers. How can I change this code to have page numbers instead of the More Prev? PHP Code:
View Replies !
Home Link From Navigation Page
I got a code which helps me to create navigational links and only show 4 results per page. Now I want to add a link on each page such that if anyone clicks on that link it takes it to HOME page. I have added <a href="Home.htm"><b><font size="4">Home!!</font></b></a> inside the loop that generates NEXT and PREVIOUS page link but whenever I click on HOME it does nothing at all.
View Replies !
|