Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    PHP




Ebay Listings Using Front Page


Anyone know the best way to get page created in front page 2002 in an
ebay listing. I've created a page but a lot of the format and graphics
are missing when viewed in ebay




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
PHP Nightmare.....Integration Into EbaY Listings
I've been searching all day for a method on how to integrate the
listings off ebaY onto my website, but I have had no joy whatsoever.

I want to be able to open a listing based on the the item number,
which I can do simply by using,

$ITEMNUMER = ("blah");
http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&item=$ITEMNUMER

but, I cannot use include(); to achieve what I want to do, because
a) it is having trouble including external webpages
b) the ebaY listing is generated upon arrival, so theres no way it
could interperate it.

I've been trying all kinds of fopen(); techniques, but nothing seems
to be able to open the page, because (I assume) it doesn't exist till
an actual browser visits it, and it calls it values from the ebaY
database.

So, I tied using the ebaY API, but I'll need to pay a hellish amount
to use it, so it seems out the question.

What I really want to do is have a script check a listing for some
text. But, as I cannot get PHP to open the file, I'm stuck !

If anyone knows a way how I can strip some information out of an
external web page using PHP -

Eliminating Passed URL Variables For Multiple Listings On A Page
I have a page with a list of several users, each hyperlinked to another page of 'more info' about that user. The hyperlink contains the UserNumber, UserRegion, and UserStatus, and the receiving page picks up the data in the passed URL. This works well, but I'd like to eliminate the passing of these variables in the URL.

One way is to make a graphic ('More Info') that can be clicked to submit a form. Each 'More info' graphic from the dynamically created page could hold the UserNumber, but how can I pass several variables with a single click? On some pages, there can be 100+ users, and I hate to have 100+ separate forms and hidden fields.

I thought of using session variables, how can I know which user was clicked to set the session variables?

