Jump to content
Sign in to follow this  
kippez

Using Fwrite ,fopen (php)

Recommended Posts

Hello, may seem like a dumb ?

 

I am tring to write a php script for a link exchange partners. I can get the script to write. but it will only write at the end of page unless I use shtml. so I can not use my closing tags on my link pages I would like to put the link pages as static rather then dynamic although I am using sql

maybe I will use the data later.

 

Rock Sign Can any one understand what I am saying?

 

any answers

 

Kippez

Share this post


Link to post
Share on other sites

Hi,

 

I'm not sure I understand your problem fully. There should be no problem getting PHP to write at points before the end of the file.

 

Can you provide a short example? or a link to the pages?

 

Andy

Share this post


Link to post
Share on other sites

And before you go and write a link exchange script, you should check out what's already available and free at www.hotscripts.com

Share this post


Link to post
Share on other sites

ok Have checked out the scripts availble and they all seem to be dynamicaly generated by php. I want to use static link pages and dont want to spend alot of cash. I am using append I think what i will have to do is have the script delete the category link page as a new link is added. Then rebuild the page after it deleted and add the new link tothe new link page I was thinking maybe a easier way.

 

As far as were it is writing the link that gets added it looks like this:

 

<html>

<body>

</body>

</html>

This is were the script will place the link title, description an the reciprocal link.

 

so I insert th links using shtml.

<html>

<!--Insert shtmL-->

</html>

 

Would be a lot easier just to have the script build pages rather then use shtml.

 

Any Ideas,

Kippez

 

Rock Sign

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...