HTML question /!/


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting HTML question /!/
# 1  
Old 10-26-2010
HTML question /!/

I have never seen this before and my xpath script does not like it...

HTML Code:
<img src=/!/img/zero.gif width=116 height=1>
Is this a replacement to ./ ?

Moderator's Comments:
Mod Comment Removed bogus references to PHP in topic title, changed to HTML
# 2  
Old 10-26-2010
Quote:
Originally Posted by mrlayance
I have never seen this before and my xpath script does not like it...

PHP Code:
<img src=/!/img/zero.gif width=116 height=1
Is this a replacement to ./ ?
First of all, that is not PHP code, it is HTML.

Why would you post HTML and call it PHP?
# 3  
Old 10-26-2010
Quote:
Originally Posted by Neo
First of all, that is not PHP code, it is HTML.

Why would you post HTML and call it PHP?
Opps, my php script scrapes html, just got it backwards. Need more maybe less coffee....

More importantly, do you have an answer to my question....?
# 4  
Old 10-26-2010
Seems your question is about ... is "!" valid in any PATH.

So, in this case, test it yourself.

Create a directory call "!" and see if you can cd into it.....

Code:
# mkdir !
# ls
!
# cd !
# ls

So, since "!" is a valid in a PATH, then it is simply a name of a directory (in the HTML you presented), isn't it?
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Mutt for html body and multiple html & pdf attachments

Hi all: Been racking my brain on this for the last couple of days and what has been most frustrating is that this is the last piece I need to complete a project. There are numerous posts discussing mutt in this forum and others but I have been unable to find similar issues. Running with... (1 Reply)
Discussion started by: raggmopp
1 Replies

2. Shell Programming and Scripting

Removing all except couple of html tags from html file

I tried to find elegant (or at least simple) way to remove all but couple of html tags from html file, but all examples I found dealt with removing all the tags. The logic of the script would be: - if there is <li> or <ul> on the line, do nothing (=write same line to output) - if there is:... (0 Replies)
Discussion started by: juubuntu
0 Replies

3. Red Hat

Send HTML body and HTML attachment using MUTT command

Hi there.. I need a proper "mutt" command to send a mail with html body and html attachment at a time. Also if possible let me know the other commands to do this task. Please help me.. (2 Replies)
Discussion started by: vickramshetty
2 Replies

4. UNIX for Advanced & Expert Users

shellinabox/html help to insert a keypress with an html button

I am trying to use shellinabox as a terminal emulator. Everything is working except there seems to be no way to simulate an F14 button press in shellinabox. I am already embedding shellinabox in an html page so Im am wondering if there is a way to make an html/js button that will pass F14 to the... (0 Replies)
Discussion started by: syadnom
0 Replies

5. Shell Programming and Scripting

Sendmail with html attachment and html body

Hi folks, I have a perl script which sends out email after successful completion of job as inline html, I want to send it out as two parts now as html inline and html attachment. see the attached script. Thanks in advance (1 Reply)
Discussion started by: sol_nov
1 Replies

6. Web Development

question with html

In HTML is it possible to create a hyperlink list which is automatically updated ? If not, is it possible to get say php or javascript to read a list of entries from a text file and create hyperlinks from them ? thanks (1 Reply)
Discussion started by: JamesGoh
1 Replies

7. UNIX for Dummies Questions & Answers

How do I extract text only from html file without HTML tag

I have a html file called myfile. If I simply put "cat myfile.html" in UNIX, it shows all the html tags like <a href=r/26><img src="http://www>. But I want to extract only text part. Same problem happens in "type" command in MS-DOS. I know you can do it by opening it in Internet Explorer,... (4 Replies)
Discussion started by: los111
4 Replies

8. Shell Programming and Scripting

html - text file question

Hi - not sure if this is the correct forum but maybe you can help all the same. I have an ascii file on my server that I log events to.. I have samba and apache running on this server also - although I am not currently using them and have just started them up. They both appear fine so far. I... (5 Replies)
Discussion started by: frustrated1
5 Replies

9. UNIX for Dummies Questions & Answers

HTML question

i know that this is a unix forum, and not for HTML, but would some one direct me to a site, or a tutorial on creating and implementing chat sessions within my website, i looked on google, and i couldn't find SOMETHING THAT WOULD HELP. appreciate any help in advance. (4 Replies)
Discussion started by: mbabeli
4 Replies
Login or Register to Ask a Question