HTML, PHP, Front Page
I use Front Page 2000 to devolp my web content (don't hate me I just happen to like WYSIWYG better than physically writing out the code for HTML (a pain in the butt language :-) ) Anyways does anyone know if I can have it save files as .php instead of .html and use them in the web setup. Also another question how do I get a server to load index.php instead of index.htm?

FRONT PAGE + PHP (simple)?
I'm working on litle host site. It will give free hosts to users and accept
donations (if any).

I have problem with combining site who is build with front page (just html)
with who is script. I can not insert code of php in my page without errors.

WordPress Front Page Display Problem......What Should I Do?
I use wordpress's latest version. 

I found one problem. I set up that from Reading section only 5 post should be visible on my site and also summary size. After click on update button and refresh my browser and see that, my all post are showing on my site's front page and every post also full form. I don't know what's the problem. I am not expert in php.So, I can' fix it.

"Paging" (First/Previous/Next/Last To Limit # Of Listings Per Page)
I'm trying to get a handle on the best way to handle setting up my listings
so that I display groups of about 25 records per page. I currently have a
page that returns over 1,000 names/addresses, which is obviously not very
efficient. Does anyone have any suggestions on the best way to approach
this, or recommendations on what pitfalls to avoid? I'm assuming that I need
to be able to count the total number of records that match the search
criteria, possibly at the top of the page before any HTML output, then find
some way to identify/track the first record, next record, etc...? I know I
should replace my existing query with something that limits it to about 25
records at a time, right?

<?php include('dbconnect.php');
echo "<TABLE width="100%" align="center" border="0"
cellpadding="0" cellspacing="0">";
$query="SELECT * from artists
WHERE mentor=&#390;'
ORDER BY country DESC, state ASC, city ASC, lastname ASC";
$result=mysql_query($query) or die(mysql_error("Could not execute
query."));
while($row = mysql_fetch_array($result)) {
$artistID = $row['artistID'];
$firstname = (ucwords(strtolower($row['firstname'])));
$lastname = (ucwords(strtolower($row['lastname'])));
$mentor= $row['mentor'];
$city= (ucwords(strtolower($row['city'])));
$state= (strtoupper($row['state']));
$country= (strtoupper($row['country']));
//....etc....
echo "
<TD align="left" valign="top" width="50%"><FONT size="2"
face="Arial, Helvetica, sans-serif">
<A HREF="javascript:;"
onClick="openProfile('artist.php?artistID=".$artistID.
"','Artist','resizable=yes,width=750,height=400')">".$firstname."
".$lastname."</A></FONT></TD>
//....etc....

EBay And PHP
Does anyone know how I can view an ebay auction from my website using PHP, or Perl or anyway?

PHP & EBay
I currently have a domain name listed on eBay and, on the website itself, I'd like to be able to show what the current bid is. Can anyone possibly point me in the way of a tutorial that can help me with this or give me an example please?

EBay Search
I have seen the PHP scripts for searching a EBay users list by their EBay ID and also by an item number. However, I was wondering if I could pull ALL the "new" entries from them WITHOUT having to enter a specific user one at a time. I want to import the results into MySQL.

Query Related To Ebay Php API 's
I am using Sandbox EBay Php API's....

I want to check Seller's login is correct or not ....

Should Sandbox tech. supports this ?

Also following error is occured while retriving the
"Seller's list" :

Fatal error: Class 'XsltProcessor' not found in C:Program FilesApache
GroupApache2htdocsebaySellerGetSellerList.php on line 37...........

Directory Listings
I am using the following code to list the files in a directory.

Listings In Alphabetical, What About Numbers And Other?
I'm using PHP and mysql so when you click on a link that says A, you get all the titles that start with A. However, how would I do this with numbers and anything else that’s not in the alphabet? I tried doing 1,2,3,4, etc but It caused errors. What SQL code should I use?

Sorting Directory Listings With Php - Doable?
Curious to see what I can do with php in terms of getting a directory listing and sorting by name, size, and date modified.

I looked at a few functions on php.net, but nothing struck me as what I needed.

Note, there are several hundred files in the target directory... loading filenames, sizes, ect into arrays may not be a good solution here.

Newbie: If Then Statement And Expiring Listings
I've tried a couple of variations of coding this but i still haven't
gotten it down.

basically my query pulls all the tables within a certian search
criteria. When it shows the listings it shows a space like:

Name
Address
city, state zip
phone:
<blank space>
url

right now this is the code i have:

Front End For Php
which software can help me to build system using php... i means user friendly. it can help me to design the system easily.

@ In Front Of Variable
What is the @ for when put in front of a variable? I am looking at
some older code and have never used it myself.

Front For Mysql
Are there any good PHP scripts or pre written programs that deal with a
complex database?
Let me explain:
I'm in truck dispatch, and we've moved all tables to mysql and access them
on a network via ms access.
We will open another office in another city, and will want a "web" database.
Now here's what I'm after: Currently one form has various dropdown boxes to
pick customer, shipper, consignee, and carrier information. YES, I even
have the combos ask (ENTER SEARCH STRING), so all 17000 records do not show
up in the dropdown combo boxes. You might enter da for example to get all
occurrences of carries that start with da, i.e., Davis Transportation Inc.
Currently only about 5 da's. Of course the information in combos are pulled
from the customer database via a query. This all being done in ms access
with the mysql tables linked.

This is a very complex system, and all works perfect on a five computer
network.
By the way, choosing a shipper in a combobox fills in "ALL" necessary fields
for pickup, i.e., Address, contact person, phone number for directions, etc.
Can a web database even do something like this?

When I migrate to a "Web" database, I am looking for a good PHP script /
code / example that can handle this situation of dealing with multiple
lookups on one form, and filling in all required information without having
to type it in each time.

Ok PHP folks can this be done and where are the examples to learn off of?

To put it in a nutshell, I know how to populate a table, search, and edit
records in php. What I need are example of: Say you are entering a new
record, I need a "LOOKUP POPUP TABLE" with a search (enter search string)
like above, and a way to select a row, then the "LOOKUP POPUP TABLE" closes
and the original record I was entering has certain fields filled in. Liken
this to the "Northwind" example that comes with MS Access. In an order
example, they have some customer info auto filled in.

If all I needed was table / forn / search / edit, I could use DADABIK.

And one final question, Do I need a web database, or is it possible to
still use MS Access as a front end from another city / state in a client
server setup? I know how to network all this but not client / server from a
long distance.

@ Sign In Front Of An Command
Anybody can tell me what the @ sign means in this context?

$host = @gethostbyaddr($HTTP_SERVER_VARS["REMOTE_ADDR"]);

GNUPG Email Front End
I've been trying to figure out if there is a real GNUPG front end for popular Windows email programs and so far I haven't found any. Yes, they say it's built in Becky but what if I'm using Netscape Mail or Outlook Express. Ok, I downloaded free PGP and it installes a whole bunch of utilities that I don't really need apart from the plain plug-ins. Yes, it does have a plug-in for Outlook Express and Eudora but not for Netscape Mail. I had to modify the gnupg options so pgp could decrypt it too. Well, my major concern is Netscape Mail actually but in general, I would like a plug-in for plain, "clean" gpg.

How do you solve the problem with the front end decryption?

Using AJAX With A PHP Front Controller
I have a framework that uses the front controller design pattern for a
single point of entry to the application and the autoload function for
includes. I am trying to incorporate AJAX into the framework, but the
javascript calls to php ignore my front controller code when
instantiating classes.

MySQL FRONT Is Evil
I was trying to work out a text field that was not able to input data into the database. After trying every possible thing and posting problem on the forum as well, today I thought of doing something different. At that time my database was created using MYSQL FRONT, So today I created one in phpMyAdmin and guess what?

It worked just fine with the exactly same code. Mysql Front is evil!! took so much of my time. If anyone of you is having issues that does not make sense and are using Mysql Front, then it might be worth trying phpMyAdmin.

HTML In Front Of XML While Using SOAP. Please Help.
I am writing some dotNET code to "consume" a web service written in
PHP. So far I have been getting some error messages and PHP seems to
place HTML text in front of the XML message. dotNET doesn't expect the
XML and then it chokes. This is what I get.

The <br> tag from namespace is not expected. Line 1, position 2.

I was able to capture the data going through the network and I've got
the outgoing and incoming messages. I put those at the end of the post
because they are too long.

Looking at them you can perfectly see the HTML I mentioned. In this
case the HTML part says I am missing arguments. That should be an error
message coded in SOAP. But there is more. There is an actual SOAP error
message, it looks like even when the call was bad it executed the code;
it must have put something on the missing parameters.

My biggest issue is that the HTML prevents me from doing proper error
handling on my side of the app. Is this fixable?

Add A Little Peice Of Code In Front Of Every Link?
I have a site that I recently added in SEO urls. Everything works great, but none of my links go to the seo.

So I need a script that would add in a $variable before every link, automaticly.  Since I am not too skilled in php is would be really hard or me.If you are a PHP guru out there could you whip this up or me?

PHP Script Putting Slashes In Front Of Apostrophes
I just put up a script where people can make their own quizzes, but when a user inputs a word with an apostrophe, it displays on the page with a slash in front of it. For example:

Eric/'s Quiz

Is there anyway to fix that?

The script is called phpQuest 0.15 from a site that's no longer around, and I couldn't find any help about this issue on the Archived version of the website.

Simplexml And Attributes With A Namespace In Front. How Do You Getthe Attribute?
Here's a bit of xml code that works.

<?php

$string =
"<?xml version="1.0" standalone="yes"?>
<world>
<people xmlns:ss="http://crap">
<person id="5">John Doe</person>
<person id="2">Susie Q. Public</person>
</people>
</world>";

$xml = simplexml_load_string($string);
print "<pre>";
print_r($xml);
print "</pre>";

foreach($xml->people->person as $p)
foreach($p->attributes() as $a =$b)
{
print "$a =$b<br />";
}

// prints out
// id =5
// id =2
?>

Now what if I change the first person to this
<person ss:id="5">John Doe</person>

Anyone know how to get the id?

This is a question that is pertinent to an excel .xml file as
you'll get lines like this
<Cell ss:Index="3">stuff</Cell>

btw: there is a guide on ibm that tells you how to do this with php
and dom. I'm just wondering if there's a way to do it with simplexml.

** ONLINE DATA INSERT --> MYSQL Front & PHP Script **
Im using MySql front and PHP 5 for some web shop.
I didn't try it so far but i guess that the online data insertation ( accept
costs and time ) should be the same process like for local connection.

Problem:
I have to create online ( on remote server ) some 6 tables and some 20
fields with MySql front.
Ok. This shouldn't be great problem ( i hope :-)).
The bigger problem is that i need to insert cca. 450 products ( into
differnt tables (products, pro_groups ... ) ) and i dont know how to make
this online.

For now ( 20 products ) i made all this thru localhost but now i have to
insert much more data and all this online...
The data is sorted thru groups ( 8 major groups ) so every product is part
of some group.

How can i insert data, online and how to pass so much products from
localhost to remote server ( maybe by reading some .txt file ? ).....

Page Expired After Going Back From Del. Pageto Form Page Where Comment Is Submitted..
i've made a submit comment form with php and mysql, the form has an action to itself with a hidden var like this: input type=hidden action=add

When i delete a comment on the page i go to a page called delete.php3 and there is a link with a javaline which goes -1 back in my history..

When ive added a comment, the comments page contains action=add and when i delete a comment, i want to click on the link to go back to the comment page, but then, it doesnt work and it says:

Page has expired.

I wondered how to deal with this kind of problems........

Page Has Expired Message In Between The Php Page When I Click Back In Explorer Menu
I have a php script page, which is basically quiz. Visitors (after login in
with their email address) are supposed to answer each question, and when
they click the button at the bottom, the next page will show which problems
they got right or wrong.

Now my visitors, after seeing some problems they got wrong, click Back
button at the Explorer menu, and if they do, they get the below message:
=========================
Warning: Page has Expired The page you requested was created using
information you submitted in a form. This page is no longer available. As a
security precaution, Internet Explorer does not automatically resubmit your
information for you.

To resubmit your information and view this Web page, click the Refresh
button.
========================
Below are the script that I am using. This scripts are after initial login
page, which asks for visitor's email address. I have authorized visitors
already in my MySQL table, and only the visitors whose email address is in
my MySQL table are allowed to login......

Session Var Is Setting ONLY AFTER I Reload Page, Form Var Displays First Page Load
Page1 has a form that calls Page2. The beginning of Page2:
<? php session_start();
$s=$_POST['sSelected'];
session_register("s"); ?>

in the middle of Page2 I have a form varaible:
<?php echo $_POST['stateSelected']; ?>
<?php echo $_SESSION['s']; ?>

The form var displays the first time the page loads. The session var
displays only after reloading the page2.

Transfer Session_id() Between A Secure Page To An Unsecure Page - SSL
I am having problems understanding how to transfer session_id() between a
secure page to an unsecure page. When I move from the secure page to the unsecure page the session_id changes.

Here is the script:

Secure page:
<?php
session_name('thename');
session_start();
echo session_id();
..
..

[refreshing A Php Page Resulting Page Cannot Be Found Error]
i have a php page that will refresh by itself by using a meta tag and meta timer. however, without a clear indication, my page will just go "Page cannot be found". bizzarre but when i press refresh, the page can be found!. i am not sure whether this is an IE problem or issit my script problem. i don't encounter this problem if it's just a plain file.html.

perhaps is my session string? i am passing my session thru the URL and i constantly refreshing it. is that the problem? my url looks like this: domain.com/myfile.php?authorize=mike&token=f5c0f7edd785a6a9448c50249bad18ed

Page Control - Next/previous Or Select Page Number
I'm looking for php script examples that will help me control page layout. Using a table with 12,000 records, would like to be able to display only 5 records per page with page controls at the bottom of the page. The bottom edge would have next/previous or an optional insert desired page number.

Launch New Page And Refresh Exisiting Page
I know about not being able to change header info after output to the browser but what are the workarounds if any?

I have a basic form where a user logs in - the details they submit are verified in supportlogin.php and then if successful I launch another browser window with Javascript but the window in that they logged in at remains on supportlogin.php and is blank... How can I launch the new window and send the first window back to the login page? PHP Code:

If Value =1 Direct To Page Otherwise Show Data On Page
In the member account area there is a button saying (list) when the member clicks this they are redirected to add.php here i am wanting to check if a members account is limited, if it is direct them to a page saying you must pay your bill. if its not display the info on the page.

in the database there is a field called limited which is tiny in if its not limited the value of the field would be 0 if it is limited the value would be 1.

Keeping Lots Of Values From Page To Page
I am doing an online questionnaire which is going to have 5 questions per page and upto 100 questions.

If somebody hasn't completed the entire questionaire I do not want their data stored in the DB. I was wondering if anybody can tell me the best way to either use sessions to store the data and do a final update at the end, or use a temporary db table to hold the data.

Page Rotator Without Leaving The Actual Page...
I'm trying to write a homepage page rotator. The home page is default.php and I want 3 pages to rotate in that file without leaving default.php or directing to the actual pages I'm rotating... Basically, a content rotator but I want the content to be individual pages.

Here is what I have but it seems I have a bug somewhere:

<?
$pages = array(
include(page1.php),
include(page2.php),
include(page3.php)
);

shuffle($pages);
$i=0;
$number=2; while(list(, $page) = each($pages)) {
if ($i>=$number) { break; }
echo "$page";
echo '<br>'
$i++;
}
?>

For some reason the pages aren't coming up right in the default.php page.

Passing A Parameter From An HTML Page To A PHP Page
I want to pass a language value (EN/FR/DE etc.) from an Index HTML page to a PHP page with a language code in the call, so that the PHP page can select texts in that language. I would like to to it from an unordered list item if possible by extending the link ... <li><a href="scripts/pricelist.php???>Pricelist[/url]</li>

Login Page Produces Blank Page
What I get when I enter username/password and hit submit is a blank page and the URL never changes. In other words, the login page is 'index.php' and when submitted it should redirect to 'admin.php'. Instead the url/address stays at 'index.php' and the page turns completely blank.

In the previous thread, the problem turned out to be some missing indicator to the md5 encrypted password. Well, in this version, that's there! In fact, I used the ending scripts for that project in creating this project. So, why it won't work is a real mystery. Code:

Displaying Parts Of A Page While The Page Is Not Complete Yet
A script I'm writing outputs a HTML table with many rows. Each row is the result of a query which takes about one minute to perform. When I run the script in a browser, the page takes several minutes to load and then displays the entire table. Is it possible (using PHP) to display the table as it gets constructed, one row at a time?

PHP Sessions Not Carrying From Page To Page
I have a website that allows a user to sign up. Then they can login. Now when they login it creates a session in the C:PHPsessiondata but once it loads a new page.. The session doesn't carry over to it. IT just reloads the login page.

Using PHP To Load Another Page Or Html Page
Ive got a PHP script, which if it ends correctly, i want load another
PHP file or an HTML page automatically, ie without user intervention.
The new page shoud replace the current page on the browser. Is there a
PHP command or function which does this?

How To Persist Objects From Page To Page
I just started getting into PHP5. I'm thrilled that it has moved more toward OOP. However, conceptually, i don't understand how, when you instantiate a class, that instance can persist from web page to web page. How does the web application know that a new instance has been created and to keep the object alive until te end of the user session or when explicitly made null? Do session variables come into play?

HTML Web Page Hyperlink To Php Web Page
I am still having a problem parsing a html page with php. Code in my HTML
is
<? php
echo '<a href="index.php">Home</a><br />
<a href="login.php">Login</a><br />
'
?>
However the link is to the Login page is:
file:///C:/Program%20Files/Apache%20Group/Apache2/htdocs/TeeJayUu/login.php

I am using PHP 5.0.2, Apache 2.0.52, MySQL 4.0.21, and Windows XP SP2. All
pages are in the htdocs folder and the following instructions have been
followed:
- Copy php5apache2.dll to Apache's module dir and rename it to mod_php5.so;
- Copy php5ts.dll to Apache's bin dir.
Finally, add the following line to your httpd.conf file:
LoadModule php5_module modules/mod_php5.so
Apache has been stopped and restarted.
Help - I am lost for what else to do. I want to keep this local until I
have got it working.

Log In Page That Goes Back To REFERRING Page
I am using the following code to initialise a session, depending on
whether-or-not the users' log in attempt has been successful.

if ($session_ok == "TRUE") {
//open the session
session_start();
//assign user details to session
$_SESSION[txt_user] = $user_id;
$_SESSION[user_pass] = $user_pass;
$_SESSION[ses_state] = "TRUE";
header("Location: ../index.php");
}

as you can see the script then refers back to my index.php page, after the
session is ok'd.

What I would like to do is change this so that is goes back to the referring
page, instead of the index.php page, which requires the user to then
navigate to their previous page again.

I have attempted to use $HTTP_REFERER, although for me (on IE6) for some
reason their is no value in the variable!

Php Page Will Not Process Link To Different Page
I have just installed RH Linux ES 3.0 (basic) kernel 2.4.21-9.EL, i686,
Apache 2.0.X, and php 4.2.X. I have made no changes to the php.ini.

I am trying to use the following page (code listed here) to click on
link, and display 1 of three pages. The code does not seem to work, it
only shows the "else" condition of the php code, which is page:
"stuff.php". What do I need to do to my apache/php config to get this
to work? Of course I copied this code from a php site tutorial somewhere.

Page code below:
<?
if ($link == page2){
$page="files/page2.html";
}
elseif($link == page3){
$page="files/page3.html";
}
else{
$page="files/stuff.php";
}
?>
<html>
<head>
<title> index.php </title>
</head>
<body bgcolor="#999999">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td colspan="3"><h1>The Template (index.html)</h1></td>
</tr>
<tr>
<td align="center" valign="top"><a href="index.php?link=index">
Page 1 </a></td>
<td align="center" valign="top"><a href="index.php?link=page2">
Page 2 </a></td>
<td align="center" valign="top"><a href="index.php?link=page3">
Page 3 </a></td>
</tr>
</table>
<? include($page); ?>
</body>
</html>

I Want To Create Something Like AMAZON: Those Who Liked Page A Also Liked Page B
I want to create something like AMAZON: those who liked page A also liked
page B (I am going to apply the concept to a few different selections, but
to keep it simple I will talk about page popularity here - like AMAZON talks
about purchase patterns: those who bought A also bought B, C and D).

In my mysql table, I record everytime a visitor looks at a particular page
(I keep track of people with sessions and they can only look at a page
once).

Next, what I want to do is to show a small list of similar likes. That is,
people who had an interest in page A also had an interest in page B.

The structure of my table is:
id
timestamp
session_id
page_name

There is a unique index on the combination of session_id and page_name.

To work out similar likes for page X, my idea was to make an array of all
the session ids that looked at page X and then select the top 10 of pages
that these folk looked at.

My question is, should I do this in PHP with a bunch of arrays, adding total
counts while looping through an array or shall I use SQL statements. I
could even make a really long string of WHERE session_id = A or session_id =
B, etc..... Although this seems really inefficient.

Another question I have is whether you think this will be a self-fulfilling
prophecy (e.g. if you say that page Y is also popular then people will check
it out and therefore make it more popular).

Calling A Function Or Page To Another Page
I have two pages that are part of a user registration script. For simplicity's sake I will call one registration.php and the other validate.php What I basically would like to do is instead of going from registration.php to validate.php, I would like to call the script from validate.php and use it without leaving registration.php

The following code is a portion of the validate.php code. Here are my questions regarding this page. 1). If I want to call it or include it in registration.php should I make it a function? If so, how would I do that. 2) Can I call the validate page or function through an a href statement? (see registration.php code) PHP Code:

I Want The Page To Go Back To My Login Page.
I want to logoff my application and I have set up a link to do this. I
got it to destroy my session, but I can't get the page to go to the top
of the browser and do a page refresh. Here is the code I am using.

First there is the link I am using.

printf("<a href="%s?logoff=%s">%s</a><br>", $_SERVER['PHP_SELF'],"logoff", "LOGOFF");

Here is piece I use right at the top of the script to destroy the
session and try to refresh the page.

if (isset($_REQUEST['logoff'])){
session_destroy();
$_SERVER['PHP_SELF'];
}

What do I have to do to get the refresh to work?

How Do I Redirect A User From A Page To A Different Page ?
How do i redirect a user from a page to a different page ? i don't want variables to follow behind the url of the pageg being redirected to.


Copyright © 2005-08 www.BigResource.com, All rights reserved