How to check if the link exists in the remote site
Hi all:Guys please can you me if there is a way I can check if the link exists in the remote site? for example
< cfif hyper link to www.mysite.com exists in www.remotesite.com >
good... We will continue
< cfelse >
Please add link to www.mysite.com before continuing
< / cfif >
Is this possible... you have to use the spider? If yes how?
Thanks guys,.
A
to develop the excellent suggestion of tclaremont:
You can use refindnocase() to search the returned by cfhttp filecontent
call us at:
of course, if the www.VisitorsPage site is sneaky and has the link to Azadi Saryev
ResolveUrl = "yes" getasbinary = "auto" >
<>
foobar. StatusCode is "200 OK" >
'all') & '[^>]*>(.*?) <\>', Foobar.filecontent) >
link
no link...
... connection error or the web page you requested does not exist...
your site code page, but hide it with css/javascript, it's going to
be difficult to discover using regexp... better just go and watch their
Web site...
SABAI - Dee.com
http://www.SABAI-Dee.com/
Tags: ColdFusion
Similar Questions
-
How to check if the remote VPN failover is configured
Hello world
We have two sites and have both remote access VPN configured.
IF a VPN site fails users automatically fail over to another site.
Need to know what that orders can I run on ASA to check if remote VPN failover is there?
Also what lines by running config shhould I seek?
Thank you
Mahesh
Based on your configuration, it can vary, below link has someVPN failover configurations, you can find a few commands to check redundancy on your network:
http://www.Cisco.com/en/us/docs/iOS/12_2/12_2y/12_2yx11/feature/guide/ft_vpnha.html#wp1093554
What you should look at your config running is also based on your configuration, it should be something like: main, standby or emergency.
HTH
-
How to check if a link located in a folder called links next to the document?
How to check if a link located in a folder called links next to the document?
myDocument var = app.activeDocument;
for (var myCounter = 0; myCounter < myDocument.allGraphics.length; ++ myCounter)
{
var myGraphic = myDocument.allGraphics [myCounter];
If (myGraphic.itemLink.status! = LinkStatus.linkMissing)
{
If (myGraphic.itemLink.filePath is outside the folder 'Links' which lie next to this document)
{
}
}
}
Main(); function Main() { var i, link, doc = app.activeDocument, linksPath = doc.filePath.fsName + "\\Links", links = doc.links; for (var i = 0; i < links.length; i++) { link = links[i]; if(link.status != LinkStatus.linkMissing) { if (File(link.filePath).parent.fsName === linksPath) { $.writeln(i + " - " + link.name + " - is inside 'Links' folder"); } else { $.writeln(i + " - " + link.name + " - is outside 'Links' folder"); } } } }
-
How to check if a string exists in varray or not
Hi all
How to check if a string exists in varray or not.
Version Details BANNER ---------------------------------------------------------------- Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product PL/SQL Release 10.2.0.1.0 - Production CORE 10.2.0.1.0 Production TNS for 32-bit Windows: Version 10.2.0.1.0 - Production NLSRTL Version 10.2.0.1.0 - Production
Thank youSQL> get test 1 DECLARE 2 TYPE dnames_var IS VARRAY(7) OF VARCHAR2(30); 3 dept_names dnames_var := dnames_var('Shipping','Sales','Finance','Payroll'); 4 BEGIN 5 if dept_names.exists('Shipping') 6 then 7 dbms_output.put_line('Exists ................'); 8 end if ; 9 /* DBMS_OUTPUT.PUT_LINE('dept_names has ' || dept_names.COUNT 10 || ' elements now'); 11 DBMS_OUTPUT.PUT_LINE('dept_names''s type can hold a maximum of ' 12 || dept_names.LIMIT || ' elements'); 13 DBMS_OUTPUT.PUT_LINE('The maximum number you can use with ' 14 || 'dept_names.EXTEND() is ' || (dept_names.LIMIT - dept_names.COUNT)); 15 */ 16* END; 17 18 / DECLARE * ERROR at line 1: ORA-06502: PL/SQL: numeric or value error: character to number conversion error ORA-06512: at line 5 SQL> Any help in this regard is appreciated ...
Prakash P
Published by: prakash on April 29, 2012 05:42EXISTS checks for the existence of an element, not a value. Since you're using VARRAY (btw, it is not recommended), your only choice is a loop through:
SQL> DECLARE 2 TYPE dnames_var IS VARRAY(7) OF VARCHAR2(30); 3 dept_names dnames_var := dnames_var('Shipping','Sales','Finance','Payroll'); 4 BEGIN 5 for i in 1..dept_names.count loop 6 if dept_names(i) = 'Shipping' 7 then 8 dbms_output.put_line('Exists ................'); 9 exit; 10 end if; 11 end loop; 12 END; 13 / Exists ................ PL/SQL procedure successfully completed. SQL>
If you use the nested table, you can use MEMBER, SUMBULTISET, MULTISET EXCEPT:
SQL> DECLARE 2 TYPE dnames_var IS TABLE OF VARCHAR2(30); 3 dept_names dnames_var := dnames_var('Shipping','Sales','Finance','Payroll'); 4 BEGIN 5 if 'Shipping' member of dept_names 6 then 7 dbms_output.put_line('Exists ................'); 8 end if ; 9 END; 10 / Exists ................ PL/SQL procedure successfully completed. SQL> DECLARE 2 TYPE dnames_var IS TABLE OF VARCHAR2(30); 3 dept_names dnames_var := dnames_var('Shipping','Sales','Finance','Payroll'); 4 BEGIN 5 if dnames_var('Shipping') submultiset dept_names 6 then 7 dbms_output.put_line('Exists ................'); 8 end if ; 9 END; 10 / Exists ................ PL/SQL procedure successfully completed. SQL> DECLARE 2 TYPE dnames_var IS TABLE OF VARCHAR2(30); 3 dept_names dnames_var := dnames_var('Shipping','Sales','Finance','Payroll'); 4 BEGIN 5 if dnames_var('Shipping') multiset except dept_names = dnames_var() 6 then 7 dbms_output.put_line('Exists ................'); 8 end if ; 9 END; 10 / Exists ................ PL/SQL procedure successfully completed. SQL>
SY.
-
My MacBook Pro suddenly becomes very slow, accepting orders very slow how to check if the ram is working properly
You can try this download. Etrecheck. https://etrecheck.com/#about
Then publish the report as a reply in this thread.
It will allow us to review your system without disclosing a private matter.
-
Hello!
This is SANDEEP, I loaded data using FDM in HFM. How to check if the data is correct or not, what ever the data I was responsible in HFM.
Please tell me how to recover the data and what format, clearly can you me the data verification process step by step.
It would be useful for me...
Thanks in advance...
Kind regards
SANDEEP
Hi Sandeep,
I think the best way is to extract data from HFM for the same POV that you have loaded FDM and check if it is the same.
If you then use HFM 11.1.2.x version
1. login to the application and go to the menu Administration / extract / data.
2. set the POV that you have loaded the data, then unzip it. You can open the file unzipped in a notebook
3. you can compare the file with the data file generated by FDMEE under Outbox folder.
But what would you give all the data corresponding to the POV that you set. So please ensure that you have the correct POV, defined according to the export FDMEE.
Thank you
Chandra
-
Hello
How knowledge/check if the RMAN backup was performed using a current control file or database catalog? I mean RMAN prompt or sqlplus is it possible to know.
Thank you
You're welcome my friend
You can see them using two methods.
as I mentioned above, you can see them connect to the catalog database and you can query using the view that I sent
http://docs.Oracle.com/CD/E11882_01/backup.112/e10642/rcmreprt.htm#BRADV89601
the other method is the list command, you must use the list command after connecting using rman "rman target / catalog cat_user/cat_pass@catdbtns" command
http://docs.Oracle.com/CD/E11882_01/backup.112/e10642/rcmreprt.htm#BRADV8136
Check the value of the control_file_record_keep_time parameter. The default value is 7 days. in the output of the list command, if you can see the old backups to the value, you must be sure that the backup information comes from the catalogue database
SELECT * FROM parameter $ v where name = 'control_file_record_keep_time '.
an example of command list
the list of completed database before backup ' sysdate-10'.
Concerning
-
How to check if the acrobat adobe pro xi is enabled
How to check if the acrobat adobe pro xi is enabled
Hi Shubham,
If the product is activated it will give the option to disable under the Help menu. Also whenever you launch Acrobat it will bring activation window if it requires one.
Thank you
Abhishek
-
How to check on the website of Adobe Creative Suite 6 Design & Web Premium (student version)? I don't find the sea site.
Check what... your serial number?
Your serial number appears on your account page?
https://www.adobe.com/account.html for numbers on your page from Adobe
Or do you want to download? Other downloads
-
How to check if the database for DRDA gateway is installed and configured.
Hi all
How can we check if the database for DRDA gateway is installed and configured.
Our operating system is AIX 5 L 64 bit OS.
RDBMS: 11.2.0.3
Kind regardsDuplicated
How to check if the database for DRDA gateway is installed and configured.+ - locked thread-+.
Nicolas.
-
How to check if the selection is any text tho:
Ok.. Another question:
How to check if the selection is any text tho:
if (app.documents.length != 0 && app.selection.length != 0 &&
(app.selection[0].constructor.name=="Text"||app.selection[0].constructor.name=="Paragraph"))
but sometimes the selection is 'textStyleRange', sometimes 'character' etc. is there a shortcut to check both?
I usually do something like this:
if ( app.documents.length && app.selection.length && app.selection [ 0 ].hasOwnProperty ( 'baseline' ) ) alert ( "It's a text!" );
Hope that helps.
--
Marijan (tomaxxi)
-
How to check if the support is rtmp or hds or progressive download?
How to check if the support is rtmp or hds or progressive download?
There is no direct way to do it.
I remember that there is a similar code in the code of StobeMediaPlayer, in PlaybackOtpimization*.as
Can I ask what you use it for? You should know what you're playing.
-
How to check for the two first digits?
Can someone please... There is demand to have a hidden field on the form that will be filled with data. It's going to be 6 digits long and could start with 02 or 04. I need to check on the DocReady event, for the first two digits. If the first two digits are 02, the presentation of the form will remain as it is. If the first two numbers are 04, I'll have to show two hidden subforms. Can someone please provide an explanation on how to check for the first two digits of field 6 digits and do some actions.
Thank you very much
No, only in the event: Exchange.
-
How to check if the directory is created using create or replace directory
Hello
I create a directory like below:
Create or replace directory TEST_DIR AS 'C:\ABCD '.
How to check if the directory is created or not? Is there any request for it?
Thanks in advance.
PKSELECT * FROM ALL_DIRECTORIES WHERE DIRECTORY_NAME LIKE '% TEST_DIR %. "
Published by: user3522507 on 2010.06.16. 07:19
-
R12.1.1 staging is complete! How to check if the scene is good
Hi Gurusl,
I finished the staging R12.1.1 for Hp unix B.11.31. I want to know how to check if the scene is good for installation or if it is corrupt. Is there a metalink note or the script from where we can check it out. your help will be very appreciated. Thanks in advance
Kind regardsHello
Please refer to (Note: 802195,1 - checksums MD5 for R12.1.1 Quick Install Media).
Kind regards
Hussein
Maybe you are looking for
-
USB 3.0 for Windows 7.0 Pro 32-bit driver
Hello I recently bought a HP Pavilion 500 - 020L (H5Y82AA #UUF). I install Windows Professional 7.0 (32-bit) ON this PC. I was not able to find the Windows 7 driver for 2 Ports USB 3.0, because the HP site have Windows 8 drivers. Can someone please h
-
Hello I got my Tablet for a few months now it works fine except the sound. in order for me to hear anything of the unit, that I have my headphones plugged in. In the upper right corner of the notification bar th 'Helmet' symbol is lit constantly. I e
-
Hello everyone I have a PCI1500S7 of Applicom communication card. It's S7 - MPI, PPI, PROFIBUS card PLC S7 from SIEMENS. I need drivers for this card. And if it is possible National Instruments drivers or .llb Thank you Concerning
-
Employee who took care of basic IT and passwords reinforced for all of us, the draws here at work, defrauded the company, then left on vacation-never come back. His computer is now locked with vital information/data required on a daily basis. His com
-
OfficeJet Pro 8620: Paper feed problem
New Machine - age for a day. Follow the installation procedure and a tray loaded with good paper 20 # 8-1/2 "x 11". When I send a print job to the printer - the finished sheet is great except for a double crease to the top of the sheet. It's as if sh