Announcements
: K-Meleon Forum
Goto:
Forum List
•
Message List
•
Search
•
Log In
Your Name:
Subject:
Help information
BBcode help
Smileys help
[quote=JohnHell] [quote JamesD]@Johnhell 26rul is not a valid variable name in KM 1.5. The following will run. I don't think KM liked %26rul either. Think it must have $ followed by letter. The underscore is optional. yahooimage{ $_A26rul = "x" ; $conteoimgurl = index($linkurl, imgurl)+7; $conteosize = index($linkurl, "\%".$_A26rurl)-$conteoimgurl; $urllimpia = substr($linkurl,$conteoimgurl,$conteosize); }[/quote] No man, 26url is not a variable, is text, just text. I know what is a var and why should be preceded by $ ;) [quote kko] [code]$conteoimgurl = index($linkurl, imgurl)+7;[/code] Have you assigned a value to $linkurl outside the macro or is that meant to be $LinkURL? (reserved words are case-sensitive now)[/quote] It is meant to be $LinkURL. This makes a lot of sense, because I never used the global variables case sensitive. I'll try that later. [quote kko][code]$conteosize = index($linkurl, "\%".26rurl)-$conteoimgurl;[/code] What is "\%".26rurl meant to be? "\%".$26rurl or simply "\%26rurl" ?[/quote] It pretends to be escape bar for the % symbol followed with 26url text. Why is like this? Simple, when I created this macro it was the only way to accept the % symbol. Kko, another thing, what means now that a var (that wasn't the previous) should be initialited, I mean, where and how. I created the variable at the beginning of the macro file text and it displayed the same error.[/quote]
[Please Enable JavaScript]
K-Meleon forum is powered by
Phorum
.
Home/News
Screenshots
Download
Documentation
Resources
Get Involved
Forum
Bugs
Development