icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.
Old March 23rd, 2006, 12:55 PM   #1 (permalink)
Registered User
Comfy Contributor
 
SkinnyDawg's Avatar
 
Joined in Nov 2004
Lives in Henderson Kentucky
Hosted on PASS49 and dedicated
110 posts
Gave thanks: 0
Thanked 0 times
Question Another '&' question with php

This is the link to a cubecart page:
http://www.<domain name>/index.php?act=viewCat&catId=13

This link and several others go into a txt file that a flash header will import and use as menu links. The problem is the & is used in the text file to deliniate variable begining. Example:

&url1=<first link>&url2=<second link>&url3=<third link>&url4=<fourth link>

When the menu is clicked it stops reading the link at the &:

index.php?act=viewCat&catId=13

and fails from there.

So the question is:

Can the & in either place the link itself or in the flash header (i have the fla) be replaced with something else? Or are they like reserved?

Any help certainly appreciated...

-Roger
__________________
Pray Harder ... Time's Short
OC10 on PASS49 http://www.smallbusinessnetworks.us

SkinnyDawg is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 23rd, 2006, 1:07 PM   #2 (permalink)
H
after g, before i
Resident.
 
H's Avatar
 
Joined in Jul 2004
Lives in N,BC,CA
8,092 posts
Gave thanks: 48
Thanked 131 times
In the text file, try changing the & to &amp;
H is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 23rd, 2006, 2:31 PM   #3 (permalink)
Registered User
Comfy Contributor
 
SkinnyDawg's Avatar
 
Joined in Nov 2004
Lives in Henderson Kentucky
Hosted on PASS49 and dedicated
110 posts
Gave thanks: 0
Thanked 0 times
Did not work.. thanks for trying though...

I'll probably just hardcode the links in the fla.
__________________
Pray Harder ... Time's Short
OC10 on PASS49 http://www.smallbusinessnetworks.us

SkinnyDawg is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 23rd, 2006, 2:44 PM   #4 (permalink)
H
after g, before i
Resident.
 
H's Avatar
 
Joined in Jul 2004
Lives in N,BC,CA
8,092 posts
Gave thanks: 48
Thanked 131 times
Hmm.. Maybe using XML would work? Then you could use CDATA!
H is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 23rd, 2006, 3:01 PM   #5 (permalink)
Registered User
Comfy Contributor
 
SkinnyDawg's Avatar
 
Joined in Nov 2004
Lives in Henderson Kentucky
Hosted on PASS49 and dedicated
110 posts
Gave thanks: 0
Thanked 0 times
Quote:
Originally Posted by Haugland
Hmm.. Maybe using XML would work? Then you could use CDATA!
I've already changed the code in the fla. Easier this was but I don't like losing the convience of changing options thru a txt file.

Thanks,
-Roger
__________________
Pray Harder ... Time's Short
OC10 on PASS49 http://www.smallbusinessnetworks.us

SkinnyDawg is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 23rd, 2006, 3:22 PM   #6 (permalink)
H
after g, before i
Resident.
 
H's Avatar
 
Joined in Jul 2004
Lives in N,BC,CA
8,092 posts
Gave thanks: 48
Thanked 131 times
Fair enough, although XML is very easy to manage. You could even make a PHP script to do it.
H is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 23rd, 2006, 3:35 PM   #7 (permalink)
Registered User
Comfy Contributor
 
SkinnyDawg's Avatar
 
Joined in Nov 2004
Lives in Henderson Kentucky
Hosted on PASS49 and dedicated
110 posts
Gave thanks: 0
Thanked 0 times
Quote:
Originally Posted by Haugland
Fair enough, although XML is very easy to manage. You could even make a PHP script to do it.
Not that versed with either. I'm an old DOS era xBase programmer... I just learn what I need to anymore....
__________________
Pray Harder ... Time's Short
OC10 on PASS49 http://www.smallbusinessnetworks.us

SkinnyDawg is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 23rd, 2006, 5:27 PM   #8 (permalink)
rocks your socks.
Resident.
 
David's Avatar
 
Joined in Mar 2004
Lives in fear of Obama.
Hosted on Pass 7
13,170 posts
Gave thanks: 8
Thanked 35 times
Cubecart is screwing up for us too. We can't get categories to display existing data, and we can't get existing data to update. It's really getting annoying. We're probably switching to OSC or Zen Cart or something.
__________________
Quote:
Originally Posted by removed View Post
Internet Explorer rules.
David is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 23rd, 2006, 5:39 PM   #9 (permalink)
H
after g, before i
Resident.
 
H's Avatar
 
Joined in Jul 2004
Lives in N,BC,CA
8,092 posts
Gave thanks: 48
Thanked 131 times
David, you might want to keep an eye on http://www.freecsscart.com/
H is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On