'; Any suggestions are greatly appreciated. Jim [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => <59P1b.1568$cQ1.317802@kent.svc.tds.net> [ref] => [htmlstate] => on_nl2br [postusername] => Jim Key [ip] => jimkey@tds.net [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 1 [islastshown] => [isfirstshown] => 1 [attachments] => [allattachments] => ) -->'; \\ \\ Any suggestions are greatly appreciated. Do you actually have a Perl question, but you forgot to ask it, or did you post this to the wrong group? Abigail -- echo "==== ======= ==== ======"|perl -pes/=/J/|perl -pes/==/us/|perl -pes/=/t/\ |perl -pes/=/A/|perl -pes/=/n/|perl -pes/=/o/|perl -pes/==/th/|perl -pes/=/e/\ |perl -pes/=/r/|perl -pes/=/P/|perl -pes/=/e/|perl -pes/==/rl/|perl -pes/=/H/\ |perl -pes/=/a/|perl -pes/=/c/|perl -pes/=/k/|perl -pes/==/er/|perl -pes/=/./; [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => <59P1b.1568$cQ1.317802@kent.svc.tds.net> [htmlstate] => on_nl2br [postusername] => Abigail [ip] => abigail@abigail [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 2 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) -->';[/quote] Those print statements look fine to me (other than $url not being given a value), so you do not have a problem with your Perl. Your problem must be somewhere else. (So you should be looking for the solution somewhere else.) [quote] > Any suggestions are greatly appreciated.[/quote] Ask Perl questions here in the Perl newsgroup. Ask questions about the CGI in the CGI newsgroup: comp.infosystems.[url]www.authoring.cgi[/url] Ask server setup questions in a newsgroup about servers, such as: comp.infosystems.[url]www.servers.mac[/url] comp.infosystems.[url]www.servers.misc[/url] comp.infosystems.[url]www.servers.ms-windows[/url] comp.infosystems.[url]www.servers.unix[/url] -- Tad McClellan SGML consulting [email]tadmc@augustmail.com[/email] Perl programming Fort Worth, Texas [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => <59P1b.1568$cQ1.317802@kent.svc.tds.net> [htmlstate] => on_nl2br [postusername] => Tad McClellan [ip] => tadmc@augustmai [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 4 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) --> embeding tags - PERL Miscellaneous

embeding tags - PERL Miscellaneous

I switched hosting companies recently. I have a Perl script that will combine the results ($url) from the form fields on one page and opens a new page, write the results in as a SSI tag. I had no problem with this till I moved the site. Now, script opens a blank page. Looking in the source code, there is the SSI tag that was generated but I can't get the page to execute the tag. Embedding the tag in a html page manually will work fine. The code used: print "Content-type: text/html\n\n"; print '<!--#include virtual="search.pl?',$url,'" -->'; Any suggestions are ...

  1. #1

    Default embeding tags

    I switched hosting companies recently.
    I have a Perl script that will combine the results ($url) from the form
    fields on one page and opens a new page, write the results in as a SSI tag.
    I had no problem with this till I moved the site. Now, script opens a blank
    page. Looking in the source code, there is the SSI tag that was generated
    but I can't get the page to execute the tag. Embedding the tag in a html
    page manually will work fine.
    The code used:

    print "Content-type: text/html\n\n";
    print '<!--#include virtual="search.pl?',$url,'" -->';

    Any suggestions are greatly appreciated.
    Jim




    Jim Key Guest

  2. #2

    Default Re: embeding tags

    Jim Key (jimkeytds.net) wrote on MMMDCXLIV September MCMXCIII in
    <URL:news:59P1b.1568$cQ1.317802kent.svc.tds.net >:
    \\ I switched hosting companies recently.
    \\ I have a Perl script that will combine the results ($url) from the form
    \\ fields on one page and opens a new page, write the results in as a SSI tag.
    \\ I had no problem with this till I moved the site. Now, script opens a blank
    \\ page. Looking in the source code, there is the SSI tag that was generated
    \\ but I can't get the page to execute the tag. Embedding the tag in a html
    \\ page manually will work fine.
    \\ The code used:
    \\
    \\ print "Content-type: text/html\n\n";
    \\ print '<!--#include virtual="search.pl?',$url,'" -->';
    \\
    \\ Any suggestions are greatly appreciated.


    Do you actually have a Perl question, but you forgot to ask it,
    or did you post this to the wrong group?



    Abigail
    --
    echo "==== ======= ==== ======"|perl -pes/=/J/|perl -pes/==/us/|perl -pes/=/t/\
    |perl -pes/=/A/|perl -pes/=/n/|perl -pes/=/o/|perl -pes/==/th/|perl -pes/=/e/\
    |perl -pes/=/r/|perl -pes/=/P/|perl -pes/=/e/|perl -pes/==/rl/|perl -pes/=/H/\
    |perl -pes/=/a/|perl -pes/=/c/|perl -pes/=/k/|perl -pes/==/er/|perl -pes/=/./;
    Abigail Guest

  3. #3

    Default Re: embeding tags

    Jim Key (jimkeytds.net) wrote on MMMDCXLIV September MCMXCIII in
    <URL:news:eQS1b.1609$cQ1.328974kent.svc.tds.net >:
    ?? What could be the problem with this code that may not work on some servers?

    Must be the bug on line 17.

    ?? Any other code I can use to get the same effects?


    Apparently, I haven't been clear the first time. Let me rephrase it,
    and if you still have problems understanding it, please indicate which
    part you don't understand.

    This group is for discussing Perl issues.
    This group is not for discussing applications that happen to
    be written in Perl. You'd go to your vendor for support.
    This group is not about discussing differences between types
    of cheese, nor is it about discussing particulars of "servers".


    If you have a piece of code you are having problems with, by all means,
    post a *SMALL* piece of code you have issues with, tell us what it does,
    and what you expect it to do. Then we may help.

    Otherwise, please go away.



    Abigail
    --
    $" = "/"; split $, => eval join "+" => 1 .. 7;
    *{"_"} = sub {foreach (sort keys %_) {print "$_ $_{$_} "}};
    %{"_"} = %_ = (Just => another => Perl => Hacker); &{%{%_}};
    Abigail Guest

  4. #4

    Default Re: embeding tags

    Jim Key <jimkeytds.net> wrote:
    > there is the SSI tag that was generated

    So then, your Perl program must have done the Right Thing.

    > print "Content-type: text/html\n\n";
    > print '<!--#include virtual="search.pl?',$url,'" -->';

    Those print statements look fine to me (other than $url not being
    given a value), so you do not have a problem with your Perl.

    Your problem must be somewhere else. (So you should be looking
    for the solution somewhere else.)

    > Any suggestions are greatly appreciated.

    Ask Perl questions here in the Perl newsgroup.

    Ask questions about the CGI in the CGI newsgroup:

    comp.infosystems.[url]www.authoring.cgi[/url]

    Ask server setup questions in a newsgroup about servers, such as:

    comp.infosystems.[url]www.servers.mac[/url]
    comp.infosystems.[url]www.servers.misc[/url]
    comp.infosystems.[url]www.servers.ms-windows[/url]
    comp.infosystems.[url]www.servers.unix[/url]

    --
    Tad McClellan SGML consulting
    [email]tadmcaugustmail.com[/email] Perl programming
    Fort Worth, Texas
    Tad McClellan Guest

  5. #5

    Default Re: embeding tags

    Jim Key <jimkeytds.net> wrote:
    > Is there a problem with the way code was written that may act differently on
    > different versions (?) of Perl

    No.

    > on a server?

    That would likely depend on what server and on how that
    server was configured. Neither of which is about Perl.

    > Or was a better way of writing
    > the code that it will execute the same?

    Your code looked fine.

    > But don't bother. Diffenitley don't need any help from a like you.

    That is likely to cost you. So long.


    --
    Tad McClellan SGML consulting
    [email]tadmcaugustmail.com[/email] Perl programming
    Fort Worth, Texas
    Tad McClellan Guest

Similar Threads

  1. After embeding the background, Cant see Text on top
    By Shelady in forum Macromedia Flex General Discussion
    Replies: 9
    Last Post: April 15th, 11:19 PM
  2. Embeding fonts question
    By Mike_Rempe@adobeforums.com in forum Adobe Indesign Macintosh
    Replies: 20
    Last Post: August 19th, 02:41 AM
  3. Question About Sound Embeding
    By terriday in forum Macromedia Dynamic HTML
    Replies: 0
    Last Post: January 30th, 08:48 PM
  4. Embeding a flash object into *.jpg or *.gif
    By [-GI-]Pendragon in forum Macromedia Flash
    Replies: 4
    Last Post: June 13th, 12:26 AM
  5. Embeding a font on OSX
    By Tom Underhill webforumsuser@macromedia.com in forum Macromedia Director Basics
    Replies: 2
    Last Post: September 22nd, 10:30 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •