HTML - How To Extract The Host Stuff And Image Stuff From A Html String
I am trying to get some information out of an html string and I am not getting any luck and preg_matching is a little new to me.
Here is the text <A href="http://www.dentalplans.com/afftracker.asp?affid=14511&cr=4210" target="_blank"><img src="http://images.dentalplans.com/images/336x280/336x280dp.gif" width="336" height="280" border=0 alt="Affordable Dental Coverage from DentalPlans.com"></a> What i need to do is extract all the host stuff and the image stuff into 2 seperate variables Same he <script type="text/javascript"><!-- google_ad_client = "pub-8284804724746047"; google_ad_width = 728; google_ad_height = 15; google_ad_format = "728x15_0ads_al_s"; google_ad_channel = ""; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> Can anybody help? (It's very urgent) Similar TutorialsOk just give me your views on this topic, I have disabled right click, source code, offline webpage, links in status bar, opera users, adobe web capture, text select, clipboard/printscreen, drag and drop, psage printing, encrypted the entire page, copy right blabla.... also protected image using server side script (php) I think its still possible but very limited now , what do u dudes think, Hello all, I'm having some trouble getting html to display in my <layer> tags, for example if I use the code: HTML Code: <layer src = "myfile.html"> The file that I'm trying to display does not show, even though it is in the same local directory. Has anyone else ever tried this successfully? Thanks! Ok, I'm not really sure how to explain this... I have a list of objects (ex, pic1.jph, text1,link1,pic2.jpg) I want to sort of tag each one with a "tag" so lets say I tag the two pictures with tag "P" I want to be able to call up all objects with tag "P" in a page. So For Example pic1- TAGS= P,Q,R,S link1- TAGS= A,P,S link2- TAGS= B,S,R pic2-TAGS= P,S, So basically I want to know how to "tag" the objects with a variable and then how to "call them up" in a certain spot on the page. thx in advance What is the <![CDATA[ ]]> thing used for in HTML code? Sup bro's Jow checkit, me and my homies 'r like building this website fo the rappin we do. But when us is like checkin it on the firefox browser its like all messed know what im sayin. On The other one its like real tight, but this is some weird stuff goin on. I is not into the webstuff man, too complicated. But I was just thinkin you bro's could tell me wassup with this browser stuff. peace out man, Lil' B Hi, i have some scripts running my page and they are displayed one on top one under and one under in middle. How do i modify the scripts so all will be shown under. The web page with scripts is here Now this code is shown bottom left and its shown in a good position: <!--/Start Trafic.ro/--> <script type="text/javascript">t_rid="rohanmediacom";</script> <script type="text/javascript" src="http://storage.trafic.ro/js/trafic.js" ></script><noscript><a href="http://www.trafic.ro/top/?rid=rohanmediacom" target="_blank"><img border="0" alt="trafic ranking" src="http://log.trafic.ro/cgi-bin/pl.dll?rid=rohanmediacom"/></a> <a href="http://www.trafic.ro">Statistici web</a> </noscript> <!--/End Trafic.ro/--> Now i want this code next to the one above and its code is: -- Start cod www.probanner.ro --> <center> <script language="JavaScript"> document.write('<s'+'cript language="JavaScript" src="http://www.probanner.ro/work.php?n=2675&size=2&j=1&c=&code='+new Date().getTime()+'"></s'+'cript>'); </script> <NOSCRIPT> <IFRAME SRC="http://www.probanner.ro/work.php?n=2675&size=2&c=" width=125 height=125 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling="no"></IFRAME> </NOSCRIPT> </center> <!-- Stop cod www.probanner.ro --> How do i do that ? Cheers As You Can see that the url i am providing includes stuff which is aligned left and i want to align it to center how can i do it . Guide me if there is an appropriate way to align it to center without changing the whole of the style sheet. http://www.ims-sc.org REGARDS I installed the simple points system to my phpbb3 forum Im trying too add to that mod and put a box in the viewtopic page so i can edit members points easily. I tried getting the code from the acp and putting that in the viewtopic file but no luck. The box comes up but when i type a amount and click submit it just seems to refresh the page and doesnt change the points amount. Heres a code i made up from the ACP: HTML Code: <form id="user_profile" method="post" action="{U_ACTION}"> <input id="points" type="text" name="points" value="{POINTS}" /> <input class="button1" type="submit" name="update" value="{L_SUBMIT}" /></form> Heres the mod link: http://www.phpbb.com/community/viewt...?f=70&t=543803 I hope you can understand and help . I just want a amount box and submit button below the avatar in the viewtopic file so when i type a amount in the box and click submit the amount of points will change. I have tried the mod creator and the phpbb community for help but ive got nothing that helps. Thanks in advanced. I know how to have my page redirect to a different page. the problem i have is that I want somebody to go to my page, click on a link, which will bring them to a new page, have the new page open up an instant mesanger window to my screen name, and then redirect back to my main page. I have all of the code to open up the IM window, but I do not know how to get the browser to redirect after that has happened. as of now, this is my page i want to have the code to redirect to my main page on. Code: <html> <head> <title>WeirdClayJisKOOL//AIM-redirect</title> <style type="text/css">.sneaky { display: none; visibility: hidden; }</style> <script language="javascript"> function reDirect() { document.aim.submit() } </script> </head> <body onLoad="reDirect()"> <B>Generating AIM..</B> <a href=http://www.mymainpage.com><h1>Return to Mymainpage</h1></a> <form method="post" action="aim:goim?screenname=WeirdClayJisKOOL&message=Hey!" name="aim"> <span class="sneaky"><input type="submit" value="AIM"></span> </form> </body> </html> i'm not sure if this post belongs in this section because i don't know if i would use html, or javascript or what. if you are un-clear about what i want let me know and i will be glad to attemp to clearify. thank you! How do I sync my login database to a comment box and their recent activity? Example: On failblog they have a those comments after a video and they synced it to their login database. I need to know how to make a php script or something that keeps tracks of a user's recent activity, and alows them to post etc. If you don't mind posting a link to a tutorial or anything, or tell me what to look for it would be great. Thanks! I've been looking for hours if not days.... Hey Guys, I am getting a website built for my company to use for internal use, and I have a web builder that is saying some of the things i want done, are not in the world of code, and they cannot do it, so of course, thinking you can want to prove him wrong. My question is... the website i will have, will have a frame, 25% of the screen with miniature windows in the frames, of different websites (help page, info page etc) when you click the miniature window IN the frame, can you make is to that whatever happens in the 75% of the main body of the screen, mimics IN the minature window, in the frame? So if have a blue screen with a plane on the main body of the website, (75% portion of the screen), can that same blue screen with the plane be showing LIVE in the miniature window, so now, what happens in the larger main body, say it be a red background, and a green car, the miniature window will copy its movement of images/background, and display as it does in the main window... i want a mirror image of a mini window following a larger window.. is there a code for this? can this be coded? HOPE THIS MAKES SENSE! Thanks! hope to hear from you!! Hi, My requirement is to write a piece of HTML code that will give me the server name / host name of that particular environment. I am trying to pass on the server name to another application which will run in different environments. Any idea will be appreciated. Thanks Is there any way to extract the HTML from this MySpace page? I have a client who is interested in making a clone MySpace page similar to this one, I've tried saving the website and it doesnt work: http://profile.myspace.com/index.cfm...endID=71390434 One problem I'm seriously having, is to have the background scroll to the left and right with the existing page. I cannot get this done on my own for some reason. Any help'd be appreciated. Thanks Nick Intuition Webdesign How do i get the background image without the gray cover over? http://stylebuilder.telerik.com/ They have coded it to it's getting hovered by dark gray area and when you say view bg image it is displayed with the dark area attached. Thanks hello everyone, not sure if I phrased the subject right, but I have this website below (click on 'enlarge image' and then click on the 'zoom in' icon) that I wanted to get the URL of the enlarged image - this is a scene7.com 'type' of page that is quite common on many online websites. any ideas ? here's the link : - link removed - I use a Heading as a separator repeatedly in an HTML document and would like to pre-define it. It consists of 10 "♦"s separated by 6 " "s. Is there any way to define this once and reference it within a <H3> tag? Trying to reduce the byte count ... and to easily change the look of the separator if necessary. Thanks in advance for any help. Frank. Hello HTML Forum, I am having a slight problem. I want to include the tag in my string of letters, to be printed out to the user, but it keeps putting the tags into format. Example: Code: the <h1> tag will create a "header" size "1" tag. Which validates the rest of the code as style: <h1> So how can I show my readers what tag i'm using, without initializing that tag? -Jeff I have looked at this forum and several others and cannot find an answer to this problem. My pages for this site are all .html. I do not know if I am wording this correctly to get a response but here goes. If I have a url of mysite.com/ResultsGeneral.html?kwds=Frisco+Texas I would like to display Frisco Texas several places on the web page. I have tried several solutions and get close with <!--#echo var="QUERY_STRING_UNESCAPED" --> but this gives me a result of kwds=Frisco Texas. I want the display to read Frisco Texas without the kwds=. At some point I am going to change this site over to .php or maybe .asp but there are many pages and for now I need to stay with html. I am using a windows server. Any help would be appreciated. If I need another forum or to word the question differently, please let me know. Thanks in advance. Bob. I want to post a table on another forum site, which doesn't allow processing of HTML code for members, in threads. Is there somewhere I could store this file, so that I can just post a URL to it on that forum, for others to access the processed table. The data in the table needs to be accessable from a Google search...I could post the list as a jpg image, but the data would be dead. Hi, i'm a noob in html, i decided to give it a go in Dreamweaver without any templates, however I uploaded it to one of those free hosting services like 007 GB host and the index.html comes out dead weird ? please visit http://1001magiccards.007gb.com/ to see what i mean, dont worry its not one of those PPC advertises Thanks |