Support Forums

Include php and assign variable

This is a discussion on Include php and assign variable within the Customizations forums, part of the Developer Forums category; Hi, I have purchased a simple bookmark script to allow people to save pages when they aren't logged in. I ...


Go Back   68 Classifieds Forums > Developer Forums > Customizations

Reply
 
Thread Tools Display Modes
Old 02-02-2010, 05:37 PM   #1
Customer
 
damiun's Avatar
 
Join Date: Apr 2009
Posts: 412
Rep Power: 18
damiun is on a distinguished road
Default Include php and assign variable

Hi,

I have purchased a simple bookmark script to allow people to save pages when they aren't logged in.

I have to put this code above my page:

Quote:
<?php
include(".../sbm.class.php");
$sbm = new SimpleBM($_SERVER["REMOTE_ADDR"],1);
?>
But what is this code in smarty language?
I k now how to include a php, but how to assign the variable.
I tried it by placing it between {php} .. {/php} but that does not work,.

Dominick
damiun is offline   Reply With Quote
Old 03-02-2010, 06:47 AM   #2
Customer
 
damiun's Avatar
 
Join Date: Apr 2009
Posts: 412
Rep Power: 18
damiun is on a distinguished road
Default

I managed to do this by editing the php files directly,
I now created a really great "favorite" page, where users do not have to logged in, its saved it by ip
damiun is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
CMS with the option to assign users to a page damiun Off Topic 1 03-02-2010 06:51 AM
adpack mod- assign scriptname damiun TemplateCodes 7 11-30-2009 11:54 AM
Assign Extra fields to Variable pipelin Customizations 10 11-08-2009 06:06 PM
PHP include include in Cat promo text?? Tim_A Technical Support 2 07-30-2007 10:12 AM


All times are GMT -4. The time now is 02:23 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0